I took over this project from another developer (now no longer available to
us) and recoded it, switching from the SOAP API to the REST API on Google
Ads API. I found his config PHP and got the IDs I needed from there and
continued using them. So, about 2 months ago I was using the Client ID,
Clien
Hi all,
Thank you for getting back to us. I am Sherwin from Google Ads API and I work
with Anthony. I hope that you are doing well today.
@all. The invalid_grant usually occurs if the refresh token is already expired
and the usual reasons are listed on this document. Add to that, a Google Cloud
Sam,
For some strange reason, I too also received this over the REST API for
generating an Access Token from my Refresh Token. This caused the
invalid_grant error for me. I'm not certain why my Refresh Token just
stopped working. When it did, I followed this video with Google oAuth
Playground
Hi Sam,
Thank you for reaching out to our API support team.
To help you fix this issue, could you please provide the complete request and
response logs, with the request-id? If you haven't yet, logging can be enabled
by navigating to the Client libraries > Your client library (ex. Java) >
Logg
Hi there, I woke up to try my code one morning and now have the error below:
code: 16,
details: 'Failed to retrieve auth metadata with error: invalid_grant',
metadata: Metadata { internalRepr: Map(0) {}, options: {} },
note: 'Exception occurred in retry method that was not classified as
transi