Documentation

LevelPlay SDK - Android

Android interstitial integration checklist

Confirm the integration of interstitial ads in your Android app by checking ad loading, ad readiness, and serving.
Read time 1 minuteLast updated 8 days ago

Integrate interstitial ads

Load the ad unit

Create a
LevelPlayInterstitialAd
object with your ad unit ID, and set a
LevelPlayInterstitialAdListener
with
setListener
. Load the ad with
loadAd()
, preferably a short while before you plan to show it to your users. Avoid making consecutive requests for an interstitial ad within a short time span. The
onAdLoaded
callback tells you that the ad is ready.

Serve the ad unit

Before you show the ad, check that
isAdReady()
returns
true
, then call
showAd(activity)
. To use a placement, also check that
LevelPlayInterstitialAd.isPlacementCapped(placementName)
returns
false
, then call
showAd(activity, placementName)
instead. After you show the ad, call
loadAd()
again to load the next ad. For details, refer to Interstitial integration for Android.

Verify your integration

If you plan to serve interstitial ads with Unity LevelPlay, verify your integrated ad networks with the Integration Helper.