Attention: There will be major changes to the API soon that will require migration work. Please check our upcoming releases page frequently for updates.
v4.9 of the API has released! See change log.


The Google My Business API client libraries support the functionality of the Google My Business API. They provide functionality that's common to all Google APIs, such as HTTP transport, error handling, authentication, JSON parsing, and support for protocol buffers.

Libraries for all supported languages can be downloaded here or manually generated using the discovery document.

For more details on how to use the libraries, check our code samples.


The following client libraries for Java and PHP are available for you to download:

Download Java client library (with source)

Download PHP client library

To generate the C# library, please see instructions available at our

Github Repo

To learn how to integrate the Java client library in to your application, see How to work with client libraries.

You can use Gradle to prepare the Java sample application for use in the Eclipse IDE. See Eclipse Plugins to learn more.

Discovery document

The Google My Business API discovery document is a JSON document that describes the surface for a particular version of the API. You use the discovery document in conjunction with the Google API Discovery Service.

Download discovery document

Detailed error responses

To enable more detailed error messages in responses, such as absent required fields, add the following additional header to your requests:


For additional information on error message responses, see the ErrorCode, ErrorDetail, InternalError, and ValidationError pages in the Shared.Types section.