SASAdPlacement

constructor(siteId: Long, pageId: Long, formatId: Long, keywordTargeting: String? = null)

Parameters

siteId

The site id that should be used when loading an ad.

pageId

The page id that should be used when loading an ad.

formatId

The format id that should be used when loading an ad.

keywordTargeting

A set of keywords that will be used when loading an ad to receive more relevant advertising.

Keywords are typically used to target inventory in a very granular way. They should be formatted as semicolon-separated key-value pairs (e.g. “gender=female;age=27”).