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.
Notifications API
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Historia zmian
v1.2: 07.02.2022
LOSS_OF_VOICE_OF_MERCHANT
Dodanie VOICE_OF_MERCHANT_UPDATED
, aby wskazać zmianę głosu w stanie sprzedawcy. Ten stan obejmuje uzyskanie lub utratę głosu w przypadku sprzedawcy.
wycofanie typu powiadomienia LOSS_OF_VOICE_OF_MERCHANT
.
Wersja 1.1: 13.12.2021
LOSS_OF_VOICE_OF_MERCHANT
Dodanie typu powiadomienia LOSS_OF_VOICE_OF_MERCHANT
, który wskazuje, czy lokalizacja ma problem z głosem w przypadku stanu sprzedawcy.
v1
Dostęp do API
Interfejs API Notifications musi być włączony w konsoli GCP. Zakres OAuth pozostaje bez zmian.
Adresy URL punktów końcowych
Interfejs API powiadomień jest dostępny pod adresem https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting
, a nie https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications
Nazwę konta usługi topicName
zmieniono na pubSubTopic
. Więcej informacji
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-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-29 UTC."],[[["\u003cp\u003eThe Notifications API endpoint URL and a field name have been updated, and it needs to be enabled from the GCP Console.\u003c/p\u003e\n"],["\u003cp\u003eA new notification type \u003ccode\u003eVOICE_OF_MERCHANT_UPDATED\u003c/code\u003e has been added to indicate change in voice of merchant status, encompassing both gain and loss, and \u003ccode\u003eLOSS_OF_VOICE_OF_MERCHANT\u003c/code\u003e is deprecated.\u003c/p\u003e\n"],["\u003cp\u003ePreviously, the \u003ccode\u003eLOSS_OF_VOICE_OF_MERCHANT\u003c/code\u003e notification type was added to indicate a loss in the voice of merchant status for a location.\u003c/p\u003e\n"]]],["The document outlines updates to a Notifications API. Version 1.1 introduced `LOSS_OF_VOICE_OF_MERCHANT` to indicate a loss of voice of merchant status. Version 1.2 deprecated this in favor of `VOICE_OF_MERCHANT_UPDATED`, which signifies any change in voice of merchant status (gain or loss). The API is now enabled via the GCP Console and its endpoint URL has changed. The parameter `topicName` has also been renamed to `pubSubTopic`.\n"],null,["# Notifications API\n\n\u003cbr /\u003e\n\nChange log\n----------\n\n### v1.2: 2022-02-07\n\n#### LOSS_OF_VOICE_OF_MERCHANT\n\nAddition of `VOICE_OF_MERCHANT_UPDATED` to indicate a change in voice of merchant status. This status will encompass gain or loss of voice of merchant status.\n\nDeprecation of the `LOSS_OF_VOICE_OF_MERCHANT` notification type.\n\n### v1.1: 2021-12-13\n\n#### LOSS_OF_VOICE_OF_MERCHANT\n\nAddition of the `LOSS_OF_VOICE_OF_MERCHANT` notification type which indicates whether the location has a loss in voice of merchant status.\n\n### v1\n\n#### API Access\n\nThe Notifications API will need to be enabled from the [GCP Console.](https://console.developers.google.com/apis/library/mybusinessnotifications.googleapis.com) The OAuth scope remains the same.\n\n#### Endpoint URLs\n\nThe Notifications API is accessible at `https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting` instead of `https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications`\n\n#### `topicName` has been renamed to `pubSubTopic`. [More info](/my-business/preview/reference/notifications/rest/v1/NotificationSetting)"]]