Follow

Showing Interstitial Ads

View original article on our GitHub

You can choose to show an interstitial ad in several locations within your application. This could be upon entering (onCreate), between stages, while waiting for an action and more.

Add the following code to the appropriate place or places in which you would like to show the ad:

1. Load the ad

 void Start () {
        #if UNITY_IPHONE
        StartAppWrapperiOS.loadAd();
        #endif    
    }

2. Show the ad

StartAppWrapperiOS.showAd();

You can show a specific type of interstitial ad, as well as getting callbacks events. For detailed instructions please refer to the Advanced Usage.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments