{"slug": "vmap-and-daast-validation-just-landed-in-vastlint-core", "title": "VMAP and DAAST Validation Just Landed in vastlint Core", "summary": "Vastlint, an open-source Rust-based linter for IAB ad tags, now validates VMAP 1.0 and DAAST 1.0 alongside VAST formats. The tool adds 53 new rules to its catalog of 182, catching common failures like invalid time offsets and missing CDATA wrappers. VMAP and DAAST validation is available through the same CLI, library, and MCP server without additional setup.", "body_md": "If you work in video or audio ad serving, you have met VAST: the IAB XML template that tells a player what ad to show and where to fire tracking. But VAST rarely travels alone. It usually arrives wrapped in a schedule (VMAP) or shows up with an audio sibling (DAAST), and those two formats break in production just as often as VAST does, with far less tooling watching them.\n\n[vastlint](https://github.com/aleksUIX/vastlint) is an open-source, Rust-based linter for IAB ad tags. As of 0.5.0 it validates VMAP 1.0 and DAAST 1.0 alongside VAST 2.0 through 4.3, from the same CLI, library, and MCP server. The catalog is now 182 rules, 53 of them new for these two formats.\n\nThere is nothing new to install or wire up. The same `validate()`\n\nentry point that handles a VAST tag now recognises a `<vmap:VMAP>`\n\nor `<DAAST>`\n\nroot and routes the document to the right rule chain:\n\n`timeOffset`\n\n/ `breakType`\n\n/ `repeatAfter`\n\nformats, `<AdSource>`\n\ncontent constraints, CDATA requirements, VMAP tracking events, and conflict detection.`<Category>`\n\n, audio MediaFile attributes, `<AdInteractions>`\n\n, the DAAST tracking event set, audio pricing models, and detection of VAST elements that do not belong.`document_type`\n\nfield`Vast`\n\n, `Vmap`\n\n, or `Daast`\n\n) so you always know which chain ran.Every rule keeps the vastlint contract: a stable ID, a default severity, a spec reference, and a docs page with examples and fix guidance.\n\nVMAP (Video Multiple Ad Playlist) is the IAB standard a content owner uses to describe ad-break structure when they do not control the player. It was published on July 19, 2012 and has had exactly one version since. The mental model: VMAP handles the *where* and *when* of ad placement (pre-roll, mid-rolls at specific offsets, post-roll), and VAST handles the *what* (the creative inside each break).\n\nA VMAP document is a playlist of `<AdBreak>`\n\nelements. Each break carries a `timeOffset`\n\n, a `breakType`\n\n, and an `<AdSource>`\n\nthat either embeds a VAST document inline, points at an ad tag URI, or carries custom data. That flexibility is exactly where it breaks.\n\nHere is a VMAP snippet that looks fine and is not:\n\n```\n<vmap:VMAP xmlns:vmap=\"http://www.iab.net/videosuite/vmap\" version=\"1.0\">\n  <vmap:AdBreak timeOffset=\"15:00\" breakType=\"linear\">\n    <vmap:AdSource id=\"mid-1\">\n      <vmap:AdTagURI templateType=\"vast3\">\n        https://ads.example.com/vast?cb=[CACHEBUSTER]&pos=mid\n      </vmap:AdTagURI>\n    </vmap:AdSource>\n  </vmap:AdBreak>\n</vmap:VMAP>\n```\n\nvastlint reports:\n\n`timeOffset=\"15:00\"`\n\nis not a valid `hh:mm:ss[.mmm]`\n\n, `n%`\n\n, `start`\n\n, `end`\n\n, or `#m`\n\nvalue. The mid-roll will not schedule where you think.`AdTagURI`\n\ncontains an unescaped ampersand and is not inside a CDATA block, so the document stops being well-formed the moment the macro expands.The best part: when an `<AdSource>`\n\nembeds VAST inline, vastlint validates that VAST with the full VAST rule chain and reports issues with `/VMAP/AdBreak[i]/AdSource/VASTAdData`\n\npaths plus document-absolute line and column. A wrapper problem two levels deep points straight at the break it lives in.\n\nCommon VMAP failures vastlint catches:\n\n`timeOffset`\n\nthat silently drops a break.`<AdSource>`\n\nwith more than one payload, or none (the spec requires exactly one of `<VASTAdData>`\n\n, `<AdTagURI>`\n\n, or `<CustomAdData>`\n\n).`AdTagURI`\n\n/ `CustomAdData`\n\nnot wrapped in CDATA.`repeatAfter`\n\nthat has no effect because `timeOffset`\n\nis `start`\n\nor `end`\n\n.DAAST (Digital Audio Ad Serving Template) is the audio counterpart the IAB released for public comment in 2014. It mirrors VAST 3.0 but swaps video assumptions for audio ones: `<Category>`\n\nis required, creatives carry audio MediaFiles, `<VideoClicks>`\n\nbecomes `<AdInteractions>`\n\n, and the tracking event set is audio-specific.\n\nHere is the catch: DAAST 1.0 is formally deprecated. In November 2018 the IAB merged audio support into VAST 4.1 via an optional `adType`\n\nattribute on `<Ad>`\n\n, and the recommendation since then is to serve audio with VAST 4.1 or later.\n\nSo why validate DAAST in 2026? Because the money never stopped and neither did the legacy tags. IAB and PwC put US digital audio ad spend at **$8.4 billion in 2025**, up 10.2% year over year, with podcast revenue alone growing 17.6% to roughly **$2.9 billion**. A market that large still has long-lived DAAST inventory and ad-server templates in circulation. When a DAAST tag shows up, you want to know whether it is clean, a DAAST document with VAST leftovers, or a VAST tag someone mislabeled.\n\nHere is a VAST tag pretending to be DAAST:\n\n```\n<DAAST version=\"1.0\">\n  <Ad id=\"audio-1\">\n    <InLine>\n      <AdTitle>Morning drive spot</AdTitle>\n      <Impression><![CDATA[https://t.example.com/imp]]></Impression>\n      <Creatives>\n        <Creative>\n          <Linear>\n            <Duration>00:00:30</Duration>\n            <MediaFiles>\n              <MediaFile delivery=\"progressive\" type=\"video/mp4\">\n                <![CDATA[https://cdn.example.com/spot.mp4]]>\n              </MediaFile>\n            </MediaFiles>\n            <VideoClicks>\n              <ClickThrough><![CDATA[https://example.com]]></ClickThrough>\n            </VideoClicks>\n          </Linear>\n        </Creative>\n      </Creatives>\n    </InLine>\n  </Ad>\n</DAAST>\n```\n\nvastlint's verdict:\n\n`<Category>`\n\nis required in DAAST and is missing.`video/mp4`\n\non an audio creative.`<VideoClicks>`\n\nis a VAST element; DAAST uses `<AdInteractions>`\n\n. This is the tell that the tag was lifted from a video flow.Other DAAST-specific checks include the `<AudioInteractions>`\n\nto `<AdInteractions>`\n\nrename, audio pricing models (DAAST adds `cpo`\n\nto the usual `cpm`\n\n/ `cpc`\n\n/ `cpe`\n\n/ `cpv`\n\nset, and requires `model`\n\nplus `currency`\n\n), required `<DAASTAdTagURI>`\n\non wrappers, and `[ERRORCODE]`\n\nmacro presence so failed audio impressions are reportable.\n\nAd ops teams do not deal with one format at a time. A single campaign can ship a VMAP schedule whose breaks wrap VAST 4.x creatives, while the audio line item delivers a DAAST tag. Asking people to remember which validator handles which format, and to paste tags into three different web tools, is how broken tags reach production.\n\nPutting all three formats behind one entry point removes that decision. You hand vastlint a document, it tells you what the document is, and it validates it against the right spec with consistent rule IDs and severities. One engine, one report format, three formats covered, and it runs everywhere you already run vastlint:\n\n`validate()`\n\nand branch on `document_type`\n\n; the result shape is identical across formats.`timeOffset`\n\nor a DAAST tag with VAST leftovers never reaches a release.Paste a VMAP playlist or a DAAST audio tag into the validator at [vastlint.org/validate](https://vastlint.org/validate/). It detects the document type and returns every issue with a rule ID, severity, and the exact fix, the same way it does for VAST. vastlint is free and open source: [github.com/aleksUIX/vastlint](https://github.com/aleksUIX/vastlint).", "url": "https://wpnews.pro/news/vmap-and-daast-validation-just-landed-in-vastlint-core", "canonical_source": "https://dev.to/aleksuix/vmap-and-daast-validation-just-landed-in-vastlint-core-1fcj", "published_at": "2026-06-14 03:01:14+00:00", "updated_at": "2026-06-14 03:28:59.598095+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["vastlint", "IAB", "VMAP", "DAAST", "VAST", "Rust"], "alternates": {"html": "https://wpnews.pro/news/vmap-and-daast-validation-just-landed-in-vastlint-core", "markdown": "https://wpnews.pro/news/vmap-and-daast-validation-just-landed-in-vastlint-core.md", "text": "https://wpnews.pro/news/vmap-and-daast-validation-just-landed-in-vastlint-core.txt", "jsonld": "https://wpnews.pro/news/vmap-and-daast-validation-just-landed-in-vastlint-core.jsonld"}}