Creates blocked advertiser targeting rules for the specified placement.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/placement/{placementId}/targeting/advertiser/create.do
Creates blocked advertiser targeting rules for the specified placement. Multiple advertiser IDs can be provided as a comma-separated string. The placement must not be deleted. Each advertiser must exist, not be deleted, and the user must have UPDATE permission on it (an UPDATE share, or campaign UPDATE at ALL level). 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
placementIdintegerrequired
Unique numeric ID of the placement
4001
Form Params
advertiserIdsstringrequired
Comma-separated list of advertiser IDs to block (e.g., '123,456,789')
123,456,789
rulestringrequired
Targeting rule type — INCLUDE for whitelist or EXCLUDE for blacklist