You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
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.
Nadine Sundquist (AdWords API Team)
unread,
Apr 3, 2015, 3:38:04 PM4/3/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
Hi,
Our OAuth 2.0 Authentication guide 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
Hao Li
unread,
Apr 9, 2015, 1:58:24 PM4/9/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
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?
Nadine Sundquist (AdWords API Team)
unread,
Apr 10, 2015, 9:02:57 AM4/10/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
Good day,
I'm not able to determine the root cause. Check out this page on revoking a token.
Best,
Nadine, AdWords API Team
Lajpat Bishnoi
unread,
Apr 13, 2015, 7:23:48 AM4/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
Adding to Nadine response A token might stop working for one of these reasons: 1) The user has revoked access. 2) The token has not been used for six months. 3) The user account has exceeded a certain number of token requests. There is currently a 25-token limit per Google user account. If a user account has 25 valid tokens, the next authentication request succeeds, but quietly invalidates the oldest outstanding token without any user-visible warning.