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.