AI-generated Key Takeaways
-
GADAdFormat is an enum defining different requested ad formats.
-
Available ad formats include Banner, Interstitial, Rewarded, Native, Rewarded Interstitial, and App Open.
-
Each ad format has corresponding Swift and Objective-C case declarations with integer values.
GADAdFormat
enum GADAdFormat : NSInteger {}Requested ad format.
-
< Banner.
Declaration
Swift
case banner = 0Objective-C
GADAdFormatBanner = 0 -
< Interstitial.
Declaration
Swift
case interstitial = 1Objective-C
GADAdFormatInterstitial = 1 -
< Rewarded.
Declaration
Swift
case rewarded = 2Objective-C
GADAdFormatRewarded = 2 -
< Native.
Declaration
Swift
case native = 3Objective-C
GADAdFormatNative = 3 -
< Rewarded interstitial.
Declaration
Swift
case rewardedInterstitial = 4Objective-C
GADAdFormatRewardedInterstitial = 4 -
< App open.
Declaration
Swift
case appOpen = 6Objective-C
GADAdFormatAppOpen = 6