User Targeting

Pass user targeting information to ad requests

General Information

Some networks support adding additional information to improve the ads for the current app context. In addition to key-value targeting, AATKit supports user targeting, allowing to pass information like:

  • User ID

  • Gender

  • Year of birth

  • List of keywords

Setting the user targeting must be done after initializing AATKit.

Usage

let userTargeting = AATUserTargeting(userId: "USER_ID", gender: .male, yearOfBirth: 1990, keywords: ["keyword1", "keyword2"])
AATSDK.setUserTargeting(userTargeting: userTargeting)
  • The year of birth must be a 4-digit number

  • Each field in AATUserTargeting is optional.

Last updated