Hi, I see that you are using v201309 of the AdWords API, which is past its sunset date <https://developers.google.com/adwords/api/docs/sunset-dates> and is therefore no longer supported. Please submit your request using v201402 or v201406 of the API and report back if you still encounter this error.
Thanks, Josh, AdWords API Team On Thursday, August 28, 2014 5:28:58 PM UTC-4, אביגדור שפיצר wrote: > > when running api example i get an error > > in the config > > > <add key="UserAgent" value="APIPRG"/> > <add key="DeveloperToken" value="aaaaa"/> > > <add key="ClientCustomerId" value="123"/> > <add key='AuthorizationMethod' value='OAuth2' /> > <add key='OAuth2ClientId' value='xxx.apps.googleusercontent.com' /> > <add key='OAuth2ClientSecret' value='xxx' /> > <add key='OAuth2RefreshToken' value='xxx' /> > > > > i get an error ,,,, > > Please Help .... > > > This code example lists all campaigns. To add a campaign, run > AddCampaign.vb. > An exception occurred while running this code example. > System.Reflection.TargetI > nvocationException (Exception has been thrown by the target of an > invocation.)\n > \n at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] > argument > s, Signature sig, Boolean constructor) > at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, > Objec > t[] parameters, Object[] arguments) > 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 > ConsoleApplication7.ConsoleApplication7.Examples.VB.Program.InvokeRun(Obje > ct codeExample, AdWordsUser user) in > c:\temp\ConsoleApplication7\ConsoleApplicat > ion7\Program.vb:line 95 > at > ConsoleApplication7.ConsoleApplication7.Examples.VB.Program.RunACodeExampl > e(AdWordsUser user, Object codeExample) in > c:\temp\ConsoleApplication7\ConsoleAp > plication7\Program.vb:line 131\n\nCaused by\n\nSystem.ApplicationException > (Fail > ed to retrieve campaign(s).)\n\n at > ConsoleApplication7.ConsoleApplication7.Ex > amples.VB.v201309.GetCampaigns.Run(AdWordsUser user) in > c:\temp\ConsoleApplicati > on7\ConsoleApplication7\v201309\BasicOperations\GetCampaigns.vb:line > 117\n\nCaus > ed by\n\nGoogle.Api.Ads.AdWords.Lib.AdWordsApiException (An API exception > has oc > curred. See ApiException and InnerException fields for more details.)\n\n > at G > oogle.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, > Object[] p > arameters) > at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, > Object[] > parameters) > at Google.Api.Ads.AdWords.v201309.CampaignService.get(Selector > serviceSelecto > r) > at > ConsoleApplication7.ConsoleApplication7.Examples.VB.v201309.GetCampaigns.R > un(AdWordsUser user) in > c:\temp\ConsoleApplication7\ConsoleApplication7\v201309\ > BasicOperations\GetCampaigns.vb:line 102\n\nCaused by\n\ > nSystem.Web.Services.Pro > tocols.SoapException ([QuotaCheckError.ACCOUNT_INACTIVE @ ; > trigger:'<null>'])\n > \n at > System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapCl > ientMessage message, WebResponse response, Stream responseStream, Boolean > asyncC > all) > 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)\n > Press [Enter] to continue > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/386d0c8c-627d-4ea7-97c5-7a756bc5460b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
