The PHP Client Library

The PHP client library is hosted at https://github.com/googleads/google-ads-php, and is also available through dependency management systems:

You can check the minimum PHP version that this library supports in composer.json. The version is specified as a value of php of the require key. The library adheres to the PHP sunset schedule and updates the composer.json file four to five months after the minimum required PHP version reaches its end-of-life. Based on the existing supported PHP versions, the update occurs about once a year.

As indicated in composer.json, the library depends on gRPC. Check out Getting started and Basic usage before using this library.

To set up the client library with OAuth, see the following guides:

Check out the following guides for the library's features and utilities: