Interstitial
Last updated
Last updated
Interstitial ads typically appear during transitions in the game, such as level loading or after game over.
Set the minimum time interval between interstitial ad displays to comply with platform requirements and improve user experience.
There should be time intervals between interstitial ad displays. For convenience, this SDK includes a built-in timer mechanism between ad displays. You just need to specify the required interval, and you can call the ad display method as often as you like.
Track the state of the interstitial ad (loading, opened, closed, failed) to manage ad display and user experience.
Current state of the interstitial ad. Possible values: loading
, opened
, closed
, failed
.
React to changes in ad state. For example, mute the game sound when opened
and unmute when closed
or failed
.
Check the Interstitial State
at the start of the game, and if the ad is opened
, perform the necessary actions (mute sounds/pause the game/etc.).
Display an interstitial ad at appropriate moments, such as during level transitions or game over screens.
If set Ignore Delay
to true, the minimum interval between displays will be ignored.
Do not call Show Interstitial
method at the start of the game. On platforms where this is allowed, the ad will be shown automatically.