Browse the help center

Update a custom parameter

Changes only the fields in the body and keeps the others; {"listSeparator": null} makes the value single again.

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

Changes only the fields in the body and keeps the others; {"listSeparator": null} makes the value single again. A built-in parameter keeps its name. A rename does not change the targeting rules that read the old name: they keep reading it, unregistered. Ad serving reads the change within a minute. Requires the CUSTOM_PARAMETERS admin permission (Admin → Targeting presets → Custom parameters).

Path Params

parameterId string required

Parameter id or name

genre

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

404

No parameter with this id or name

409

Another parameter already has this name

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.