Home





Interstitial Ads

Interstitial Ads are short static or video ads, usually shown between levels or when game is over.


Blocks

is interstitial ad ready

boolean is interstitial ad ready()

Check if an ad from any of the included SDK providers is ready to be shown.

Return Value:

Returns true if any ad is ready, false otherwise. When app is not Enhanced, always returns true.

is interstitial ad ready for placement

boolean is interstitial ad ready for placement(
    text placement
)

Check if an ad from any of the included SDK providers is ready to be shown.

Parameters:

text  placement - Specifies the internal placement of the ad (from the Enhance mediation editor).

Return Value:

Returns true if any ad is ready, false otherwise. When app is not Enhanced, always returns true.

show interstitial ad

void show interstitial ad()

Display an ad if any is currently available. The ad provider is selected based on your app's mediation settings.

show interstitial ad with placement

void show interstitial ad with placement(
    text placement
)

Display an ad if any is currently available. The ad provider is selected based on your app's mediation settings.

Parameters:

text  placement - Specifies the internal placement of the ad (from the Enhance mediation editor).