showPlacement

Overview

Shows interstitial ad if ad is ready.

Syntax

showPlacement(placementName, callback)

placementName (REQUIRED)

string. Unique name of placement. The same name will be used in addapptr.com account.

callback(REQUIRED)

Callback<Boolean>. Used to provide the function call result to JavaScript.

Parameters:

  • Boolean - True if showing interstitial was successful, false otherwise.

Examples

RNAatkit.showPlacement("Fullscreen", (interstitialShown) => {
                console.log("interstitialShown " + interstitialShown);
            });

Last updated