Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
Notifications API
變更記錄檔
v1.2:2022 年 2 月 7 日
LOSS_OF_VOICE_OF_MERCHANT
新增 VOICE_OF_MERCHANT_UPDATED
,用於表示商家狀態的語音變更。這個狀態包含商家狀態的增減。
停用 LOSS_OF_VOICE_OF_MERCHANT
通知類型。
v1.1:2021 年 12 月 13 日
LOSS_OF_VOICE_OF_MERCHANT
新增 LOSS_OF_VOICE_OF_MERCHANT
通知類型,指出商家狀態是否有語音損失。
v1
API 存取
您必須透過 GCP 主控台啟用 Notifications API。OAuth 範圍保持不變。
端點網址
通知 API 可透過 https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting
存取,而非 https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications
「topicName
」已重新命名為「pubSubTopic
」。瞭解詳情
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-29 (世界標準時間)。
[null,null,["上次更新時間:2025-01-29 (世界標準時間)。"],[[["The Notifications API endpoint URL and a field name have been updated, and it needs to be enabled from the GCP Console."],["A new notification type `VOICE_OF_MERCHANT_UPDATED` has been added to indicate change in voice of merchant status, encompassing both gain and loss, and `LOSS_OF_VOICE_OF_MERCHANT` is deprecated."],["Previously, the `LOSS_OF_VOICE_OF_MERCHANT` notification type was added to indicate a loss in the voice of merchant status for a location."]]],["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"]]