the question arises

20 views
Skip to first unread message

tran trung phuoc

unread,
Jul 29, 2018, 9:52:36 PM7/29/18
to AdWords API and Google Ads API Forum
Message: Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

I need to how to solve it ?

Luis Xander Talag (AdWords API Team)

unread,
Jul 30, 2018, 12:17:33 AM7/30/18
to AdWords API and Google Ads API Forum
Hi Tran,

The invalid_grant error normally occurs due to expired refreshToken. To resolve this issue, you may try to regenerate the refreshToken and the OAuth2 credentials using an email address which has currently access to your AdWords account and then retry the request again. 

Should the issue persists, could you provide which email address you used when you generated your credentials and your clientCustomerId so I can further investigate?

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