Hi Jesús, Thank you for raising this concern to the Google Ads API support team.
To avoid the refresh token expiring in 7 days please go to the Google API Console and navigate to the OAuth consent screen and then change the publishing status to “In production”. For more information you can check this document. For this question "If I change the status to production this app is not public if it is a desktop app?" that you mentioned. If your application is going to be installed on a device or computer (such as a system running Android, iOS, Universal Windows Platform, Chrome, or any desktop OS), you can use Google's OAuth 2.0 Mobile and desktop apps flow. You may refer to the link below: https://support.google.com/cloud/answer/10311615?hl=en&ref_topic=3473162#zippy=%2Cin-production https://support.google.com/cloud/answer/6158849#zippy=%2Cweb-applications%2Cnative-applications In addition, you may choose app type to Desktop app for the following: You're managing all of your Google Ads accounts using a single top level manager account. You're a first-time user, or want to get started quickly with the simplest setup. Your app will only authenticate Google users from one machine. Best regards, Jinky Google Ads API Team ref:_00D1U1174p._5004Q2faghF:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/BQH_k000000000000000000000000000000000000000000000RJWK7400CbNl6szJSR6shMrBMJ_TSw%40sfdc.net.