コンテンツにスキップ

インタースティシャル広告

インタースティシャル広告は、アプリのインターフェイスを一時的に覆う、フル画面またはフルページ広告です。 この広告は、一般的に、ゲームのレベル完了後や主要な画面間の遷移時など、アプリ内の自然な区切りや遷移ポイントで表示されます。

次のセクションでは、インタースティシャル広告をロードし、表示する方法について説明します。

インタースティシャル広告をロード

以下のコードは、デリゲートにバインドして最初のインタースティシャル広告をロードする方法を示しています。

Initialize Interstitial Ads. Custom Event. Interstitial ad is ready to be shown. “Is Interstitial Ready” will return true. On Interstitial Ad Loaded Dynamic Delegate (AppLovinMAXDelegate): Ad Info. Reset retry attempts. SET. Retry Attempt: 0.0. On Interstitial Ad Load Failed Dynamic Delegate (AppLovinMAXDelegate): Ad Info, Ad Error. Retry Attempt. ++. MIN: 6.0, Add pin +. Power: Base 2.0, Exp, Return Value. Delay: Duration, Completed. If interstitial ad fails to load, retry with exponentially higher delays up to a maximum delay (in this case 64 seconds). Interstitial ad failed to display. AppLovin recommends loading the next ad. On Interstitial Ad Display Failed Dynamic Delegate (AppLovinMAXDelegate): Ad Info, Ad Error. Interstitial ad is hidden. Pre-load the next ad. On Interstitial Ad Hidden Dynamic Delegate (AppLovinMAXDelegate): Ad Info. Ad Unit Identifier. Load Interstitial: Ad Unit Identifier.

インタースティシャル広告を表示

インタースティシャル広告を表示するには、ShowInterstitial()を呼び出します。

Ad Unit Identifier. Is Interstitial Ready: Ad Unit Identifier, Return Value. Branch: Condition, True/False. Show Interstitial: Ad Unit Identifier, Placement.