Notifications 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
, שמציין אם יש ירידה בסטטוס 'קול המוכר' של המיקום.
v1
גישה ל-API
צריך להפעיל את Notifications API ממסוף GCP. היקף הרשאת ה-OAuth לא ישתנה.
כתובות URL של נקודות קצה
אפשר לגשת ל-Notifications API בכתובת https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting
במקום בכתובת https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications
השם של topicName
השתנה ל-pubSubTopic
. מידע נוסף
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. 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)"]]