setTargetingInfoForPlacement

Overview

Sets the targeting information for the given placement. Information provided for placement overrides targeting information for application set by the setTargetingInfo.

Syntax

setTargetingInfoForPlacement(placementName, enabled)

placementName (REQUIRED)

string Unique name of placement. The same name will be used in gravite.net account.

enabled (REQUIRED)

JSON The JSON object containing targeting information.

Examples

AATKitCordova.setTargetingInfoForPlacement(
    "placementName",
    {
        "one" : ["a","b"], 
        "three" : ["c","d","e"]
    }
);

Last updated