VPAID-width-height-missing
VPAID <MediaFile> missing width or height attribute
WarningAttributesIAB VPAID 2.0 §3.1, VAST 2.0 §3.9
A VPAID is missing the or attribute (or both). VPAID 2.0 requires these attributes so the player knows how much space to allocate for the ad unit before it initialises. Without them, players may render the unit at the wrong size, behind other elements, or not at all. This is separate from the deprecation issue — it is a spec violation on any VAST version.
How to fix
Add width and height attributes to the VPAID <MediaFile> element matching the intended ad unit dimensions in pixels.
Invalid
<MediaFile delivery="progressive" type="application/javascript"
apiFramework="VPAID">
<![CDATA[https://example.com/vpaid.js]]>
</MediaFile>Valid
<MediaFile delivery="progressive" type="application/javascript"
apiFramework="VPAID" width="1280" height="720">
<![CDATA[https://example.com/vpaid.js]]>
</MediaFile>Check your VAST tag for
VPAID-width-height-missing and other issues instantly.Validate a tag →