googleads / googleads-python-lib

The Python client library for Google's Ads APIs
Apache License 2.0
681 stars 974 forks source link

Is there a way for getting the refreshed token automatically? #501

Closed cynde closed 2 years ago

cynde commented 2 years ago

I looked for a way on the internet to get the refreshed token for the google-ads.yaml by running a Python program and then we need to click a link from the terminal then log in, and then we get aa token to be inserted to the terminal, then we get the refreshed token. is there any other way that we can get the token that won't expire for a long time? and no need to log in in a browser.