Google Business Performance API has a
NEW API method that allows fetching multiple `DailyMetrics` in a single API request. Review the
deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
REST Resource: accounts
Stay organized with collections
Save and categorize content based on your preferences.
Resource
There is no persistent data associated with this resource.
Methods |
|
Returns the pubsub notification settings for the account. |
|
Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\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. |"]]