To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleMobileAds Framework Reference

  • GAMInterstitialAd is a Google Ad Manager class used to display full-screen interstitial ads at natural transition points in an app.

  • Loading an interstitial ad is achieved by calling load(withAdManagerAdUnitID:request:) and providing the ad unit ID and an optional GAMRequest object.

  • The optional appEventDelegate property allows you to receive notifications when ad creatives send app events.

  • The method loadWithAdUnitID:request:completionHandler: is unavailable and undocumented for GAMInterstitialAd.

GAMInterstitialAd


@interface GAMInterstitialAd : GADInterstitialAd 

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.

  • Optional delegate that is notified when creatives send app events.

    Declaration

    Swift

    weak var appEventDelegate: (any AppEventDelegate)? { get set }

    Objective-C

    @property (nonatomic, weak, nullable) id<GADAppEventDelegate> appEventDelegate;
  • Loads an interstitial ad.

    Declaration

    Swift

    class func load(with adUnitID: String, request: AdManagerRequest?) async throws -> AdManagerInterstitialAd

    Objective-C

    + (void)loadWithAdManagerAdUnitID:(nonnull NSString *)adUnitID
     request:(nullable GAMRequest *)request
     completionHandler:
     (nonnull GAMInterstitialAdLoadCompletionHandler)
     completionHandler;

    Parameters

    adUnitID

    An ad unit ID created in the Ad Manager UI.

    request

    An ad request object. If nil, a default ad request object is used.

    completionHandler

    A handler to execute when the load operation finishes or times out.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (void)loadWithAdUnitID:(nonnull NSString *)adUnitID
     request:(nullable GADRequest *)request
     completionHandler:
     (nonnull GADInterstitialAdLoadCompletionHandler)completionHandler;

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.