GoogleMobileAds Framework Reference
-
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 2021-02-23 UTC.
[null,null,["Last updated 2021-02-23 UTC."],[[["`GADAdSize` is a structure in Google Mobile Ads SDK that defines the size of an ad."],["It has two properties: `size` which is a `CGSize` representing the dimensions of the ad, and `flags` which is reserved for internal use."],["Developers should not directly modify the `size` property but should use predefined constants or methods to set the ad size."]]],["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"]]