Namespace CompanionAdSelectionSettings
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
      
    
    
    
      
      
        
          
            
            
          
          
            | Enumerations | 
          
            | CreativeType | Available choices for creative type of a companion ad. | 
          
            | ResourceType | Available choices for resource type of a companion ad. | 
          
            | SizeCriteria | Available choices for size selection criteria. | 
        
      
      
        Enumerations
        
          
          
            CreativeType
          
          
            
              CreativeType
            
            Available choices for creative type of a companion ad. The user can specify any of these
            choices as a criterion for selecting companion ads.
            
              
                
                  
                  
                
                
                  | Enumeration Members | 
                
                  | ALL | Specifies all creative types. | 
                
                  | FLASH | Specifies Flash creatives. | 
                
                  | IMAGE | Specifies image creatives (such as JPEG, PNG, GIF, etc). | 
              
            
           
        
        
          
          
            ResourceType
          
          
            
              ResourceType
            
            Available choices for resource type of a companion ad. The user can specify any of these
            choices as a criterion for selecting companion ads.
            
              
                
                  
                  
                
                
                  | Enumeration Members | 
                
                  | ALL | Specifies that the resource can be any type of resource. | 
                
                  | HTML | Specifies that the resource should be an HTML snippet. | 
                
                  | IFRAME | 
                      Specifies that the resource should be a URL that should be used as the source
                      of an iframe. | 
                
                  | STATIC | 
                      Specifies that the resource should be a static file (usually the URL of an
                      image of SWF).
                     | 
              
            
           
        
        
          
          
            SizeCriteria
          
          
            
              SizeCriteria
            
            Available choices for size selection criteria. The user can specify any of these choices
            for selecting companion ads.
            
              
                
                  
                  
                
                
                  | Enumeration Members | 
                
                  | IGNORE | Specifies that size should be ignored when choosing companions. | 
                
                  | SELECT_EXACT_MATCH | 
                      Specifies that only companions that match the size of the companion ad slot
                      exactly should be chosen.
                     | 
                
                  | SELECT_FLUID | 
                      Specifies that only special size, 'fluid', companions should be
                      chosen.
                     | 
                
                  | SELECT_NEAR_MATCH | 
                      Specifies that any companion close to the size of the companion ad slot should
                      be chosen.
                     | 
              
            
           
        
      
    
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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-01-17 UTC.
  
  
  
    
      [null,null,["Last updated 2025-01-17 UTC."],[],[]]