No auth.ini in Google Adwords PHP API files

30 views
Skip to first unread message

Em VeeOo

unread,
Oct 30, 2017, 4:15:23 PM10/30/17
to AdWords API Forum
I copied an old 2013 repos from a company to have a headstart. Finally ofcours this fails. The /v2013/ it tries to get the WSDL for is non existent. Nevermind.
Then, Composer says it's old and need to be self-updated. That fails because of access/security issues. Nevermind that.
Then finally today I used GIT. When you checkout (or clone) with GIT the current Google AdWords API, you get a lot of files. That's nice.
But no auth.ini, do you know where it is or how I get it?

Shwetha Vastrad (AdWords API Team)

unread,
Oct 30, 2017, 4:34:44 PM10/30/17
to AdWords API Forum
Hi,

A new ads php client library was released in December 2016. The configuration settings in the new library have been consolidated into one file called adsapi_php.ini which is available in examples/AdWords. The builder's fromFile() method looks for an adsapi_php.ini file in your home directory by default. If you want to store this file in another directory, you need to pass the path of the file as an argument. The Upgrading guide provides more details on migrating your code from the old ads PHP client library to the new one.

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages