Intertitial

Create a request to load the ad.

You should call this part of the code once at the beginning.

using UnityEngine;
using AdManagerPro;
public class Test : MonoBehaviour
{
    private void Start()
    {
        // Requests to download advertisements
        InterstitialAdManager.RequestAdInterstitial();
    }
}

Show Interstitial ADS

To show interstitial ads, you can use the following code snippet:

InterstitialAdManager.ShowAdInterstitial();

This method will display an interstitial ad, typically used for full-screen ads between content or levels in your game.

If you need to check the availability/loading status of the ad, include the following code snippet:

using UnityEngine;
using AdManagerPro;
public class Test : MonoBehaviour
{
    private void Start()
    {
        if(InterstitialAdManager.isAdmobInterstitialReady){
            Debug.Log("The ad is available.");
        }
    }
}

Last updated