The PHP Client Library

  • The PHP client library for Google Ads is hosted on GitHub and available via Composer and Packagist.

  • The minimum supported PHP version is found in the composer.json file.

  • The library depends on gRPC; refer to the "Getting started" and "Basic usage" guides before use.

  • Guides are available for setting up the client library with various OAuth flows (desktop, web, service account).

  • Additional guides cover various library features and utilities such as configuration, logging, Docker, and performance.

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.

Video library: Getting started with the PHP client library

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: