Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
  
  GoogleMobileAds.Api.NativeTemplateId
  Defines ID constants for templates to render native ads. 
  Summary
  
    
      
        Public attributes
       | 
    
    
      
        Medium = "medium"
       | 
      
         
          const string
         
        Medium Layout.  
       | 
    
    
      
        Small = "small"
       | 
      
         
          const string
         
        Small Layout.  
       | 
    
  
  Public attributes
  
    Medium
    const string Medium = "medium"
    
   
  
    Small
    const string Small = "small"
    
   
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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-20 UTC.
  
  
  
    
      [null,null,["Last updated 2025-08-20 UTC."],[],["The content defines constants for native ad template IDs within the `GoogleMobileAds.Api.NativeTemplateId` class. It specifies two public attributes: `Medium` and `Small`. `Medium`, represented by the string \"medium\", denotes the medium layout. `Small`, represented by the string \"small\", denotes the small layout. These string values serve as identifiers for selecting the desired template for rendering native ads.\n"]]