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.
Q&A API
Stay organized with collections
Save and categorize content based on your preferences.
Change log
v1: 2024-09-18
old ID will no longer be accepted for locations.questions and locations.questions.answers
In case the name
field includes the old ID of the question or answer, starting 2024-09-16
, API will return an exception. If you are using the old ID when
calling the API, replace it with the new ID by calling the list
method.
v1: 2024-02-12
name
field will change for locations.questions
and locations.questions.answers
Note that starting 2024-02-12
, name
field which includes the old ID of the question
or answer
will be replaced with a new ID. If you are using the old ID
for the question or answer, API will return the new ID in the response object
for your request.
v1: 2023-11-13
locations.questions.list
for businesses with more than 50 questions
We have a known limitation with orderBy
query parameter for locations.questions.list
that doesn't sort questions created by the business
correctly using the upvoteCount
order when there are more than 50 questions.
v1: 2021-11-18
API Access
The Q&A API will need to be enabled from the GCP Console.
The OAuth scope remains the same.
Endpoint URL
The Questions endpoint is accessible at https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions
instead of https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions
.
The Answers endpoint is accessible at https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions/{questionId}/answers
instead of https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions/{questionId}/answers
.
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 2025-08-28 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 2025-08-28 UTC."],[[["\u003cp\u003eStarting September 16, 2024, the old ID format for questions and answers will be deprecated and replaced with a new ID format, requiring updates to API calls using the \u003ccode\u003elist\u003c/code\u003e method for retrieval.\u003c/p\u003e\n"],["\u003cp\u003eAs of February 12, 2024, the \u003ccode\u003ename\u003c/code\u003e field for questions and answers transitioned to a new ID structure, with the API returning the updated ID in responses for compatibility.\u003c/p\u003e\n"],["\u003cp\u003eThere is a known issue with the \u003ccode\u003elocations.questions.list\u003c/code\u003e method where the \u003ccode\u003eorderBy\u003c/code\u003e parameter with \u003ccode\u003eupvoteCount\u003c/code\u003e might not correctly sort business-created questions when exceeding 50 in number.\u003c/p\u003e\n"],["\u003cp\u003eThe Q&A API requires explicit activation through the GCP Console, with endpoints for questions and answers being relocated to new URLs under the \u003ccode\u003emybusinessqanda.googleapis.com\u003c/code\u003e domain.\u003c/p\u003e\n"]]],[],null,["# Q&A API\n\n\u003cbr /\u003e\n\nChange log\n----------\n\n### v1: 2024-09-18\n\n#### old ID will no longer be accepted for locations.questions and locations.questions.answers\n\nIn case the `name` field includes the old ID of the question or answer, starting\n`2024-09-16`, API will return an exception. If you are using the old ID when\ncalling the API, replace it with the new ID by calling the `list` method.\n\n### v1: 2024-02-12\n\n#### `name` field will change for `locations.questions` and `locations.questions.answers`\n\nNote that starting `2024-02-12`, `name` field which includes the old ID of the\n[question](https://developers.google.com/my-business/reference/qanda/rest/v1/locations.questions#resource:-question)\nor [answer](https://developers.google.com/my-business/reference/qanda/rest/v1/locations.questions#answer)\nwill be replaced with a new ID. If you are using the old ID\nfor the question or answer, API will return the new ID in the response object\nfor your request.\n\n### v1: 2023-11-13\n\n#### `locations.questions.list` for businesses with more than 50 questions\n\nWe have a known limitation with `orderBy` query parameter for\n`locations.questions.list` that doesn't sort questions created by the business\ncorrectly using the `upvoteCount` order when there are more than 50 questions.\n\n### v1: 2021-11-18\n\n#### API Access\n\nThe Q\\&A API will need to be enabled from the [GCP Console.](https://console.developers.google.com/apis/library/mybusinessqanda.googleapis.com) The OAuth scope remains the same.\n\n#### Endpoint URL\n\nThe Questions endpoint is accessible at `https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions` instead of `https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions`.\n\nThe Answers endpoint is accessible at `https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions/{questionId}/answers` instead of `https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions/{questionId}/answers`."]]