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.

Platform support · 11 of 26 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, playdeck, 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.

Hide Banner

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

Track banner state to adjust layout, avoid empty ad space, and debug failed loads.

Possible values: loading, shown, hidden, failed.

Last updated