VAST Error 204: Ad category required but not provided
The ad request required category metadata and the response's <Category> element was missing — the ad is rejected for lack of classification.
VAST 4.1 introduced ad categories so publishers can enforce content rules (no alcohol, no gambling) and avoid competitive separation conflicts inside pods. When the request demands categories, an ad arriving without a <Category> element is rejected with 204.
This is a compliance rejection: the creative might be completely acceptable, but without a declared category the player can't prove it, so it refuses to run it.
Why error 204 happens
Demand source doesn't populate <Category>
Many DSPs still omit category metadata. Their ads clear auctions but get rejected at the player when the publisher requires categories.
Wrapper strips category data
An intermediary re-wraps the ad and drops the <Category> element from the inline ad it forwards.
Publisher enabled category enforcement recently
Turning on required categories instantly rejects all uncategorized demand — a sudden spike in 204 after a config change is this.
How to fix VAST error 204
- 1
Confirm the inline ad carries <Category> with an authority
Resolve the chain and inspect the final inline ad. The element must include the authority attribute (usually the IAB content taxonomy) plus the category code.
- 2
Ask the demand partner to declare categories
If the DSP can't populate categories, the demand simply isn't eligible for category-enforcing supply — escalate or exclude it.
- 3
Audit wrappers for metadata loss
Compare the categories on the original ad with what arrives after each wrapper hop to find which intermediary drops them.
Seeing error 204 on a live tag?
Paste the tag URL or XML — the validator resolves the full wrapper chain, validates the schema, downloads every media file, and shows exactly which stage fails.
Validate your VAST tagVAST error 204 — frequently asked questions
Which taxonomy do VAST categories use?+
The authority attribute names the taxonomy — most commonly the IAB Content Taxonomy. The player just matches codes; both sides must use the same authority for enforcement to work.
Should I require categories on my inventory?+
Only if your demand mix declares them. Requiring categories on supply where most demand is uncategorized trades brand-safety enforcement for a large chunk of fill.