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.
[[["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-20 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGADAdSize\u003c/code\u003e structure provides information about ad dimensions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGADVersionNumber\u003c/code\u003e structure contains version-related details.\u003c/p\u003e\n"]]],["The provided content outlines two globally available structures: `GADAdSize` and `GADVersionNumber`. `GADAdSize` defines the size of an ad, while `GADVersionNumber` contains version number information. Both structures are defined as structs in both Swift and Objective-C, indicated by the respective `struct AdSize` and `struct GADAdSize {}` for `GADAdSize` and `struct VersionNumber` and `struct GADVersionNumber {}` for `GADVersionNumber`.\n"],null,["# GoogleMobileAds Framework Reference\n\nStructures\n==========\n\nThe following structures are available globally.\n- `\n ``\n ``\n `\n\n ### [GADAdSize](/admob/ios/api/reference/Structs/GADAdSize)\n\n `\n ` \n Ad size. \n See\n typedef GADAdSize \n\n #### Declaration\n\n Swift \n\n struct AdSize\n\n Objective-C \n\n struct GADAdSize {}\n\n- `\n ``\n ``\n `\n\n ### [GADVersionNumber](/admob/ios/api/reference/Structs/GADVersionNumber)\n\n `\n ` \n Version number information. \n\n #### Declaration\n\n Swift \n\n struct VersionNumber\n\n Objective-C \n\n struct GADVersionNumber {}"]]