vastlint

VAST-2.0-text-only-element

Text-only element contains a child element

ErrorSchemaIAB VAST 2.0 §2VAST 2.0 and later (all versions)

Elements like `<AdTitle>`, `<AdSystem>`, `<Duration>`, and `<Impression>` are defined in the VAST schema as text-only (they may only contain text or CDATA, not child elements). A child element inside one is a schema violation.

How to fix

Remove the child element — text-only elements such as <AdTitle>, <Duration>, and <Impression> accept only text or CDATA content.

Check your VAST tag for VAST-2.0-text-only-element and other issues instantly.Validate a tag →