load
Loads an interstitial ad.
Parameters
The ad unit ID.
A callback invoked when the ad is loaded.
A callback invoked when the ad fails to load.
Loads an Interstitial Ad. Note: Make all calls to the Mobile Ads SDK on the main thread.
To load an interstitial ad, call InterstitialAdHandler.load method and pass in an AdUnitId as a String to receive the loaded ad, the onLoad callback, and any possible Exception from the onFailure callback.
Parameters
Your Interstitial Ad AdUnitId String from AdMob
Callback after the ad loads
Callback sharing the Exception when the ad fail to load
See also
Loads an Interstitial Ad. Note: Make all calls to the Mobile Ads SDK on the main thread.
To load an interstitial ad, call InterstitialAdHandler.load method and pass in an AdUnitId as a String to receive the loaded ad, the onLoad callback, and any possible Exception from the onFailure callback.
Parameters
Your Interstitial Ad AdUnitId String from AdMob
Callback after the ad loads
Callback sharing the Exception when the ad fail to load