Desktop app refresh token expires after 7 days

533 views
Skip to first unread message

VM Suse

unread,
Aug 1, 2022, 5:27:09 AM8/1/22
to Google Ads API and AdWords API Forum
Hello,

I am using desktop app client id and client secret to create refresh token. But it was expired after 7 days. It was written that the when the refresh token is created using the desktop app client id and client secret it suppose NOT to expire. Please assist here

Thanks

Vitaly

Google Ads API and AdWords API Forum

unread,
Aug 1, 2022, 11:39:54 AM8/1/22
to Google Ads API and AdWords API Forum
Reposting the last inquiry (https://groups.google.com/g/adwords-api/c/fEc8gZrW4M4) from the forum as it wasn't routed to our support queue.

Cheers,
Peter Laurence
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Aug 1, 2022, 1:55:27 PM8/1/22
to Google Ads API and AdWords API Forum
Hi Vitaly,

Thank you for reaching out to our team.

You may refer here for the reasons on why a refresh token may expire :
  • A Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days.
For your scenario, you need to change the publishing status to production to avoid this issue. I hope this helps.

Best regards,
Peter Laurence
Google Ads API Team

VM Suse

unread,
Aug 2, 2022, 4:02:55 AM8/2/22
to Google Ads API and AdWords API Forum
Hi Peter,

thanks for coming back to me.

I am using this app just to get marketing data for internal reporting.
 If i make the application public does it mean that anyone can access the internal data?
I do not have Application home page and Application privacy policy and creation of the youtube video sounds like a bit too much for that.

Is there any other way how to automate the process of getting the data using google ads API and do not refresh token every 7 days?

Thanks

Vitaly

VM Suse

unread,
Aug 2, 2022, 2:48:28 PM8/2/22
to Google Ads API and AdWords API Forum
Hi Peter,

thanks for coming back to me.

Basically I use this app just to get the marketing metrics for internal reporting. I do not have any homepage or Application privacy policy link. And what does it mean when application becomes public? anyone can just get our internal marketing data?

Is there other way how to automate connection to Google Ads Api?

Best regards,

Vitaly
Reply all
Reply to author
Forward
0 new messages