GoogleMobileAds Framework Reference

DFPInterstitial

class 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

    Swift

    init(adUnitID: String)
  • Correlator object for correlating this object to other ad objects.

    Declaration

    Swift

    var correlator: GADCorrelator? { get set }
  • Optional delegate that is notified when creatives send app events.

    Declaration

    Swift

    weak var appEventDelegate: GADAppEventDelegate? { get set }
  • Optional delegate object for custom rendered ads.

    Declaration

    Swift

    weak var customRenderedInterstitialDelegate: DFPCustomRenderedInterstitialDelegate? { get set }