Browse the help center

Add third-party VAST tracking events — placement

Adds one or more third-party tracking event pixels to the specified entity.

Reference
PUT https://YOUR-NETWORK-DOMAIN/rest-api/placement/{id}/vast/tracking-events.do

Adds one or more third-party tracking event pixels to the specified entity. Each event in the request body JSON array must specify a 'type' (CLICK, IMPRESSION, or EVENT), a valid 'url' to fire, and for EVENT type a 'vastEvent' name (e.g., AD_MUTE). URLs are validated before saving; invalid URLs cause a 400 error. The event list must not be empty. The caller must have update permissions on the entity. Returns a JSON object with a 'success' boolean.

Path Params

id integer required

The unique numeric identifier of the entity to add third-party tracking events to

5001

Body

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

[
  {
    "id": "12345",
    "url": "https://tracker.example.com/vast?event=impression&cb=[CACHEBUSTER]",
    "type": "EVENT",
    "vastEvent": "AD_START"
  }
]

Responses

200

Third-party tracking events added successfully

400

Invalid URL, event type, or empty event list

401

Authentication error

403

Not enough permissions

404

The entity does not exist or is deleted

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.