how to get authorization code for tokens through google ads api?

55 views
Skip to first unread message

li li

unread,
Sep 23, 2021, 2:46:15 AM9/23/21
to AdWords API and Google Ads API Forum
Hi, I want to know if our customers login in our web application, how to get google ads api  authorization code for tokens  without OAuth2? we want to get authorization code for tokens through google ads api if possible.

Google Ads API Forum Advisor

unread,
Sep 23, 2021, 3:56:39 PM9/23/21
to hblsy...@gmail.com, adwor...@googlegroups.com
Hi,

One of the prerequisites to use Google Ads API is OAuth2 client ID and client secret/ OAuth2 access and refresh tokens. If you are using client libraries some of the operations can be performed smoothly like generating token and refreshing access token. To conclude, without using OAuth it is not possible to generate the authorization code or tokens.

https://developers.google.com/google-ads/api/docs/first-call/overview#config

Thanks,
Google Logo
Lakshmi Prathipati
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2OTNHC:ref

li li

unread,
Sep 26, 2021, 4:57:53 AM9/26/21
to AdWords API and Google Ads API Forum
Hi:
    so if want to use google ads api, we must require our customers to  login in google, to generate the authorization code or tokens with using OAuth is the only way ? we can't get  authorization code for tokens through google ads api directly,?
    Thanks!
Reply all
Reply to author
Forward
0 new messages