vastlint

VAST-2.0-mediafile-type

<MediaFile> must have a type attribute

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

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.

How to fix

Add type="video/mp4" (or the correct MIME type for the video) to <MediaFile>.

Check your VAST tag for VAST-2.0-mediafile-type and other issues instantly.Validate a tag →