GoogleMobileAds Framework Reference
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
      
        
          
            GADVersionNumber
              
                
                  struct GADVersionNumber {}
                 
               
            Version number information.
          
          
            
              
                - 
                  
                  
                    
                    
                      
                      
                      
                        Declaration
                          Swift var majorVersion: Int
 
 
                          Objective-C NSInteger majorVersion
 
 
 
 
- 
                  
                  
                    
                    
                      
                      
                      
                        Declaration
                          Swift var minorVersion: Int
 
 
                          Objective-C NSInteger minorVersion
 
 
 
 
- 
                  
                  
                    
                    
                      
                      
                      
                        Declaration
                          Swift var patchVersion: Int
 
 
                          Objective-C NSInteger patchVersion
 
 
 
 
           
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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 `GADVersionNumber` struct provides version information, divided into three components. It includes `majorVersion`, which is an integer representing the major release number. `minorVersion`, an integer, represents the minor release number. Finally, `patchVersion`, also an integer, indicates the patch number for the given version. These three attributes are available in both Swift and Objective-C.\n"]]