vastlint
VAST-3.0-icon-attrs

VAST icons need size and position attributes

Icon missing recommended attributes (program/width/height/position)

WarningAmbiguousIAB VAST 3.0 §2.4.5VAST 3.0, 4.0, 4.1, 4.2, and 4.3

Short answer

If your <Icon> is missing program, width, height, or xPosition and yPosition, players can render it inconsistently or ignore it entirely.

While `<Icon>` has some individually required attributes, the combination of `program`, `width`, `height`, and `xPosition`/`yPosition` together defines a complete, renderable icon. Missing any of these will produce unpredictable rendering.

Why this matters in production

This rule is a strong risk signal. Tags with this issue often still parse, but they become brittle across SDKs, SSAI resolvers, and CTV environments. Ambiguous rules matter because undefined behavior shifts between vendors. Fixing them reduces the chance that two standards-compliant systems interpret the same tag differently. Affected scope: VAST 3.0, 4.0, 4.1, 4.2, and 4.3.

How to fix

Add program, width, height, xPosition, and yPosition attributes to <Icon> for reliable rendering across all players.

Invalid

<Icon duration="00:00:05" offset="00:00:10">
  <StaticResource creativeType="image/png">
    <![CDATA[https://cdn.example.com/adchoices.png]]>
  </StaticResource>
</Icon>

Valid

<Icon program="AdChoices" width="50" height="20" xPosition="right" yPosition="top" duration="00:00:05" offset="00:00:10">
  <StaticResource creativeType="image/png">
    <![CDATA[https://cdn.example.com/adchoices.png]]>
  </StaticResource>
</Icon>
Check your VAST tag for VAST-3.0-icon-attrs and other issues instantly.Validate a tag →