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.
OAuth overview
Stay organized with collections
Save and categorize content based on your preferences.
Every request that your application sends to the Business Profile APIs must include an
authorization token. The authorization token identifies the user or the application to Google,
which allows access to the Business Profile APIs. Your application must use
OAuth 2.0 protocol to authorize requests.
The
OAuth setup
guide explains the different methods that you can use to implement OAuth 2.0 on your
platform. The Google Identity Platform provides the Google
Sign-In and OAuth functionality that's used throughout this guide.
The implementation of OAuth 2.0 provides the following benefits:
- Protects access to the business owner's data.
- Establishes the identity of the business owner when they sign in to their Google Account.
- Establishes that a partner platform or application can access and modify location data with
explicit consent from the business owner. The owner can later revoke this access.
- Establishes the identity of the partner platform.
- Enables partner platforms to perform online or offline actions on behalf of the business
owner. This includes responses to reviews, creation of posts, and updates to menu items.
- Allows multi-step workflows with multiple participants to be made transparent, such as
management invitations.
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."],[[["Business Profile API requests require an authorization token obtained through OAuth 2.0 for user or application identification."],["OAuth 2.0 implementation safeguards business data, verifies owner identity, and grants controlled access to partner platforms."],["Partner platforms can utilize OAuth 2.0 to perform actions on behalf of the business owner, including managing reviews, posts, and menus, with the owner's explicit and revocable consent."]]],[]]