<br />

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](https://developers.google.com/protocol-buffers).

If you are new to the Google My Business API, check out the
[Get Started](https://developers.google.com/my-business/content/prereqs) guides
and [code samples](https://github.com/google/google-my-business-samples).
For additional information on the client libraries, see
[Google API Client Libraries](https://developers.google.com/api-client-library).

Prior versions of the client libraries and discovery documents are available on
the [Previous Versions](https://developers.google.com/my-business/samples/previousVersions) page.

| API | Client library | Client library reference | Code samples |
|:---|:---|:---|:---|
| Account Management API [Discovery doc](https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-mybusinessaccountmanagement/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-mybusinessaccountmanagement/latest/index.html) | [View on GitHub](https://github.com/google/google-my-business-samples/tree/master/java) |
| Account Management API [Discovery doc](https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/mybusinessaccountmanagement_v1.html) | [View on GitHub](https://github.com/google/google-my-business-samples/tree/master/python) |
| Account Management API [Discovery doc](https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.MyBusinessAccountManagement.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.MyBusinessAccountManagement.v1/latest/api/Google.Apis.MyBusinessAccountManagement.v1.html) | [View on GitHub](https://github.com/google/google-my-business-samples/tree/master/dotnet) |
| Account Management API [Discovery doc](https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/MyBusinessAccountManagement) |   | [View on GitHub](https://github.com/google/google-my-business-samples/tree/master/php) |
| Account Management API [Discovery doc](https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/mybusinessaccountmanagement) |   |   |
| Account Management API [Discovery doc](https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/mybusinessaccountmanagement) |   |   |
| Lodging API [Discovery doc](https://mybusinesslodging.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-mybusinesslodging/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-mybusinesslodging/latest/index.html) |   |
| Lodging API [Discovery doc](https://mybusinesslodging.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/mybusinesslodging_v1.html) |   |
| Lodging API [Discovery doc](https://mybusinesslodging.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.MyBusinessLodging.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.MyBusinessLodging.v1/latest/api/Google.Apis.MyBusinessLodging.v1.html) |   |
| Lodging API [Discovery doc](https://mybusinesslodging.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/MyBusinessLodging) |   |   |
| Lodging API [Discovery doc](https://mybusinesslodging.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/mybusinesslodging) |   |   |
| Lodging API [Discovery doc](https://mybusinesslodging.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/mybusinesslodging) |   |   |
| Place Actions API [Discovery doc](https://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-mybusinessplaceactions/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-mybusinessplaceactions/latest/index.html) |   |
| Place Actions API [Discovery doc](https://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/mybusinessplaceactions_v1.html) |   |
| Place Actions API [Discovery doc](https://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.MyBusinessPlaceActions.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.MyBusinessPlaceActions.v1/latest/api/Google.Apis.MyBusinessPlaceActions.v1.html) |   |
| Place Actions API [Discovery doc](https://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/MyBusinessPlaceActions) |   |   |
| Place Actions API [Discovery doc](https://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/mybusinessplaceactions) |   |   |
| Place Actions API [Discovery doc](https://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/mybusinessplaceactions) |   |   |
| Notifications API [Discovery doc](https://mybusinessnotifications.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-mybusinessnotifications/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-mybusinessnotifications/latest/index.html) |   |
| Notifications API [Discovery doc](https://mybusinessnotifications.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/mybusinessnotifications_v1.html) |   |
| Notifications API [Discovery doc](https://mybusinessnotifications.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.MyBusinessNotifications.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.MyBusinessNotifications.v1/latest/api/Google.Apis.MyBusinessNotifications.v1.html) |   |
| Notifications API [Discovery doc](https://mybusinessnotifications.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/MyBusinessNotificationSettings) |   |   |
| Notifications API [Discovery doc](https://mybusinessnotifications.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/mybusinessnotifications) |   |   |
| Notifications API [Discovery doc](https://mybusinessnotifications.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/mybusinessnotifications) |   |   |
| Verifications API [Discovery doc](https://mybusinessverifications.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-mybusinessverifications/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-mybusinessverifications/latest/index.html) |   |
| Verifications API [Discovery doc](https://mybusinessverifications.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/mybusinessverifications_v1.html) |   |
| Verifications API [Discovery doc](https://mybusinessverifications.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.MyBusinessVerifications.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.MyBusinessVerifications.v1/latest/api/Google.Apis.MyBusinessVerifications.v1.html) |   |
| Verifications API [Discovery doc](https://mybusinessverifications.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/MyBusinessVerifications) |   |   |
| Verifications API [Discovery doc](https://mybusinessverifications.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/mybusinessverifications) |   |   |
| Verifications API [Discovery doc](https://mybusinessverifications.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/mybusinessverifications) |   |   |
| Business Information API [Discovery doc](https://mybusinessbusinessinformation.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-mybusinessbusinessinformation/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-mybusinessbusinessinformation/latest/index.html) |   |
| Business Information API [Discovery doc](https://mybusinessbusinessinformation.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/mybusinessbusinessinformation_v1.html) |   |
| Business Information API [Discovery doc](https://mybusinessbusinessinformation.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.MyBusinessBusinessInformation.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.MyBusinessBusinessInformation.v1/latest/api/Google.Apis.MyBusinessBusinessInformation.v1.html) |   |
| Business Information API [Discovery doc](https://mybusinessbusinessinformation.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/MyBusinessBusinessInformation) |   |   |
| Business Information API [Discovery doc](https://mybusinessbusinessinformation.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/mybusinessbusinessinformation) |   |   |
| Business Information API [Discovery doc](https://mybusinessbusinessinformation.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/mybusinessbusinessinformation) |   |   |
| My Business Business Calls [Discovery doc](https://mybusinessbusinesscalls.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-mybusinessbusinesscalls/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-mybusinessbusinesscalls/latest/index.html) |   |
| My Business Business Calls [Discovery doc](https://mybusinessbusinesscalls.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/mybusinessbusinesscalls_v1.html) |   |
| My Business Business Calls [Discovery doc](https://mybusinessbusinesscalls.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.MyBusinessBusinessCalls.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.MyBusinessBusinessCalls.v1/latest/api/Google.Apis.MyBusinessBusinessCalls.v1.html) |   |
| My Business Business Calls [Discovery doc](https://mybusinessbusinesscalls.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/MyBusinessBusinessCalls) |   |   |
| My Business Business Calls [Discovery doc](https://mybusinessbusinesscalls.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/mybusinessbusinesscalls) |   |   |
| My Business Business Calls [Discovery doc](https://mybusinessbusinesscalls.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/mybusinessbusinesscalls) |   |   |
| Business Profile Performance [Discovery doc](https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1) | [Java](https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-businessprofileperformance/v1) | [Reference docs](https://googleapis.dev/java/google-api-services-businessprofileperformance/latest/index.html) |   |
| Business Profile Performance [Discovery doc](https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1) | [Python](https://github.com/googleapis/google-api-python-client) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/businessprofileperformance_v1.html) |   |
| Business Profile Performance [Discovery doc](https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1) | [.NET](https://www.nuget.org/packages/Google.Apis.BusinessProfilePerformance.v1) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.BusinessProfilePerformance.v1/latest/api/Google.Apis.BusinessProfilePerformance.v1.html) |   |
| Business Profile Performance [Discovery doc](https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1) | [PHP](https://github.com/googleapis/google-api-php-client-services/tree/master/src/BusinessProfilePerformance) |   |   |
| Business Profile Performance [Discovery doc](https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1) | [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/main/src/apis/businessprofileperformance) |   |   |
| Business Profile Performance [Discovery doc](https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1) | [Go](https://github.com/googleapis/google-api-go-client/tree/main/businessprofileperformance) |   |   |

## Detailed error responses

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

    X-GOOG-API-FORMAT-VERSION: 2

For additional information on error message responses, see the `ErrorCode`,
`ErrorDetail`, `InternalError`, and `ValidationError` pages in the
[Shared.Types](https://developers.google.com/my-business/reference/rest/Shared.Types/ErrorCode) section.