Hi Deepakraj,

Thank you for reaching out to the Google Ads API support team.

1.) What is the recommended approach to check if an access token is expired 
using a REST interface?

As per this guide 
(https://developers.google.com/google-ads/api/docs/oauth/internals#access_token_expiration),
 an access token has an expiration time (based on the expires_in 
(https://datatracker.ietf.org/doc/html/rfc6749#appendix-A.14) value) after 
which the token is no longer valid. Kindly note that you can use the refresh 
token to refresh an expired access token. You may also check this guide 
(https://developers.google.com/google-ads/api/rest/auth) for more information 
about the Authorization and HTTP Headers in the Rest Interface.


2.) Are there any specific endpoints or API calls provided by our 
authentication/authorization service to perform this verification?

As for this question, I would suggest checking our guides below for more 
information about this:

https://developers.google.com/google-ads/api/docs/oauth/overview
https://developers.google.com/google-ads/api/docs/oauth/internals
https://developers.google.com/google-ads/api/docs/oauth/internals#access_token_expiration



Let us know if you have further questions.
This message is in relation to case "ref:_00D1U1174p._5004Q2o9kaz:ref"

Thanks,

Google Ads 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 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/KW9Qi000000000000000000000000000000000000000000000S09E4U00LiR7CbDqRBiMToyEHX55xg%40sfdc.net.
  • Ve... Deepakraj S
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to