API уведомлений
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
История изменений
Версия 1.2: 7 февраля 2022 г.
LOSS_OF_VOICE_OF_MERCHANT
Добавлен код VOICE_OF_MERCHANT_UPDATED
, обозначающий изменение статуса контроля со стороны продавца. Адрес может получить или утратить такой статус.
Прекращена поддержка для уведомления типа LOSS_OF_VOICE_OF_MERCHANT
.
Версия 1.1: 13 декабря 2021 г.
LOSS_OF_VOICE_OF_MERCHANT
Добавлен тип уведомления LOSS_OF_VOICE_OF_MERCHANT
, с помощью которого можно определить, потерял ли адрес статус управления продавцом.
Версия 1
Доступ к API
Notifications API необходимо включить из GCP Console. Область действия OAuth остается прежней.
URL конечных точек
Для доступа к Notifications API используется адрес https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting
, а не https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications
.
Вместо topicName
теперь используется pubSubTopic
. Подробнее…
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 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)"]]