GoogleMobileAds Framework Reference

DFPInterstitial

@interface DFPInterstitial : GADInterstitial

Google Ad Manager interstitial ad, a full-screen advertisement shown at natural transition points in your application such as between game levels or news stories.

  • Initializes an interstitial with an ad unit created on the Ad Manager website. Create a new ad unit for every unique placement of an ad in your application. Set this to the ID assigned for this placement. Ad units are important for targeting and statistics.

    Example Ad Manager ad unit ID: @/6499/example/interstitial

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAdUnitID:(nonnull NSString *)adUnitID;
  • Correlator object for correlating this object to other ad objects.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) GADCorrelator *correlator;
  • Optional delegate that is notified when creatives send app events.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable) id<GADAppEventDelegate>
        appEventDelegate;
  • Optional delegate object for custom rendered ads.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable)
        id<DFPCustomRenderedInterstitialDelegate>
            customRenderedInterstitialDelegate;