Interfejs
Google Business Performance API udostępnia
NOWĄ metodę interfejsu API, która umożliwia pobieranie wielu parametrów „DailyMetrics” w jednym żądaniu API.
Zapoznaj się z
harmonogramem wycofywania i instrukcjami, jak przejść z metody raportu API w wersji 4 na interfejs Google Business Profile Performance API.
Interfejs Q&A API
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Historia zmian
v1: 18.09.2024
stare identyfikatory nie będą już akceptowane w przypadku zapytań i odpowiedzi dotyczących lokalizacji
Jeśli pole name
zawiera stary identyfikator pytania lub odpowiedzi, zaczynający się od
2024-09-16
, API zwróci wyjątek. Jeśli podczas wywoływania interfejsu API używasz starego identyfikatora, zastąp go nowym, wywołując metodę list
.
Wersja 1: 12.02.2024
Pole name
zmieni się w przypadku urządzeń locations.questions
i locations.questions.answers
Pamiętaj, że od 2024-02-12
pole name
, które zawiera stary identyfikator pytania lub odpowiedzi, zostanie zastąpione nowym identyfikatorem. Jeśli używasz starego identyfikatora pytania lub odpowiedzi, interfejs API zwróci nowy identyfikator w obiekcie odpowiedzi na Twoje żądanie.
v1: 13.11.2023
locations.questions.list
dla firm z ponad 50 pytaniami
Mamy znane ograniczenie parametru zapytania orderBy
w przypadku locations.questions.list
, które nie sortuje prawidłowo pytań utworzonych przez firmę za pomocą kolejności upvoteCount
, gdy jest ich więcej niż 50.
v1: 18.11.2021
Dostęp do API
Interfejs Q&A API musi zostać włączony w konsoli GCP. Zakres OAuth pozostaje bez zmian.
URL punktu końcowego
Punkt końcowy Pytania jest dostępny pod adresem https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions
, a nie https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions
.
Punkt końcowy Answers jest dostępny pod adresem https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions/{questionId}/answers
zamiast https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions/{questionId}/answers
.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["Starting 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 `list` method for retrieval."],["As of February 12, 2024, the `name` field for questions and answers transitioned to a new ID structure, with the API returning the updated ID in responses for compatibility."],["There is a known issue with the `locations.questions.list` method where the `orderBy` parameter with `upvoteCount` might not correctly sort business-created questions when exceeding 50 in number."],["The Q&A API requires explicit activation through the GCP Console, with endpoints for questions and answers being relocated to new URLs under the `mybusinessqanda.googleapis.com` domain."]]],[]]