Represents a notification subscription owned by a Merchant account.
JSON representation
{"name": string,"registeredEvent": enum (NotificationEventType),"callBackUri": string,// Union field interested_in can be only one of the following:"allManagedAccounts": boolean,"targetAccount": string// End of list of possible types for union field interested_in.}
Fields
name
string
Output only. The name of the notification configuration. Generated by the Content API upon creation of a new NotificationSubscription. The account represents the merchant ID of the merchant that owns the configuration. Format: accounts/{account}/notificationsubscriptions/{notificationSubscription}
The event that the merchant wants to be notified about.
callBackUri
string
URL to be used to push the notification to the merchant.
Union field interested_in.
interested_in can be only one of the following:
allManagedAccounts
boolean
If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis.
targetAccount
string
The name of the account you want to receive notifications for. Format: accounts/{account}
NotificationEventType
Represents the event type that the merchant is interested in receiving notifications for.
Enums
NOTIFICATION_EVENT_TYPE_UNSPECIFIED
Notifications event type is unspecified.
PRODUCT_STATUS_CHANGE
Notification of product status changes, for example when product becomes disapproved.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["NotificationSubscription enables merchants to receive notifications about specific events related to their account."],["Merchants can configure which events trigger notifications, such as product status changes, and provide a callback URL to receive them."],["The API offers methods to create, delete, retrieve, and update notification subscriptions."],["It allows merchants to receive notifications for events occurring on all managed accounts or a specific target account."]]],["Merchants can create `NotificationSubscription` resources to receive updates about specific events. Each subscription includes a `name`, a `registeredEvent` (e.g., `PRODUCT_STATUS_CHANGE`), and a `callBackUri` for notification delivery. Merchants can specify if they want to receive events regarding `allManagedAccounts` or a `targetAccount`. Available methods include `create`, `delete`, `get`, `list`, and `patch` for managing these subscriptions. Notification event type can be `PRODUCT_STATUS_CHANGE` or `NOTIFICATION_EVENT_TYPE_UNSPECIFIED`.\n"]]