Browse the help center

Create or update zone

Creates a new zone or updates an existing one under a publisher site.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/zones/update.do

Creates a new zone or updates an existing one under a publisher site. To update, provide the zone's numeric ID; to create, omit the ID. The zone name is mandatory, while description is optional. For new zones, a valid siteId is required to specify which site the zone belongs to, and the caller needs INVENTORY CREATE; on an update, a different siteId moves the zone and needs UPDATE on both the site it leaves and the site it joins; its placements keep their keys, so their published ad tags keep working. If the user has the MANAGE_ZONES_ACTIVE_STATUS permission, the zone's active status can also be toggled. Activation and deactivation events are logged separately. Parameters that were sent but not applied are listed in 'ignoredFields', each with its reason in 'ignoredFieldReasons'.

Form Params

id integer

ID of the zone to update — omit (or 0) to create a new zone

3001

siteId integer

ID of the site the zone belongs to — needed when creating; on update, moves the zone to this site

2001

active boolean

Whether the zone is active

true

description string

Zone description

Groups all content-area placements

enableRules boolean

Whether rule-based optimization is enabled for this zone

false

enableTargeting boolean

Enable pretargeting rules for this zone

true

name string

Zone name

Main Content Zone

operationBetweenRuleTypes string

Logical operator between different targeting rule types (AND, OR)

AND

Responses

200

Zone created or updated successfully

400

Bad request — invalid or missing parameters

401

Authentication error

403

Insufficient privileges to manage zones

404

Associated site not found

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.