Browse the help center

Get zone targeting rules

Returns all targeting rules configured for the specified zone as a JSON array.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/zone/{zoneId}/targetings.do

Returns all targeting rules configured for the specified zone as a JSON array. Each element contains the targeting type, rule (INCLUDE/EXCLUDE), and value. Requires UPDATE permission on the zone's site inventory and MANAGE_SUPPLY_PRE_TARGETING user permission.

Path Params

zoneId integer required

Unique numeric ID of the zone

200

Responses

200

Success

400

Bad request — invalid or missing parameters

401

Unauthorized

403

Forbidden

404

Zone 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.