vastlint
VAST-2.0-text-only-element

VAST-2.0-text-only-element

Text-only element contains a child element

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

Short answer

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.

Why this matters in production

This rule is usually a delivery blocker. Many players, SDKs, and ad servers will discard the response or skip the affected creative once this condition is hit. Schema violations tend to create parser disagreement. One system may recover while another drops the tag entirely, which is why these bugs often show up as environment-specific fill loss. Affected scope: VAST 2.0 and later (all versions).

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 →