ads_interstitial_display

Display an interstitial ad if one is available.

Syntax:

GML Code Example

ads_interstitial_display()


Returns: N/A


Description

This function will show an interstitial ad if one is available (limited currently to Ad mob only). If one is available, it will be shown until the user closes it, with the game still running in the background, so be aware of this and only use the function at points where it won't interrupt the game-play of your game.


Example:

GML Code 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.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here