Thanks for replying. The reason I asked this question is we met the error "AuthorizationError.USER_PERMISSION_DENIED" when using access tokens to pull reports from AW. It is weird, because it worked before. After we got and used a new refresh token, the error is gone. Hence, we suspect somehow the old refresh token is void. We want to know its root cause so that it can be avoided in future. Can you help us to find the root cause?
BTW, can you explain how user revokes access? On Friday, April 3, 2015 at 12:38:04 PM UTC-7, Nadine Sundquist (AdWords API Team) wrote: > > Hi, > > Our OAuth 2.0 Authentication guide > <https://developers.google.com/adwords/api/docs/guides/authentication#access_and_refresh_token> > provides > information on access and refresh tokens. An OAuth 2.0 refresh token does > not expire. Refresh tokens are valid until the user revokes access. > > Regards, > Nadine, AdWords API Team > > On Friday, April 3, 2015 at 3:03:14 PM UTC-4, Hao Li wrote: >> >> Hello, >> >> We are using OAuth2.0 to pull reports from Adwords. We wonder if a >> refresh token is always valid after it is granted. If not, in what kind of >> conditions a refresh token become invalid? Thanks. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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+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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0b6e1641-a212-4175-9503-5012c95adf5b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.