Preamble:
I use desktop app flow, generate a refresh_token and successfully get data from Google Ads.
But after about a week, the token stops working and I have to run authenticate_in_desktop_application.py again. (all actions from
here)
- go to the browser
- sign in to my Google Ads account
- And give permission on the OAuth2 consent screen
The question is as follows:
Is it possible to get a refresh_token once and then update it in the background, without starting the browser and all the follow up?
Or, is it possible to increase refresh_token lifetime?
I would be grateful for any information.