Creates a notification subscription for a business.
For standalone or subaccounts accounts, the business can create a
subscription for self. For MCAs, the business can create a
subscription for all managed accounts or for a specific subaccount.
We will allow the following types of notification subscriptions to exist
together (per business as a subscriber per event type):
Subscription for all managed accounts + subscription for self.
Multiple "partial" subscriptions for managed accounts + subscription
for self.
we will not allow (per business as a subscriber per event type):
Multiple self subscriptions.
Multiple "all managed accounts" subscriptions.
"All managed accounts" subscription and partial subscriptions at the
same time.
Multiple partial subscriptions for the same target account.
Retrieves notification subscription health metrics for a merchant.
We recommend calling this periodically (hourly or daily) to monitor health
of your callback endpoint.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface NotificationsApiServiceGrpc.AsyncService (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-notifications/latest/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.29.0](/java/docs/reference/google-shopping-merchant-notifications/0.29.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.27.0](/java/docs/reference/google-shopping-merchant-notifications/0.27.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-notifications/0.26.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-notifications/0.23.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.22.0](/java/docs/reference/google-shopping-merchant-notifications/0.22.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.21.0](/java/docs/reference/google-shopping-merchant-notifications/0.21.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-notifications/0.19.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-notifications/0.18.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.17.0](/java/docs/reference/google-shopping-merchant-notifications/0.17.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-notifications/0.16.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-notifications/0.15.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-notifications/0.14.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-notifications/0.13.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-notifications/0.12.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-notifications/0.11.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-notifications/0.10.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-notifications/0.8.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-notifications/0.7.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.6.0](/java/docs/reference/google-shopping-merchant-notifications/0.6.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-notifications/0.5.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-notifications/0.4.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-notifications/0.3.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-notifications/0.2.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-notifications/0.1.0/com.google.shopping.merchant.notifications.v1.NotificationsApiServiceGrpc.AsyncService) \n\n public static interface NotificationsApiServiceGrpc.AsyncService\n\nService to manage notification subscriptions for merchants\n\nMethods\n-------\n\n### createNotificationSubscription(CreateNotificationSubscriptionRequest request, StreamObserver\\\u003cNotificationSubscription\\\u003e responseObserver)\n\n public default void createNotificationSubscription(CreateNotificationSubscriptionRequest request, StreamObserver\u003cNotificationSubscription\u003e responseObserver)\n\nCreates a notification subscription for a business.\nFor standalone or subaccounts accounts, the business can create a\nsubscription for self. For MCAs, the business can create a\nsubscription for all managed accounts or for a specific subaccount.\nWe will allow the following types of notification subscriptions to exist\ntogether (per business as a subscriber per event type):\n\n1. Subscription for all managed accounts + subscription for self.\n2. Multiple \"partial\" subscriptions for managed accounts + subscription for self. we will not allow (per business as a subscriber per event type):\n3. Multiple self subscriptions.\n4. Multiple \"all managed accounts\" subscriptions.\n5. \"All managed accounts\" subscription and partial subscriptions at the same time.\n6. Multiple partial subscriptions for the same target account.\n\n### deleteNotificationSubscription(DeleteNotificationSubscriptionRequest request, StreamObserver\\\u003cEmpty\\\u003e responseObserver)\n\n public default void deleteNotificationSubscription(DeleteNotificationSubscriptionRequest request, StreamObserver\u003cEmpty\u003e responseObserver)\n\nDeletes a notification subscription for a merchant.\n\n### getNotificationSubscription(GetNotificationSubscriptionRequest request, StreamObserver\\\u003cNotificationSubscription\\\u003e responseObserver)\n\n public default void getNotificationSubscription(GetNotificationSubscriptionRequest request, StreamObserver\u003cNotificationSubscription\u003e responseObserver)\n\nGets notification subscriptions for an account.\n\n### getNotificationSubscriptionHealthMetrics(GetNotificationSubscriptionHealthMetricsRequest request, StreamObserver\\\u003cNotificationSubscriptionHealthMetrics\\\u003e responseObserver)\n\n public default void getNotificationSubscriptionHealthMetrics(GetNotificationSubscriptionHealthMetricsRequest request, StreamObserver\u003cNotificationSubscriptionHealthMetrics\u003e responseObserver)\n\nRetrieves notification subscription health metrics for a merchant.\nWe recommend calling this periodically (hourly or daily) to monitor health\nof your callback endpoint.\n\n### listNotificationSubscriptions(ListNotificationSubscriptionsRequest request, StreamObserver\\\u003cListNotificationSubscriptionsResponse\\\u003e responseObserver)\n\n public default void listNotificationSubscriptions(ListNotificationSubscriptionsRequest request, StreamObserver\u003cListNotificationSubscriptionsResponse\u003e responseObserver)\n\nGets all the notification subscriptions for a merchant.\n\n### updateNotificationSubscription(UpdateNotificationSubscriptionRequest request, StreamObserver\\\u003cNotificationSubscription\\\u003e responseObserver)\n\n public default void updateNotificationSubscription(UpdateNotificationSubscriptionRequest request, StreamObserver\u003cNotificationSubscription\u003e responseObserver)\n\nUpdates an existing notification subscription for a merchant."]]