Documentation for using pre-registered tokens?

6 views
Skip to first unread message

Donovan Langager

unread,
Mar 27, 2021, 5:01:03 AM3/27/21
to AdWords API and Google Ads API Forum
I have my own OAuth2 authentication system and save our keys in a table/object. I'm using the googleads-php-lib and would like to use my built OAuth class in the Ads API but I don't see any docs that reference such cases.

So far I can get tokens using my OAuth system but I would like to customize the GoogleAds Library to take in my registered token credentials instead of trying to fetch new ones on its own.

Thank you in advance!

Google Ads API Forum Advisor Prod

unread,
Mar 29, 2021, 1:23:49 AM3/29/21
to don...@postbin.io, adwor...@googlegroups.com
Hi Donovan,

Thank your reaching out to our API support team.

From an API support perspective, your OAuth2 credentials should be specified in your .ini file (please refer here) so the API can automatically refer to them when authenticating your API requests.

However, since it appears that your concern is more related to the PHP client library setup and how to access specific objects, then you may reach out directly to the PHP client library owners instead, via this link, for further insight on the possibility of your requirement. 

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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