Hi Anurag,

Thanks for getting back to us.

For more details about the refresh token expiration, you may refer to this 
document from the Google Identity Platform OAuth. However, the access token has 
an expiration time (based on the expires_in value) after which the token is no 
longer valid. You can use the refresh token to refresh an expired access token. 
By default, our client libraries automatically refresh expired access tokens. 
Also, you may encounter an 'invalid_grant' error whenever the refresh token 
expires or is not valid in the Google Ads API. you may use the cURL below to 
check if your refresh token is valid or not:

curl \

  --data "grant_type=refresh_token" \

  --data "client_id=CLIENT_ID" \

  --data "client_secret=CLIENT_SECRET" \

  --data "refresh_token=REFRESH_TOKEN" \

  https://www.googleapis.com/oauth2/v3/token


Let us know if you have any further questions.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Ypmvm:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/URLuO000000000000000000000000000000000000000000000R956HC00XTtbdqqrSt-GcCqGLtvTbg%40sfdc.net.
  • Ho... Paid Media
    • ... Paid Media
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... ashish delacon

Reply via email to