ads_interstitial_available

Check to see if an interstitial ad can be served.

Syntax:

ads_interstitial_available()


Returns: Boolean


Description

This function will check to see if there is an interstitial ad available from the chosen ad provider (currently limited to ad Mob) and return true if there is or false if there is not.


Example:

if ads_interstitial_available()
   {
   ads_interstitial_display();
   }

The above code checks to see if the ad provider can serve an interstitial ad and if it can, it then calls the function to display it.


Back: Advertising and Analytics
Next: ads_interstitial_display
© Copyright YoYo Games Ltd. 2018 All Rights Reserved