The PHP Client Library

  • The Google Ads PHP client library is available on GitHub and through dependency management systems like Composer and Packagist.

  • The library depends on gRPC and has minimum PHP version requirements specified in its composer.json file.

  • Developers can find getting started guides, basic usage instructions, and OAuth setup guides for various application flows within the documentation.

  • The library offers features such as configuration, logging, Docker support, and utilities for transport, Protobuf, proxy configuration, and more.

  • Comprehensive guides cover advanced topics like FieldMasks, ResourceNames, performance optimization, and timeout handling for 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.

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: