Browse the help center

Update banner custom parameters

Replaces the custom key-value parameters for the specified banner.

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

Replaces the custom key-value parameters for the specified banner. The request body is a JSON array of objects with optional 'id' (for existing parameters), 'name', and 'value' fields. Omitting 'id' creates a new parameter; the banner's parameters the array leaves out are deleted. An id that is not one of this banner's parameters, or an entry without name or value, is refused with 400 and nothing changes; so is a banner that is not native (EXTERNAL_NATIVE or LOCAL_NATIVE), where the parameters would do nothing. Requires UPDATE permission on the banner's advertiser.

Path Params

bannerId integer required

ID of the banner to update custom parameters for

3001

Body

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

[
  {
    "id": "0",
    "name": "headline",
    "value": "Buy Now — 50% Off!"
  }
]

Responses

200

Custom parameters updated successfully

400

Wrong request format, an invalid entry, or an id that is not one of the banner's parameters

401

Authentication error

403

Not enough permissions

404

Not found — resource does not exist

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.