Re: error when calling v201306.AddCampaigns
Hi, A common cause of this error is that your App.config contains the ClientCustomerId of the MCC account. Please make sure that ClientCustomerIdhas the ID of a non-MCC AdWords account. Cheers, Josh, AdWords API Team On Wednesday, February 12, 2014 4:53:29 AM UTC-5, GigiCom wrote: > > Hello, I try to use .NET library with a test account and got the same > error. > Can someone help me? > > Thanks > > > Am Donnerstag, 2. Januar 2014 21:28:35 UTC+1 schrieb Josh Radcliff > (AdWords API Team): > >> Hi, >> >> Could you provide some more details, such as the customer ID of the >> account you are using for this request? You can send this information *only >> to me* by clicking *Reply to author*. >> >> Thanks, >> Josh, AdWords API Team >> >> On Monday, December 30, 2013 1:43:22 AM UTC-5, kano patel wrote: >>> >>> 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:'']) >>> >>>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 Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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
Re: error when calling v201306.AddCampaigns
Hello, I try to use .NET library with a test account and got the same error. Can someone help me? Thanks Am Donnerstag, 2. Januar 2014 21:28:35 UTC+1 schrieb Josh Radcliff (AdWords API Team): > Hi, > > Could you provide some more details, such as the customer ID of the > account you are using for this request? You can send this information *only > to me* by clicking *Reply to author*. > > Thanks, > Josh, AdWords API Team > > On Monday, December 30, 2013 1:43:22 AM UTC-5, kano patel wrote: >> >> 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:'']) >> >>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 Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: error when calling v201306.AddCampaigns
Hi, Could you provide some more details, such as the customer ID of the account you are using for this request? You can send this information *only to me* by clicking *Reply to author*. Thanks, Josh, AdWords API Team On Monday, December 30, 2013 1:43:22 AM UTC-5, kano patel wrote: > > 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:'']) > >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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
error when calling v201306.AddCampaigns
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:'']) 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.