Content Targeting URL
Set the content targeting URL for all following ad requests, unless you have set a content targeting URL for a specific placement before.
static func setContentTargetingUrl(targetingUrl: String)
Usage
AATSDK.setContentTargetingUrl(targetingUrl: "http://www.gravite.com")
Set Placement Specific Content Targeting URL
Set the content targeting URL for a specific placement for all following ad requests. The general setting of the content targeting URL will be overwritten for this placement.
Usage
placement.contentTargetingUrl = "http://www.gravite.com"
Passing Multiple Values
In addition to a single content-targeting URL, AATKit supports passing a multi-content URL. Please note that if a multi-content URL is used, the single content targeting URL will no longer be passed.
placement.multiContentTargetingUrls = ["URL1", "URL2"]
Last updated