Explain a VAST tag with an annotated HTML report
Run vastlint explain when someone sends you a tag and you need to understand what it asks the player to do. It produces one HTML file you can open in a browser and pass to the engineer or ad ops team reviewing the creative.
Generate your first report
Install VASTlint CLI 0.19.0 or later. Run these commands in an empty directory to try the public pause ad sample.
curl -fsSLO https://vastlint.org/samples/vast-4.2-pause.xml
vastlint explain vast-4.2-pause.xml -o report.htmlOpen report.html in your browser. To review your own tag, replace vast-4.2-pause.xml with the path to your XML file.
Walk through a pause ad
Open the example report generated from this sample VAST XML. Its still image is embedded so you can try the preview immediately.
- In Annotated XML, expand
StaticResourceto see which image the tag supplies. ExpandTracking event="creativeView"to find the declared beacon and the guide to when it fires. - In Trafficking, open Compare with the partner booking. This tag declares
plcmt=5(pause) andpos=7(fullscreen). Select the values on the insertion order to check whether they match. - Use Partner handoff to copy a brief for the publisher. The report shows the creative’s declarations. The publisher can confirm how its player handles them.
Embed the image for offline review
To include a preview for offline review, map the exact media URL in the XML to a local file. Save the sample XML and its pause image in the same directory to reproduce the example.
vastlint explain vast-4.2-pause.xml --embed-asset https://vastlint.org/samples/demo-pause.jpg demo-pause.jpg -o embedded-report.htmlShare the report with a partner
The HTML includes the full input XML and any assets you embed. Check the tag for private URLs, tokens, or client identifiers before sharing it. Generating the report works offline. A remote asset is requested when you choose to load it. Reading links open a public topic on vastlint.org and carry only the topic name.
The QA player previews declared media and leaves tracking beacons and SIMID code inert. For a live wrapper chain, use the VAST Wrapper Inspector. To make validation errors fail a build, use vastlint check as described in the CI guide.