Browse the help center

Add a custom parameter

Registers a parameter the ad tags send.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/custom-parameters.do

Registers a parameter the ad tags send. name is needed. Invalid values come back per field in errors; fields that were sent but not applied are listed in 'ignoredFields'. Ad serving reads the change within a minute. Requires the CUSTOM_PARAMETERS admin permission (Admin → Targeting presets → Custom parameters).

Body

A JSON body. An example, built from the field definitions:

{
  "name": "genre",
  "label": "Content genre",
  "description": "Genre of the page, from the publisher's CMS",
  "valueMode": "STATIC"
}

Responses

200

{parameter, ignoredFields}

400

Invalid body, each problem named in errors by field

401

Authentication error

403

Insufficient permissions, naming the missing one

409

A parameter with this name already exists

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.