How can I get a reflash token on google ads api?

121 views
Skip to first unread message

조갑호

unread,
Sep 18, 2023, 7:15:15 AM9/18/23
to Google Ads API and AdWords API Forum
https://developers.google.com/google-ads/api/docs/get-started/make-first-call?hl=ko

guide 1.

oauth2l fetch --credentials credentials.json --scope adwords \
--output_format refresh_token


When proceeding as guide number 1 on the link above, a .oauth2l file is created, and if you look inside the file, you copy a string that looks like a jwt token and check it on jwt.io , you will see an access token with an expiration time of 1 hour like the image below.

I think we can call api by typing in ads.properties only when there is no expiration time or a very long refresh token is generated when we proceed like guide number 1
May I know how to get a reflash token?

2023-09-18 200550.png



Google Ads API Forum Advisor

unread,
Sep 21, 2023, 5:10:34 AM9/21/23
to may...@d2.co.kr, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

I would like to inform you that this product officially offers support only in English. It would be best to reply in English if you can. If not, we will try to use Google Translate to support you as best as we can.

After reviewing your concern, I understand that you need assistance on how to get a refresh token. I would suggest you refer to this Refresh token expiration guide to get more information. 

 
This message is in relation to case "ref:_00D1U1174p._5004Q2omWaa:ref"

Thanks,
 
Google Logo Google Ads API Team


 

Reply all
Reply to author
Forward
0 new messages