Thanks for the reply!  
On Friday, April 29, 2016 at 3:35:13 PM UTC-4, Shwetha Vastrad (AdWords API Team) wrote:
        -- Are you saying that we would not see an "expired token" error when the access token has expired?  I assumed that an invalid token error meant the refresh token was invalid, in which case our code does not continue, expecting that a new refresh token must be generated. I did see in the documentation about the automatic refreshing by the client library, which we use, and since our process continues, I think eventually the automatic refreshing works.
Should we just retry if we get an invalid token error? 
Thank again for your help!
On Friday, April 29, 2016 at 3:35:13 PM UTC-4, Shwetha Vastrad (AdWords API Team) wrote:
Hi Latha,Access tokens have an expiration time. If you are using the token after it has expired, you would get a OAUTH_TOKEN_INVALID error. You should then use the refresh token to get a new access token or to refresh an expired token. If you are using any of the client libraries, by default, the expired access token gets automatically refreshed.I hope this helps.Regards,Shwetha, AdWords API Team.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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+unsubscribe@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 "AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
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/d0d068e1-b995-4bfb-a209-db25500e85ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment