vastlint
VAST-2.0-root-version

VAST-2.0-root-version

<VAST> must have a version attribute

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

Short answer

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

Why this matters in production

This rule is usually a delivery blocker. Many players, SDKs, and ad servers will discard the response or skip the affected creative once this condition is hit. Required-field failures usually stop validation early because the platform cannot determine the basic shape of the ad, the creative metadata, or the mandatory tracking payload. Affected scope: VAST 2.0 and later (all versions).

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 →