Invalid Grant Error

288 views
Skip to first unread message

sempa...@gmail.com

unread,
Jul 8, 2015, 3:20:04 PM7/8/15
to adwor...@googlegroups.com
Hi,

i am struggling with downloading csv reports. Currently using ReportUtilities class in order to Getresponse request  and download the file.
attached the exception
{"Failed to refresh access token.\n{\n  \"error\" : \"invalid_grant\"\n}"}    System.Exception {Google.Api.Ads.Common.Lib.AdsOAuthException}

Some background,

I received an Authorization code and granted permissions to Adwords campaigns ( Is this the right permissions for downloading reports?) successfully.

made some oauth calls and generated an Access Token and Refresh Token as well.

I Migrated to V201506 from an older version.

Please advice.

Thanks!



Umesh Dengale

unread,
Jul 9, 2015, 3:06:09 PM7/9/15
to adwor...@googlegroups.com, sempa...@gmail.com
Hello,

Please follow steps to generate the Access token and refresh token. Obtain client_id, client_secret, redirect_uri through Developers Console as mentioned in steps. If you are using offline access, please follow these steps.

Regards,
Umesh, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages