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 gravite.net 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

AATKitCordova.showPlacement("Fullscreen", function(interstitialShown) {console.log("interstitialShown " + interstitialShown);});

Last updated