GoogleMobileAds.
Api.
InterstitialAd
A full page ad experience at natural transition points, such as a page change or an app launch.
Summary
Interstitials use a close button that removes the ad from the user's experience.
Inheritance
Direct Known Subclasses: GoogleMobileAds.Api.AdManager.AdManagerInterstitialAdEvents
Action
Action
Action< AdError
>
Action
Action
Properties
long
Public static functions
IsAdAvailable
(string adUnitId)
bool
Load
(string adUnitId, AdRequest
request, Action< InterstitialAd
, LoadAdError
> adLoadCallback)
void
PollAd
(string adUnitId)
Public functions
CanShowAd
()
bool
Destroy
()
void
GetAdUnitID
()
string
Show
()
void
Events
OnAdClicked
Action OnAdClicked
Raised when an ad is clicked.
OnAdFullScreenContentClosed
Action OnAdFullScreenContentClosed
Raised when the ad closed full-screen content.
On iOS, this event is only raised when an ad opens an overlay, not when opening a new application such as Safari or the App Store.
OnAdFullScreenContentFailed
Action < AdError > OnAdFullScreenContentFailed
Raised when the ad failed to open full-screen content.
OnAdFullScreenContentOpened
Action OnAdFullScreenContentOpened
Raised when an ad opened full-screen content.
OnAdImpressionRecorded
Action OnAdImpressionRecorded
Raised when an impression is recorded for an ad.
Properties
PlacementId
long PlacementId
A long integer provided by the AdMob UI for the configured placement.
To ensure this placement ID is included in reporting, set a value before showing the ad.
Public static functions
IsAdAvailable
bool IsAdAvailable ( string adUnitId )
Verify if an ad is preloaded and available to show.
adUnitId
Load
void Load ( string adUnitId , AdRequest request , Action < InterstitialAd , LoadAdError > adLoadCallback )
Loads an interstitial ad.
PollAd
InterstitialAd PollAd ( string adUnitId )
Returns the next pre-loaded interstitial ad and null if no ad is available.
adUnitId
Public functions
CanShowAd
bool CanShowAd ()
Returns true if the ad is loaded and not shown.
Destroy
void Destroy ()
Destroys the ad.
GetAdUnitID
string GetAdUnitID ()
Returns the ad unit ID.
Show
void Show ()
Shows the ad.

