Skip to content

Validate VAST XML - V3

Request

Validates the provided VAST XML content and returns any errors or warnings.

Bodytext/plain

VAST XML content to validate

string
curl -i -X POST \
  https://api.mediamath.com/v3.0/creatives/validateVAST \
  -H 'Content-Type: text/plain' \
  -d string

Responses

VAST validation result

Bodyapplication/json
errorstring

VAST validation error message, omitted if no errors present

warningsArray of strings, unique

A set of VAST validation warnings

Response
{ "error": "string", "warnings": [ "string" ] }