Hello Jnm,

The "invalid_grant" error usually indicates that the access or refresh 
token being passed in your request is incorrect or invalid. 

To verify that your credentials are correct, you could try the CURL request 
provided below and see if you are able to generate the access token. If 
your credentials are correct, you should be able to generate an access 
token for the below CURL request.

curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token=your-refresh_token \
-d client_id=your-client-id \
-d client_secret=your-client-secret \
-d grant_type=refresh_token

If your credentials are incorrect or still facing issue then you could try 
generating a new refresh token with the help of this guide 
<https://developers.google.com/adwords/api/docs/guides/first-api-call#get_an_oauth2_refresh_token_and_configure_your_client>
 and 
retry your request. Please let me know if the issue persists.

Regards,
Sai Teja, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c04bb31b-6eed-420e-89a2-60a14c6406d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Adwords API Issue jnmjagran
    • Re: Adwords AP... 'Teja Makani' via AdWords API and Google Ads API Forum

Reply via email to