Browse the help center

VAST API endpoints

Endpoint reference for the VAST tag (24 endpoints): VAST video ad configuration — tracking events, progress events, and third-party pixels

Reference network manager admin

VAST video ad configuration — tracking events, progress events, and third-party pixels. 24 endpoints, generated from the OpenAPI spec. Authentication, the response envelope, pagination and error codes are shared by all endpoints — see REST API overview. Parameters marked form go in an application/x-www-form-urlencoded request body.

GET /rest-api/banner/{bannerId}/vast/companions.do

Request examples

List a video banner’s VAST companions.

ParameterInTypeRequiredDescription
bannerIdpathintegeryesVideo banner id

Responses: 200 — ‘companions’ lists {id, type, width, height, creativeType, fileName, fileUid, iframeUrl, markup, templateId, templateName} · 404 — The banner does not exist or is deleted. Errors follow the shared conventions.

POST /rest-api/banner/{bannerId}/vast/companions.do

Request examples

Add a VAST companion to a video banner.

ParameterInTypeRequiredDescription
bannerIdpathintegeryesVideo banner id
typeformstringnoCompanion resource type Values: STATIC, HTML_TEMPLATE, HTML_STATIC, IFRAME.
externalCreativeLinkformstringnoImage URL for STATIC, frame URL for IFRAME
markupformstringnoHTML markup for HTML_STATIC
templateIdformintegernoVideo Companion template id for HTML_TEMPLATE
widthformintegerconditionalConditionally required — for IFRAME, HTML_STATIC and HTML_TEMPLATE companions. Width in pixels
heightformintegerconditionalConditionally required — for IFRAME, HTML_STATIC and HTML_TEMPLATE companions. Height in pixels

Responses: 200 — {success:true, id, companions:[…]}; success:false with ‘errors’ naming the missing or invalid field · 404 — The banner does not exist or is deleted. Errors follow the shared conventions.

DELETE /rest-api/banner/{bannerId}/vast/companions/{companionId}.do

Request examples

Delete a VAST companion.

ParameterInTypeRequiredDescription
bannerIdpathintegeryesVideo banner id
companionIdpathintegeryesCompanion id

Responses: 200 — The banner’s remaining companions · 404 — The banner does not exist, or the companion is not one of its companions. Errors follow the shared conventions.

GET /rest-api/banner/{bannerId}/vast/media-files.do

Request examples

List an Advanced Local Video(s) banner’s video files.

ParameterInTypeRequiredDescription
bannerIdpathintegeryesAdvanced Local Video(s) banner id

Responses: 200 — {bannerId, total, mediaFiles:[{id, fileName, width, height, bitrate, duration, contentType, mediaAssetId, url}]} · 404 — The banner does not exist or is deleted. Errors follow the shared conventions.

POST /rest-api/banner/{bannerId}/vast/media-files.do

Request examples

Upload a video file to an Advanced Local Video(s) banner.

ParameterInTypeRequiredDescription
bannerIdpathintegeryesAdvanced Local Video(s) banner id
urlformstringnoPublic http(s) link to the video; used when no file is sent
scaleToformarray<string>noRenditions to store where the network compresses video creatives Values: ORIGINAL, _1080P, _720P, _480P, _360P, _320P, _240P.

Request body (multipart/form-data): form with field file — The video, as a multipart file; or send url instead.

Responses: 200 — {bannerId, created:[ids], total, mediaFiles:[…]}; a rendition that failed while others were stored is named in ‘msg’ · 404 — The banner does not exist or is deleted. Errors follow the shared conventions.

DELETE /rest-api/banner/{bannerId}/vast/media-files/{mediaFileId}.do

Request examples

Delete a video file of an Advanced Local Video(s) banner.

ParameterInTypeRequiredDescription
bannerIdpathintegeryesAdvanced Local Video(s) banner id
mediaFileIdpathintegeryesVideo file id

Responses: 200 — The banner’s remaining video files · 404 — The banner does not exist, or the file is not one of its video files. Errors follow the shared conventions.

POST /rest-api/banner/{bannerId}/vast/media-files/from-library.do

Request examples

Add a media library video to an Advanced Local Video(s) banner.

ParameterInTypeRequiredDescription
bannerIdpathintegeryesAdvanced Local Video(s) banner id
mediaAssetIdformintegeryesMedia library video id

Responses: 200 — {bannerId, created:[id], alreadyAdded, total, mediaFiles:[…]} · 404 — The banner, or the library file, does not exist or is not visible. Errors follow the shared conventions.

