DFPInterstitial

@interface DFPInterstitial : GADInterstitial

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

  • Required value created on the DFP 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 stats.

    Example DFP ad unit ID: @/6499/example/interstitial

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull 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

    Swift

    weak var appEventDelegate: AnyObject! { get set }

    Objective-C

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

    Declaration

    Swift

    weak var customRenderedInterstitialDelegate: AnyObject! { get set }

    Objective-C

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