vastlint

VAST-2.0-mediafile-dimensions

<MediaFile> must have width and height attributes

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

Width and height are required on `<MediaFile>` so players can select the most appropriate rendition for the current viewport without downloading every candidate.

How to fix

Add width and height attributes to <MediaFile> with the pixel dimensions of the video, e.g. width="1280" height="720".

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