Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
REST Resource: accounts
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
方法 |
|
傳回帳戶的 Pub/Sub 通知設定。 |
|
為帳戶進行 Pub/Sub 通知設定,告知 Google 要傳送哪個主題的 Pub/Sub 通知。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThis resource has no persistent data associated with it.\u003c/p\u003e\n"],["\u003cp\u003eThis resource provides methods to manage pubsub notification settings for a Google My Business account.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003egetNotificationSetting\u003c/code\u003e method to retrieve existing notification settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateNotificationSetting\u003c/code\u003e method allows you to specify a topic for Google to send pubsub notifications.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts\n\n- [Resource](#RESOURCE_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource\n--------\n\nThere is no persistent data associated with this resource.\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| ### [getNotificationSetting](/my-business/reference/notifications/rest/v1/accounts/getNotificationSetting) | Returns the pubsub notification settings for the account. |\n| ### [updateNotificationSetting](/my-business/reference/notifications/rest/v1/accounts/updateNotificationSetting) | Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. |"]]