rocket
  Meet
  
Merchant API
  - the official successor to Content API for Shopping.
  
  update
  Get the latest
  on new Merchant API features, bug fixes, and updates.
   
  add_alert
  Note: Content API for Shopping will be sunset on August 18, 2026.
         
       
     
  
  
  
  
  
    
      REST Resource: pubsubnotificationsettings
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
      
      
        Resource: PubsubNotificationSettings
        
          Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.
        
        
          
            
              
                | JSON representation | 
            
            
              
                | {
  "kind": string,
  "cloudTopicName": string,
  "registeredEvents": [
    string
  ]
} | 
            
          
        
        
          
            
              
              
            
            
              
                | Fields | 
            
            
              
                | kind | string
 Identifies what kind of resource this is. Value: the fixed string "content#pubsubNotificationSettings" | 
              
                | cloudTopicName | string
 Cloud pub/sub topic to which notifications are sent (read-only). | 
              
                | registeredEvents[] | string
 List of event types.  Acceptable values are:  | 
            
          
        
      
      
        
          
            
            
          
          
            
              | Methods | 
          
          
            
              |  | Retrieves a Merchant Center account's pubsub notification settings. | 
            
              |  | Register a Merchant Center account for pubsub notifications. | 
          
        
      
    
  
  
  
 
  
    
    
      
       
    
    
  
  
  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 2025-02-25 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-25 UTC."],[],["Pub/Sub notification settings manage notifications for a Merchant Center account, requiring direct user access. Settings include a `kind`, a read-only `cloudTopicName`, and a list of `registeredEvents`. The only currently available registered event is `orderPendingShipment`. The `get` method retrieves notification settings, while the `update` method registers an account for these notifications. The settings use a specific JSON structure.\n"]]