GET /rest-api/banner/{id}/vast/events.do

Request examples

Get VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to retrieve VAST events for

Responses: 200 — List of VAST tracking events with enabled status · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

POST /rest-api/banner/{id}/vast/events.do

Request examples

Update VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to update VAST events for

Request body (application/json, required): JSON array of string values.

Responses: 200 — VAST tracking events updated successfully · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

GET /rest-api/banner/{id}/vast/progress-events.do

Request examples

Get VAST progress events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to retrieve progress events for

Responses: 200 — List of VAST progress events · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

PUT /rest-api/banner/{id}/vast/progress-events.do

Request examples

Add VAST progress events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to add progress events to

Request body (application/json, required): JSON array; each element a JSON object with fields actionId, id, time.

Responses: 200 — VAST progress events added successfully · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

DELETE /rest-api/banner/{id}/vast/progress-events.do

Request examples

Delete VAST progress events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to delete progress events from

Request body (application/json, required): JSON array of integer values.

Responses: 200 — VAST progress events deleted successfully · 404 — One of the ids is not a progress event of this entity; the message names it and nothing is deleted. Errors follow the shared conventions.

GET /rest-api/banner/{id}/vast/tracking-events.do

Request examples

Get third-party VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to retrieve third-party tracking events for

Responses: 200 — List of third-party tracking events · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

PUT /rest-api/banner/{id}/vast/tracking-events.do

Request examples

Add third-party VAST tracking events.

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

Request body (application/json, required): JSON array; each element a JSON object with fields id, type, url, vastEvent.

Responses: 200 — Third-party tracking events added successfully · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

DELETE /rest-api/banner/{id}/vast/tracking-events.do

Request examples

Delete third-party VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to delete third-party tracking events from

Request body (application/json, required): JSON array of integer values.

Responses: 200 — Third-party tracking events deleted successfully · 404 — One of the ids is not a tracking event of this entity; the message names it and nothing is deleted. Errors follow the shared conventions.

GET /rest-api/placement/{id}/vast/events.do

Request examples

Get VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to retrieve VAST events for

Responses: 200 — List of VAST tracking events with enabled status · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

POST /rest-api/placement/{id}/vast/events.do

Request examples

Update VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to update VAST events for

Request body (application/json, required): JSON array of string values.

Responses: 200 — VAST tracking events updated successfully · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

GET /rest-api/placement/{id}/vast/progress-events.do

Request examples

Get VAST progress events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to retrieve progress events for

Responses: 200 — List of VAST progress events · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

PUT /rest-api/placement/{id}/vast/progress-events.do

Request examples

Add VAST progress events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to add progress events to

Request body (application/json, required): JSON array; each element a JSON object with fields actionId, id, time.

Responses: 200 — VAST progress events added successfully · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

DELETE /rest-api/placement/{id}/vast/progress-events.do

Request examples

Delete VAST progress events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to delete progress events from

Request body (application/json, required): JSON array of integer values.

Responses: 200 — VAST progress events deleted successfully · 404 — One of the ids is not a progress event of this entity; the message names it and nothing is deleted. Errors follow the shared conventions.

GET /rest-api/placement/{id}/vast/tracking-events.do

Request examples

Get third-party VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to retrieve third-party tracking events for

Responses: 200 — List of third-party tracking events · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

PUT /rest-api/placement/{id}/vast/tracking-events.do

Request examples

Add third-party VAST tracking events.

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

Request body (application/json, required): JSON array; each element a JSON object with fields id, type, url, vastEvent.

Responses: 200 — Third-party tracking events added successfully · 404 — The entity does not exist or is deleted. Errors follow the shared conventions.

DELETE /rest-api/placement/{id}/vast/tracking-events.do

Request examples

Delete third-party VAST tracking events.

ParameterInTypeRequiredDescription
idpathintegeryesThe unique numeric identifier of the entity to delete third-party tracking events from

Request body (application/json, required): JSON array of integer values.

Responses: 200 — Third-party tracking events deleted successfully · 404 — One of the ids is not a tracking event of this entity; the message names it and nothing is deleted. Errors follow the shared conventions.

GET /rest-api/vpaid/framework/list.do

Request examples

Get active VPAID frameworks.

No parameters beyond authentication.

Responses: 200 — List of active VPAID frameworks · 204 — No active VPAID frameworks found. Errors follow the shared conventions.

Related pages

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.