refresh token issue

34 views
Skip to first unread message

Geoffrey Cummins

unread,
Jan 19, 2021, 12:36:45 PM1/19/21
to AdWords API and Google Ads API Forum
Hi we are collecting ads data in a daily process and we notice that the refresh token expires every week or so and we have to reauthenticate using the code provided in the authenticate folder of the python examples.

How can we avoid having to reauthenticate manually every week and update the refresh/access tokens every week?

Thank you!

Google Ads API Forum Advisor Prod

unread,
Jan 19, 2021, 10:39:55 PM1/19/21
to legogl...@gmail.com, adwor...@googlegroups.com
Hi,

Thanks for posting your concern.

Based on this document, a refresh token will indeed expired in 7 days if issued by a Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing".

However, I am afraid that refresh token related concerns are outside of our expertise already. With this, I would suggest posting your question here to get support from the team that is more equipped to provide support to this question.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2B1YT5:ref

INI GlobalOps

unread,
Jan 20, 2021, 12:37:11 PM1/20/21
to AdWords API and Google Ads API Forum
Thank you the link to get support went to a list of stack overflow questions - is that correct?

Google Ads API Forum Advisor Prod

unread,
Jan 21, 2021, 12:41:37 AM1/21/21
to iniglo...@initiative.com, adwor...@googlegroups.com
Hi,

Yes, the navigation to the API console support should start here, you should then find the Stack Overflow google-api tag link which you can also use to reach out to the community.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2B1YT5:ref
Reply all
Reply to author
Forward
0 new messages