GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
-
The ad size. Don’t modify this value directly.
-
Declaration
Objective-C
NSUInteger flags
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 `GADAdSize` struct defines the dimensions of an ad. It contains two key components: `size`, which is a `CGSize` structure representing the width and height of the ad; and `flags`, a reserved `UInt` or `NSUInteger` field. The `size` attribute holds the ad's dimensions and should not be modified directly. The `flags` are designated for internal use and are reserved.\n"],null,[]]