Hello ads PHP developers! Today we're pleased to announce the stable release of the new ads PHP client library. This has been in beta for a while now, is a huge overhaul of the library, and offers the following improvements:
- Uses namespaces and conforms to PSR-4 autoloading.
- Conforms to PSR-3 for logging.
- Supports installation via Composer.
- Uses the Google PHP auth library for OAuth2, offering more features, flexibility, and service account support.
- Uses Guzzle for non-SOAP HTTP calls, conforming to PSR-7.
- Contains better object-oriented library design and stub interfaces, including builders to configure settings.
- Contains upgraded and easier to use utilities for AdWords reporting, AdWords batch jobs, and DFP reporting.
- Enables SSL by default for SOAP API calls and non-SOAP HTTP API calls.
This library has been pushed to the master branch on GitHub. The old library is now deprecated and moved to a deprecated branch with reduced support until it reaches end of life (EOL) on July 31, 2017. Reduced support details can be found in issue #193. To help you upgrade, we've written an upgrading guide.
As always, if you have any questions, feel free to drop us a line on the AdWords or DFP API forums, or the Ads Developer Google+ page.
Today we're pleased to announce that we have released an updated BETA version of the Ads PHP Client Library. This is the first step in completely refactoring the Ads PHP Client Library to adhere to modern PHP standards. Major changes include:
- Namespaced and conforms to PSR-4 for autoloading.
- Conforms to PSR-3 for logging standards.
- Entry point classes use a builder pattern for their construction.
- Core class design is composition-based instead of inheritance-based.
- Classes generated from WSDLs now use getters and setters for accessing fields.
To get started with this new library, please see the README's "Basic usage" section.
As a reminder, since this new client library is in BETA, it is not yet recommended for production usage. We do however recommend that you test it out, play around with it, and give us your feedback on the issue tracker.
Stay tuned for more changes to this BETA library in the coming year.
As always, if you have any questions, feel free to drop us a line on the AdWords API forums, DFP API forums or the Ads Developer Google+ page.