vastlint

VAST-4.0-wrapper-root-error

<VAST> root contains both <Ad> and <Error> elements (invalid per VAST 4.0)

WarningRequired fieldsIAB VAST 4.0 §2.1VAST 4.0, 4.1, 4.2, and 4.3

In VAST 4.0 and later, the `<VAST>` root must contain either `<Ad>` elements **or** a single `<Error>` element — not both. Mixing them violates the schema choice and may confuse players.

How to fix

Remove either all <Ad> elements or the <Error> element so only one type exists under <VAST>.

Check your VAST tag for VAST-4.0-wrapper-root-error and other issues instantly.Validate a tag →