vastlint

VAST-2.0-root-version

<VAST> must have a version attribute

ErrorRequired fieldsIAB VAST 2.0 §2.1VAST 2.0 and later (all versions)

The `<VAST>` element must carry a `version` attribute. Without it, players cannot determine which spec version to apply and will usually discard the response.

How to fix

Add a version attribute to the opening <VAST> tag — e.g. <VAST version="4.1">.

Invalid

<VAST>
  <Ad id="1">…</Ad>
</VAST>

Valid

<VAST version="4.1">
  <Ad id="1">…</Ad>
</VAST>
Check your VAST tag for VAST-2.0-root-version and other issues instantly.Validate a tag →