GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Structures
The following structures are available globally.
-
Declaration
Objective-C
struct GADAdSize {}
-
Version number information.
Declaration
Swift
struct VersionNumber
Objective-C
struct GADVersionNumber {}
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 provided content defines two globally available structures: `GADAdSize` and `GADVersionNumber`. `GADAdSize` represents the size of an ad, and it is defined as a struct in both Swift (`struct AdSize`) and Objective-C (`struct GADAdSize {}`). `GADVersionNumber` holds version number information and also uses a struct definition in Swift (`struct VersionNumber`) and Objective-C (`struct GADVersionNumber {}`). These structures serve to provide specific data in code.\n"]]