Update API version, now get permission denied trying to download reports

22 views
Skip to first unread message

andrew...@1stoplighting.com

unread,
Oct 12, 2017, 11:53:46 PM10/12/17
to AdWords API Forum
We've been downloading AdWords reports using a server app over OAuth2 for a while, now.  We're using the Google AdWords NuGet library (https://github.com/googleads/googleads-dotnet-lib/) to handle the raw interface, and it works fine, though updating API versions are very painful.  We started getting the dreaded error again:

You are accessing an AdWords API version v201609 that has been discontinued.

I installed the latest version of the NuGet library and updated our refresh token using adwords_dotnet_lib_v22.2.0 version of OAuthTokenGenerator.  This is using the same client ID and secret that's been working for a year, but suddenly I'm getting permission denied errors with the new library.

How do I get reports to download again?  Our marketing department relies on this data to do their jobs.

Peter Oliquino

unread,
Oct 13, 2017, 3:05:37 AM10/13/17
to AdWords API Forum
Hi Andrew,

The error message you specified appears to indicate that you have not fully migrated to the latest AdWords API version and the new client library version, rather being an OAuth2 credentials issue. This being said, you may refer to our migration guide to get familiar with the changes in the different services and reports included in the latest AdWords API version and apply further changes in your code if necessary. 

If you are still encountering other issues that you suspect are related to your OAuth2 credentials, you may send to me privately (via the Reply privately to author option) the generated SOAP request and response logs so I can further investigate.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages