I am working on Google Ads API - I can't get new refresh token

78 views
Skip to first unread message

Meraklı Web

unread,
May 19, 2022, 10:55:01 AM5/19/22
to Google Ads API and AdWords API Forum
First of all, I apologize for my bad english.

With Postman, I can generate my first token with Oauth2.0, it directs me to the google verification page, I approve, and I can do whatever I want on PHP. but then i need to renew my token and i haven't been able to do it via php yet

Google Ads API Forum Advisor

unread,
May 20, 2022, 4:34:24 AM5/20/22
to alimertu...@gmail.com, adwor...@googlegroups.com
Hi Meraklı,

Thank you for reaching out to us.

Could you confirm if you indeed are using our official PHP client library? If not, I suggest you use it. To regenerate refresh token using the PHP client library, you may check this document . On the other hand, if you are using the REST API using Postman, you may check this documentation for more information on generating new access tokens.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Ybt06:ref

Meraklı Web

unread,
May 20, 2022, 5:20:36 AM5/20/22
to Google Ads API and AdWords API Forum
https://developers.google.com/google-ads/api/docs/client-libs/php/oauth-web
What I don't understand is that we automate this in our system, do we have to give permission again each time? I think we don't need to write bots for this, I have to constantly give permission every time. I can generate new tokens with the secret key in the APIs I normally use.



20 Mayıs 2022 Cuma tarihinde saat 11:34:24 UTC+3 itibarıyla adsapi şunları yazdı:

Google Ads API Forum Advisor

unread,
May 23, 2022, 3:52:16 AM5/23/22
to alimertu...@gmail.com, adwor...@googlegroups.com

Hi Meraklı,


Thanks for your response. I am also a member of the Google Ads API team and let me provide support to your concern.
 

Moving forward to your concern, could you provide more detail of the problem that you have encountered such as how you experienced it so our team further investigates your concern?

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Ybt06:ref
Reply all
Reply to author
Forward
0 new messages