vastlint

VAST-2.0-companion-resource

<Companion> must contain at least one StaticResource, IFrameResource, or HTMLResource

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

A `<Companion>` element must carry at least one resource that can actually be rendered: `<StaticResource>`, `<IFrameResource>`, or `<HTMLResource>`. An empty companion is not valid.

How to fix

Add <StaticResource>, <IFrameResource>, or <HTMLResource> inside each <Companion> to supply the renderable asset.

Invalid

<Companion width="300" height="250">
  <!-- no resource -->
</Companion>

Valid

<Companion width="300" height="250">
  <StaticResource creativeType="image/png">
    <![CDATA[https://cdn.example.com/companion.png]]>
  </StaticResource>
</Companion>
Check your VAST tag for VAST-2.0-companion-resource and other issues instantly.Validate a tag →