Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

GoogleMobileAds Framework Reference

Stay organized with collections Save and categorize content based on your preferences.

GADAdFormat

enum GADAdFormat : NSInteger {}

Requested ad format.

  • < Banner.

    Declaration

    Swift

    case banner = 0

    Objective-C

    GADAdFormatBanner
  • < Interstitial.

    Declaration

    Swift

    case interstitial = 1

    Objective-C

    GADAdFormatInterstitial
  • < Rewarded.

    Declaration

    Swift

    case rewarded = 2

    Objective-C

    GADAdFormatRewarded
  • < Native.

    Declaration

    Swift

    case native = 3

    Objective-C

    GADAdFormatNative
  • < Rewarded interstitial.

    Declaration

    Swift

    case rewardedInterstitial = 4

    Objective-C

    GADAdFormatRewardedInterstitial
  • < Unknown.

    Declaration

    Swift

    case unknown = 5

    Objective-C

    GADAdFormatUnknown
  • < App open.

    Declaration

    Swift

    case appOpen = 6

    Objective-C

    GADAdFormatAppOpen