Browse the help center

Add labels to placement

Adds one or more labels to an existing placement identified by its numeric ID.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/placements/labels/add.do

Adds one or more labels to an existing placement identified by its numeric ID. Labels that do not yet exist in the system are created when the requester holds the Create Labels permission. The response includes the placement ID and the complete set of labels currently assigned to it. The requester needs the Placement Labels permission and UPDATE permission on the parent site's inventory, otherwise the call answers {"success":false,"errors":{"permission_denied":...}} and nothing is created. To change labels of many placements at once, or to replace or remove labels, use POST /rest-api/placements/labels.do.

Form Params

placementId integer required

Unique numeric ID of the placement to add labels to

4001

labels array<string> required

List of label names to add to the placement

premium

Responses

200

Labels added successfully

400

A label does not exist and the requester may not create labels

401

Authentication error

403

Forbidden — insufficient permissions

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.