# Interstitial

{% hint style="info" %}
There are some advertisement settings in the `playgama-bridge-config.json` file

[playgama-bridge-config](https://wiki.playgama.com/playgama/sdk/playgama-bridge-config "mention")
{% endhint %}

Interstitial ads typically appear during transitions in the game, such as level loading or after game over.

#### Is Interstitial Supported

Check if the platform supports displaying interstitial ads.

<figure><img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2FQwhrK095Wog4iAijPbaP%2FScreenshot%202025-07-25%20at%2010.10.54%E2%80%AFAM.png?alt=media&#x26;token=71d4d5b5-f444-415c-ba21-704a93ea847c" alt=""><figcaption></figcaption></figure>

#### <img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2F9BooaofCI33U9Np5oeif%2FFrame%203%20(1).png?alt=media&#x26;token=0750b56a-a069-4759-bda9-29951f06cd30" alt="" data-size="line"> **Interstitial State** <a href="#interstitial-state" id="interstitial-state"></a>

{% hint style="warning" %}
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.).
{% endhint %}

Track the state of the interstitial ad to manage ad display and user experience.

<figure><img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2FvVQ6h2kK8GS6wvx6bija%2FScreenshot%202025-07-11%20at%204.52.51%E2%80%AFPM.png?alt=media&#x26;token=128d5567-d47b-4825-8e2f-413f06111835" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
React to changes in ad state. For example, mute the game sound when `opened` and unmute when `closed` and `failed`.
{% endhint %}

#### <img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2F9BooaofCI33U9Np5oeif%2FFrame%203%20(1).png?alt=media&#x26;token=0750b56a-a069-4759-bda9-29951f06cd30" alt="" data-size="line"> **Show Interstitial** <a href="#show-interstitial" id="show-interstitial"></a>

Display an interstitial ad at appropriate moments, such as during level transitions or game over screens.

<figure><img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2Fm8EoZ5bnLR4T2FTMbs50%2FScreenshot%202025-07-11%20at%204.53.24%E2%80%AFPM.png?alt=media&#x26;token=dbfd061b-2061-444a-9369-92e0df442376" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Do not call `show interstitial` method at the start of the game. On platforms where this is allowed, the ad will be shown automatically.
{% endhint %}
