SharedCriterion
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
   
     
  
      
     
  
  
  
   
  
    
     
    
  
  
    
      
  
  
    
      
        outlined_flag 
       
     
    
      
        
          A shared criterion is an item belonging to a shared set.
         
      
        
          Key fields include resource name, type, shared set, and criterion ID.
         
      
        
          The specific criterion can be a keyword, YouTube video/channel, placement, mobile app category/application, brand, or webpage.
         
      
     
   
 
    
    
     
     
    
      
        
          A criterion belonging to a shared set.
         
        
          
            
               
               
             
            
              
                Fields 
               
             
            
              
                resource_name 
                
                  string
                  Immutable. The resource name of the shared criterion. Shared set resource names have the form:
customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}
                 
               
              
                type 
                
                  CriterionType 
                  Output only. The type of the criterion.
                 
               
              
                shared_set 
                
                  string
                  Immutable. The shared set to which the shared criterion belongs.
                 
               
              
                criterion_id 
                
                  int64
                  Output only. The ID of the criterion.
This field is ignored for mutates.
                 
               
              
                criterionUnion field criterion. The criterion.
criterion. The criterion.Exactly one must be set. criterion can be only one of the following:
criterion can be only one of the following: 
               
              
                keyword 
                
                  KeywordInfo 
                  Immutable. Keyword.
                 
               
              
                youtube_video 
                
                  YouTubeVideoInfo 
                  Immutable. YouTube Video.
                 
               
              
                youtube_channel 
                
                  YouTubeChannelInfo 
                  Immutable. YouTube Channel.
                 
               
              
                placement 
                
                  PlacementInfo 
                  Immutable. Placement.
                 
               
              
                mobile_app_category 
                
                  MobileAppCategoryInfo 
                  Immutable. Mobile App Category.
                 
               
              
                mobile_application 
                
                  MobileApplicationInfo 
                  Immutable. Mobile application.
                 
               
              
                brand 
                
                  BrandInfo 
                  Immutable. Brand.
                 
               
              
                webpage 
                
                  WebpageInfo 
                  Immutable. Webpage.
                 
               
             
          
         
       
     
  
  
  
     
  
 
  
    
      
       
    
    
      
    
     
  
       
    
    
       
    
  
  
 
  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-08-07 UTC.
 
 
  
  
  
    
      [[["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-08-07 UTC."],[],[]]