VAST Tag Tester & Validator
Paste a VAST tag address or its XML. The tester follows every wrapper, checks each step against the VAST specification and plays the ad in Fluid Player, with every event it reports.
Ad
Paste a VAST tag above and click Test tag.
- Version
- –
- Ad
- –
- Ad server
- –
- Wrappers
- –
- Duration
- –
- Skip
- –
- Media files
- –
- Tracking URLs
- –
- Load time
- –
Problems in the ad that plays, with the VAST error code a player would report.
- Results appear here after a test.
What Fluid Player reports while the ad plays; click one to see its tracking addresses (never sent).
- Events show here when the ad plays.
Every request from your tag to the ad: each wrapper points to the next step.
- Results appear here after a test.
The ad breaks of the VMAP playlist and when each one plays.
- Results appear here after a test.
Every video file of the ad; the highlighted one is the file Fluid Player plays.
| File | Format | Picture | Length | Status |
|---|---|---|---|---|
| Results appear here after a test. | ||||
Every tracking address of the chain, by event, with the step it comes from.
| Event | Addresses |
|---|---|
| Results appear here after a test. | |
Placeholders in [brackets] that the player fills in before sending an address.
Results appear here after a test.
Companion banners, icons, verification scripts and other extras in the ad.
- Results appear here after a test.
Each step as received, tidied up and shown as plain text.
Results appear here after a test.
Play this tag with Fluid Player
Copy this code into your page. Fluid Player follows the wrappers and sends the tracking itself.
Fluid Player has no VMAP support: this code lists the playlist's breaks as Fluid Player ad rolls. Breaks with the ad written inside the playlist, at a percentage or at a cue point are left out.
<script src="https://cdn.fluidplayer.com/v3/current/fluidplayer.min.js"></script>
<video id="video-id">
<source src="https://www.example.com/your-video.mp4" type="video/mp4" />
</video>
<script>
var myFP = fluidPlayer('video-id', {
layoutControls: {
fillToContainer: true
},
vastOptions: {
adList: [
AD_LIST
]
}
});
</script>Needs HTTPS and CORS headers from every ad server in the chain. All options: VAST in Fluid Player (opens in a new tab).
How to test a VAST tag
Paste the tag
Copy the VAST tag address from your ad server or ad network (or the VAST XML itself) and click Test tag. VMAP playlists work too.
Read the result
Every wrapper is followed and checked, step by step. Problems come in plain words, with the VAST error code a player would report.
Watch it play
The ad plays in Fluid Player and each event it reports shows up as it happens: impression, quartiles, clicks, skip. Tracking is listed, never sent.
What the tester checks
The checks follow the IAB VAST 2.0 to 4.3 and VMAP 1.0 specifications, plus what players actually do with them.
The request
Whether each ad server answers, how fast, and why it doesn’t: CORS, HTTP errors, timeouts,
http://addresses onhttps://pages, web pages or JSON instead of VAST.The XML
Broken XML with its line and column, missing required elements (
AdSystem,AdTitle,Impression,Duration,MediaFiles…), times and offsets in the wrong format, misspelled events.Wrappers
Every step of the chain with its ad server, chains longer than players follow, loops,
followAdditionalWrappers,allowMultipleAds, and empty answers (error 303).Media files
Type, codec, size, bitrate, whether this browser plays each one, its real picture size and length, and which one Fluid Player picks.
Tracking and macros
Every tracking address of the chain by event, standard and non-standard macros, ad-server macros left unfilled, error addresses without
[ERRORCODE].VAST 4 and more
UniversalAdId,AdServingId, ad pods, companions, icons, Open Measurement verification, SIMID and VPAID files (listed, never run).
Fix CORS on your ad server
A web player requests the VAST with JavaScript, so the browser only hands over the answer if the ad server says the page’s site may read it. Every server of the wrapper chain must send these headers on its VAST answers.
Access-Control-Allow-Origin: https://www.example.com
Access-Control-Allow-Credentials: true
Vary: Origin- Echo the page’s origin (the request’s
Originheader), not*: Fluid Player requests VAST with cookies (credentials), and browsers refuse*together with credentials. - This tester sends no cookies, so a server answering
*passes here and still fails in Fluid Player: check the header itself (curl -sI -H "Origin: https://www.example.com" <tag address>). Vary: Originstops a CDN from serving one site’s answer to another.- Media files don’t need CORS to play in a
<video>tag, but tracking pixels and VAST answers do.
VAST error codes
When an ad fails, the player calls the tag's error address with a code. The ones you'll meet most:
VAST tag not playing?
- Every ad server in the chain sends
Access-Control-Allow-Origin(the tester names the one that doesn’t). - Everything is on
https://: the tag, every wrapper, the media files and the tracking. - There’s an H.264 MP4 media file with
type="video/mp4". - The chain has no more wrappers than your player follows (3 in Fluid Player by default).
- The campaign targets where you test from: an empty answer (303) usually means no campaign matched.
- Ad-server macros (
%%CACHEBUSTER%%,${…}) were replaced before the tag reached the player.
Questions
Is my tag sent to you?
#, a part of the link that browsers never send to a server. The tester sends no cookies.Does testing count impressions or clicks?
Why does my tag return no ad (error 303)?
Why does my tag work in Google's IMA inspector but not here?
What does the CORS error mean?
Access-Control-Allow-Origin (see Fix CORS above). A player on your own site meets the same error, so it’s worth fixing. With Fluid Player, the header must name your site’s origin and come with Access-Control-Allow-Credentials: true: Fluid Player sends cookies with VAST requests, and * doesn’t work with cookies.Can I test VPAID or SIMID ads?
Does it test VMAP?
Which VAST versions does it support?
UniversalAdId is required from VAST 4.0, AdServingId from 4.1.How do I play this tag on my site?
More free tools
SRT to VTT Converter
Convert SRT subtitles to WebVTT for HTML5 video. Fixes broken accents, checks for errors and previews the result in Fluid Player.
VTT to SRT Converter
Convert WebVTT subtitles to SRT for YouTube, video editors and media players. Keeps positions, checks for errors and previews the result.
HLS & DASH Stream Tester
Play an .m3u8 or .mpd stream, check its quality levels and codecs, and find out why it doesn't play, CORS errors included.
Player Builder
Set up Fluid Player visually, with video ads, subtitles and your colors, and copy ready-to-use code.