Adwords access token expiration time in microseconds

39 views
Skip to first unread message

Hyunsoo Choi

unread,
Nov 14, 2017, 5:05:16 AM11/14/17
to AdWords API Forum
Hello,
I had an issue today with the expiry timestamp returning in microseconds (instead of milliseconds) when retrieving a GoogleCredential to fetch data from the adwords api.
This caused my application to throw AuthenticationError.OAUTH_TOKEN_INVALID errors when connecting to adwords.

This was unusual as we consistently received the expiration timestamp in milliseconds and our refresh token logic was based on this.

Has anyone experienced a similar problem today? We started to notice this on Nov 13, around 3PM EST.

Thanks in advance for any input.

Bharani Cherukuri (AdWords API Team)

unread,
Nov 14, 2017, 2:46:33 PM11/14/17
to AdWords API Forum
Hi Hyunsoo, 

The OAUTH_TOKEN_INVALID error that you're experiencing is usually occurred if the access token specified in the request header is invalid. Can you check if the OAuth2 credentials used are associated with your account? Also, please try generating the new refresh token and see if it resolves the issue.

Regards,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages