Wiki

Clone wiki

REACT native plugin / setTargetingInfo

Overview

Sets the targeting information for the application. This information will be used only if no placement-specific targeting is available. Note: This function doesn't affect in-feed banner ads. For in-feed banner placement, please use setTargetingInfoForInFeedBannerPlacement function.

Syntax

setTargetingInfo(info)
info(required)

The JSON object containing targeting information.

Examples

#!javascript

RNAatkit.setTargetingInfo({
        "abc" : [
            "123",
            "456",
            "789"
        ],
        "def" : [
            "xyz",
            "zyx"
        ]
    }
);

Updated