Can't access Google AdWords Service. Getting "Invalid Grant" error.

31 views
Skip to first unread message

raman kumar

unread,
Sep 10, 2014, 1:15:25 AM9/10/14
to adwor...@googlegroups.com
The two ways through which i get the refresh token are as follows:
1) Without making any MCC account with the help of Outh 2.0 work flow
2) With MCC account, after getting the code and place it in GetRefreshToken.php.
I will get the refresh token.

After that when i am using the Google AdWords Service like CustomerService or CampaignService i am stuck with an error i.e., "Invalid Grant".

It is highly apperciable if anybody will help me in resolving this error. Along with this i want to know how can i use Google AdWords Service in php.

With Regards,
Raman

Anash P. Oommen (AdWords API Team)

unread,
Sep 10, 2014, 11:19:18 AM9/10/14
to adwor...@googlegroups.com
Hi Raman,

Are you using the latest PHP client library? And generating OAuth2 tokens for the same login email as that of your AdWords account?

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages