Browse the help center

Create placement blocked advertiser targeting

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

placementId integer required

Unique numeric ID of the placement

4001

Form Params

advertiserIds string required

Comma-separated list of advertiser IDs to block (e.g., '123,456,789')

123,456,789

rule string required

Targeting rule type — INCLUDE for whitelist or EXCLUDE for blacklist

INCLUDE

Responses

200

{success, created, alreadyTargeted}

400

An unknown or deleted id

401

Unauthorized

403

Forbidden

404

Placement or advertiser not found

500

Internal server error

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.