GoogleMobileAds.Api.AdManager.AdManagerInterstitialAd

A full page ad experience at natural transition points, such as a page change or an app launch for Google Ad Manager publishers.

Summary

Interstitials use a close button that removes the ad from the user's experience.

Inheritance

Inherits from: GoogleMobileAds.Api.InterstitialAd

Events

OnAppEventReceived
Action< AppEvent >
Raised when the app receives an event from the interstitial ad.

Public static functions

IsAdAvailable(string adUnitId)
new bool
Verify if an ad is preloaded and available to show.
Load(string adUnitId, AdRequest request, Action< AdManagerInterstitialAd, LoadAdError > adLoadCallback)
void
Loads an AdManager interstitial ad.
PollAd(string adUnitId)
Returns the next pre-loaded interstitial ad and null if no ad is available.

Events

OnAppEventReceived

Action< AppEvent > OnAppEventReceived

Raised when the app receives an event from the interstitial ad.

Public static functions

IsAdAvailable

new bool IsAdAvailable(
  string adUnitId
)

Verify if an ad is preloaded and available to show.

Details
Parameters
adUnitId
The ad Unit Id of the ad to verify.

Load

void Load(
  string adUnitId,
  AdRequest request,
  Action< AdManagerInterstitialAd, LoadAdError > adLoadCallback
)

Loads an AdManager interstitial ad.

PollAd

new InterstitialAd PollAd(
  string adUnitId
)

Returns the next pre-loaded interstitial ad and null if no ad is available.

Details
Parameters
adUnitId
The ad Unit ID of the ad to poll.