For the complete documentation index, see llms.txt. This page is also available as Markdown.

Banner

You are reading the documentation for Bridge SDK v2. If you need the obsolete v1 documentation, see Documentation (v1).

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.

Platform support · 11 of 25 platforms

Supports: crazy_games, dlightek, facebook, game_distribution, gamepush, jio_games, msn, ok, vk, xiaomi, yandex

Does not support: discord, gamesnacks, huawei, lagged, microsoft_store, playgama, poki, portal, reddit, samsung, telegram, tiktok, y8, youtube

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 | Bottom

  • Placement (optional)

Copy This Example

Add the Show Banner action (e.g. on At the beginning of the scene). Parameters:

  • Position (top | bottom)

  • Placement (optional)

Copy This Example

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.

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