VAST-2.0-mediafile-type
<MediaFile> must have a type attribute
Short answer
The type attribute on <MediaFile> carries the MIME type of the media (e.g., video/mp4). Players use it to determine whether they can decode the file before fetching it.
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 type="video/mp4" (or the correct MIME type for the video) to <MediaFile>.
VAST-2.0-mediafile-type and other issues instantly.Open the VAST tag validator →