Banner
Banners are persistent ads pinned to the top or bottom of the screen. Use them on idle screens — main menu, lobby, pause overlay — and hide them during active gameplay.
When to use
You have a stable UI region where a banner won't overlap with controls.
You want medium-tier passive monetization without interrupting the player.
For more flexible placements (multiple banners, custom positions, responsive layouts) use Advanced Banners instead.
Configuration
Banner settings live in the config under the advertisement.banner key.
{
"advertisement": {
"banner": {
"disable": false, // disable banners entirely
"placementFallback": "main_menu", // placement used when showBanner() is called without one
"placements": [ // map a game-level placement id to native placement ids, keyed by platform id
{ "id": "main_menu", "yandex": "native_placement_id" }
]
}
}
}Is Banner Supported
Check this before reserving screen space or showing banner UI. Hide banner areas on platforms that do not support banners.
Use the PlaygamaBridge Is Banner Supported condition before reserving screen space or showing banner UI.
Use the PlaygamaBridge Is Banner Supported condition before reserving screen space or showing banner UI.

Show Banner
Show a banner in a stable UI area where it will not overlap gameplay controls.
Add the PlaygamaBridge Show Banner action (e.g. on System → On start of layout). Parameters:
Position
Top|BottomPlacement (optional)
Add the Show Banner action (e.g. on At the beginning of the scene). Parameters:
Position (
top|bottom)Placement (optional)

Hide Banner
Hide the current banner before gameplay resumes or when the screen no longer has safe space for it.
Add the PlaygamaBridge Hide Banner action.
Add the Hide Banner action.

Banner State
Track banner state to adjust layout, avoid empty ad space, and debug failed loads.
Possible values: loading, shown, hidden, failed.
Possible values: Loading, Shown, Hidden, Failed.
Current state of the banner. Possible values: loading, shown, hidden, failed.
Current state of the banner. Possible values: loading, shown, hidden, failed.
Returns the current state of the banner. Possible values: loading, shown, hidden, failed.
Possible values: loading, shown, hidden, failed.
Possible values: loading, shown, hidden, failed.
Possible values: loading, shown, hidden, failed.

Last updated