Business Profile Performance API
The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note: If you have a quota of 0…
Developer tools#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access.
Endpoints 3
locations
- GETReturns the values for each date from a given time range that are associated with the specific daily metrics
/v1/:location:fetchMultiDailyMetricsTimeSeries?dailyMetrics=DAILY_METRIC_UNKNOWN&dailyRange.endDate.day=0&dailyRange.endDate.month=0&dailyRange.endDate.year=0&dailyRange.startDate.day=0&dailyRange.startDate.month=0&dailyRange.startDate.year=0Returns the values for each date from a given time range that are associated with the specific daily metrics. Note: Only daily data is available. Hourly… - GETReturns the values for each date from a given time range that are associated with the specific daily metric
/v1/:name:getDailyMetricsTimeSeries?dailyMetric=DAILY_METRIC_UNKNOWN&dailyRange.endDate.day=0&dailyRange.endDate.month=0&dailyRange.endDate.year=0&dailyRange.startDate.day=0&dailyRange.startDate.month=0&dailyRange.startDate.year=0&dailySubEntityType.dayOfWeek=DAY_OF_WEEK_UNSPECIFIED&dailySubEntityType.timeOfDay.hours=0&dailySubEntityType.timeOfDay.minutes=0&dailySubEntityType.timeOfDay.nanos=0&dailySubEntityType.timeOfDay.seconds=0Returns the values for each date from a given time range that are associated with the specific daily metric. Note: Only daily data is available. Hourly…
locations.searchkeywords.impressions.monthly
- GETReturns the search keywords used to find a business in search or maps
/v1/:parent/searchkeywords/impressions/monthly?monthlyRange.endMonth.day=0&monthlyRange.endMonth.month=0&monthlyRange.endMonth.year=0&monthlyRange.startMonth.day=0&monthlyRange.startMonth.month=0&monthlyRange.startMonth.year=0&pageSize=0&pageToken=stringReturns the search keywords used to find a business in search or maps. Each search keyword is accompanied by impressions which are aggregated on a monthly…
API details
- Base URL
https://businessprofileperformance.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow)
An API key in the key query parameter - Operations
- 3 operations on 3 pathsGET 3
- Main resources
- locations 2locations.searchkeywords.impressions.monthly 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Business Profile Performance API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Business Profile Performance API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Returns the values for each date from a given time range that are associated with the specific daily metrics” (GET /v1/:location:fetchMultiDailyMetricsTimeSeries?dailyMetrics=DAILY_METRIC_UNKNOWN&dailyRange.endDate.day=0&dailyRange.endDate.month=0&dailyRange.endDate.year=0&dailyRange.startDate.day=0&dailyRange.startDate.month=0&dailyRange.startDate.year=0), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Business Profile Performance API?
The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note: If you have a quota of 0… It is listed under Developer tools and has 3 endpoints.
Who publishes the Business Profile Performance API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Business Profile Performance API?
Requests go to https://businessprofileperformance.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Business Profile Performance API?
It accepts 2 methods: OAuth 2.0 (authorization code flow); an API key in the key query parameter.
How many endpoints does the Business Profile Performance API have?
3 operations on 3 paths (3 GET). The largest groups are locations, locations.searchkeywords.impressions.monthly.
Is forking the Business Profile Performance API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.