GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
enum GADAdFormat : NSInteger {}
Requested ad format.
-
Declaration
Objective-C
GADAdFormatBanner = 0
-
Declaration
Swift
case interstitial = 1
Objective-C
GADAdFormatInterstitial = 1
-
Declaration
Objective-C
GADAdFormatRewarded = 2
-
Declaration
Objective-C
GADAdFormatNative = 3
-
Declaration
Swift
case rewardedInterstitial = 4
Objective-C
GADAdFormatRewardedInterstitial = 4
-
Declaration
Objective-C
GADAdFormatAppOpen = 6
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."],[],["The `GADAdFormat` enum defines requested ad formats. It includes `banner` (0), `interstitial` (1), `rewarded` (2), `native` (3), `rewardedInterstitial` (4), and `appOpen` (6). Each format has a corresponding integer value in both Swift and Objective-C. These values represent the specific type of ad requested when using Google AdMob services. Each declaration is provided for both programming languages.\n"],null,[]]