setUserTargeting

Overview

Sets the user targeting information for the application.

Syntax

setUserTargeting(userTargeting)

userTargeting (REQUIRED)

The JSON object containing targeting information.

  • string userId

  • string gender – takes values male, female, other

  • number yearOfBirth

  • string keywords

Examples

AATKitCordova.setUserTargeting({
    "userId": "ABCDEFGH12345678",
    "gender": "female",
    "yearOfBirth": 1993,
    "keywords": ["key1", "key2", "key3"]
});

Last updated