Creates blocked site targeting rules for the specified banner.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/targeting/site/create.do
Creates blocked site targeting rules for the specified banner. Accepts a comma-separated list of site IDs to block or include. Requires BLOCKED_SITES targeting permission. A created target also switches the entity's targeting on, since targets take effect only while it is on. The answer lists the ids targeted now in 'created' and the ones that already were in 'alreadyTargeted'; an unknown or deleted id is refused and nothing is created.
Path Params
bannerIdintegerrequired
Unique numeric ID of the banner
7890
Form Params
siteIdstringrequired
Comma-separated list of site IDs to target (e.g., '123,456,789')
201,202,203
rulestringrequired
Targeting rule type — INCLUDE for whitelist or EXCLUDE for blacklist