requestInterstitialAd

Miquel Martín edited this page Jan 28, 2015 · 4 revisions

Request an interstitial ad.

Note: If options.autoShowInterstitial is set to true (default), the ad will automatically be displayed. Otherwise you need to call showInterstitialAd() when admob.events.onAdLoaded event is raised.

If you already called admob.requestInterstitialAd() but the interstitial has never been shown, the following calls to admob.requestInterstitialAd() will result in the ad being inmediately available (the one that was obtained in the first call).

admob.requestInterstitialAd(options, success, fail);
  • options: setup options (see options).
  • success: success callback.
  • failure: failure callback.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.