Hi there,
Thanks for reaching out to the Google Ads API Forum.
You may use our client libraries where refresh token does not expire for a long time if your OAuth app is already verified, and it does handle access token itself. Note that while using CURL, Access Tokens expire after 60 minutes which is the default value.
Regards,
|
||||||
|
||||||
|
||||||
|
||||||
https://accounts.google.com/o/oauth2/v2/auth?
scope=https%3A//www.googleapis.com/auth/adwords&
access_type=offline&
include_granted_scopes=true&
response_type=code&
state=state&
redirect_uri=https://app.roalytics.com/auth&
client_id=10836400011xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
the scope scope=https%3A//www.googleapis.com/auth/drive.metadata.readonly&
This does return both tokens.
thanks