google-ads-api
google-ads-api copied to clipboard
Access token handling
Hi @wcoots,
I tried finding an email for you but resorting to raising an issue here instead (sorry)
Few questions/clarifications around the access token:
- Does the library store the
access_token
or default request a new one via therefresh_token
for each request? - We're using the library in a serverless/lambda-like environment rn meaning even if (1) is yes, I'm guessing the library would end up having to request a new one each time anyway due to each process being short-lived – correct?
- If (2) is true, we could store the
access_token
ourselves but... a. Is there a way to retrieve the token received? b. Is there a way to set the token on initialisation?
Thanks!
Dan