Interstitial ads are full-screen or full-page ads that temporarily cover an app’s interface. They’re typically shown at natural pauses or transition points—such as after completing a level in a game or when navigating between major views.
The following sections show you how to load and then show an interstitial ad.
To load an interstitial ad, instantiate an MAInterstitialAd object that corresponds to your ad unit and call its loadAd() method.
Implement MAAdDelegate so that you are notified when your ad is ready.
This also notifies you of other ad-related events.
To show an interstitial ad, call showAd() on the MAInterstitialAd object that you instantiated:
Best practices: Displaying interstitial ads
To prevent interstitial ad audio from interfering with your app’s background audio, AppLovin recommends that you pause your app’s background audio when the didDisplayAd() callback fires.
You can then resume your app’s background audio when the didHideAd() callback fires.