This code example adds campaigns. To get campaigns, run GetCampaigns.cs. An exception occurred while running this code example. System.Reflection.TargetI nvocationException (Exception has been thrown by the target of an invocation.)
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] argum ents, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] argume nts, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwn er) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisib ilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Google.Api.Ads.AdWords.Examples.CSharp.Program.InvokeRun(Object codeExampl e, AdWordsUser user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\exampl es\CSharp\Program.cs:line 140 at Google.Api.Ads.AdWords.Examples.CSharp.Program.RunACodeExample(AdWordsUser user, Object codeExample) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\ examples\CSharp\Program.cs:line 99 Caused by System.ApplicationException (Failed to add shared budget.) at Google.Api.Ads.AdWords.Examples.CSharp.v201306.AddCampaigns.Run(AdWordsUse r user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\examples\CSharp\v20 1306\BasicOperations\AddCampaigns.cs:line 89 Caused by Google.Api.Ads.AdWords.Lib.AdWordsApiException (An API exception has occurred. S ee ApiException and InnerException fields for more details.) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Obj ect[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\L ib\AdsSoapClient.cs:line 218 at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, Object[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\Lib\Ad sSoapClient.cs:line 127 at Google.Api.Ads.AdWords.v201306.BudgetService.mutate(BudgetOperation[] oper ations) in c:\src\MyProjects\now\Common library base\adwords\compile\v201306\AdW ordsApi.cs:line 2133 at Google.Api.Ads.AdWords.Examples.CSharp.v201306.AddCampaigns.Run(AdWordsUse r user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\examples\CSharp\v20 1306\BasicOperations\AddCampaigns.cs:line 86 Caused by System.Web.Services.Protocols.SoapException ([QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'<null>']) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal l) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN ame, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Obj ect[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\L ib\AdsSoapClient.cs:line 212 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
