Hi Hiroki,
Thank you for reaching out. The access token has a lifetime of 1 hour. Once it’s expired the client library would automatically generate the access token to be able to successfully issue the API call. Thus, the access token is not generated on the per API request basis but rather depends on whether it has expired.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Hi Hiroki,
Thank you for reaching out. The access token is not generated for each `GoogleAdsClient` instance but rather on the account level to create sessions. Thus, you could feel free to recreate the `GoogleAdsClient` instances as many times as you want.
Thanks and regards,
Xiaoming, Google Ads API Team