Content Targeting URL
Set Global 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.
setContentTargetingUrl(targetingUrl: String)
Usage
AATKit.setContentTargetingUrl("https://www.gravite.net");
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.setContentTargetingUrl("https://www.gravite.net");
Passing Multiple Values
In addition to single content targeting URL, AATKit supports passing a multi-content URL. Please note that if multi-content URL is used, the single content targeting URL will no longer be passed.
Usage
placement.setMultiContentTargetingUrls(listOfUrls);
where listOfUrls
is a List<String>
type.
Last updated