Interstitial (required)
Interstitials are full-screen ads shown at natural pauses: between levels, on game over, or when returning to the menu.
Configuration
Interstitial settings live in the config under the advertisement key.
{
"advertisement": {
"minimumDelayBetweenInterstitial": 60, // minimum delay between interstitials in seconds, default 60
"interstitial": {
"disable": false, // disable interstitials entirely
"preloadOnStart": "level_completed", // placement to preload automatically right after SDK initialization
"placementFallback": "level_completed", // placement used when showInterstitial() is called without one
"placements": [ // map a game-level placement id to native placement ids, keyed by platform id
{ "id": "level_completed", "yandex": "native_placement_id" }
]
}
}
}Is Interstitial Supported
Check this before showing interstitial-related UI or running interstitial logic.
Use the PlaygamaBridge Is Interstitial Supported condition before showing interstitial-related UI or running interstitial logic.
Use the PlaygamaBridge Is Interstitial Supported condition before showing interstitial-related UI or running interstitial logic.

Minimum Interval Between Displays
Set the minimum delay between interstitial attempts. The SDK uses this delay to prevent ads from appearing too often.
Read the current value from the expression (default is 60 seconds):
To change it, add the PlaygamaBridge Set Minimum Delay Between Interstitial action (parameter: Seconds).
Read the current value from the expression (default is 60 seconds):
To change it, add the Set Minimum Delay Between Interstitial action (parameter: Seconds).
To change the interval:
The SDK tracks the delay internally, and the platform defaults are what moderation expects — leave them as they are unless the platform asks otherwise. Call showInterstitial() at every natural pause; if it is too early, Bridge waits or skips according to platform behavior instead of showing ads too frequently.
Interstitial State
Track state changes to drive ad-specific logic. For muting and pausing, prefer the universal platform events described below instead of reacting to each ad state separately.
Possible values: loading, opened, closed, failed.
Possible values: Loading, Opened, Closed, Failed.
Read the current state from the expression. Possible values: loading, opened, closed, failed.
To react to changes, use the trigger conditions On Interstitial State Changed, On Interstitial Loading, On Interstitial Opened, On Interstitial Closed, On Interstitial Failed.
Read the current state from the expression. Possible values: loading, opened, closed, failed.
To react to changes, use the trigger conditions On Interstitial State Changed, On Interstitial Loading, On Interstitial Opened, On Interstitial Closed, On Interstitial Failed.
Returns the current state of the interstitial ad. Possible values: loading, opened, closed, failed.
Possible values: loading, opened, closed, failed.
Possible values: loading, opened, closed, failed.
Possible values: loading, opened, closed, failed.

Show Interstitial
Request an interstitial at a natural pause, such as a level transition, game over screen, or return to menu.
Add the PlaygamaBridge Show Interstitial action. Parameters:
Placement (optional)
Add the Show Interstitial action. Parameters:
Placement (optional)

Last updated