Google Business Performance API has a
NEW API method that allows fetching multiple `DailyMetrics` in a single API request. Review the
deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
Libraries
Stay organized with collections
Save and categorize content based on your preferences.
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.
If you are new to the Google My Business API, check out the Get Started guides and code samples. For additional information on the client libraries, see Google API Client Libraries.
Prior versions of the client libraries and discovery documents are available on the Previous Versions page.
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 section.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["The Google My Business API client libraries provide functionalities common to all Google APIs, including HTTP transport, error handling, and authentication, in addition to the specific features of the Google My Business API."],["Users new to the Google My Business API can utilize the Get Started guides and code samples for guidance and practical examples."],["Client libraries for the Google My Business API are available in various programming languages, including Java, Python, .NET, PHP, Node.js, and Go, supporting different Google My Business APIs such as Account Management, Lodging, and Place Actions."],["For more comprehensive error messages, include the header `X-GOOG-API-FORMAT-VERSION: 2` in your requests, and consult the ErrorCode, ErrorDetail, InternalError, and ValidationError pages in the Shared.Types section for further details on error responses."]]],[]]