<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aleksander Sekowski</title>
    <description>The latest articles on DEV Community by Aleksander Sekowski (@aleksuix).</description>
    <link>https://dev.to/aleksuix</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3866734%2F559a0a69-3c28-49e2-91c7-503810b941ba.png</url>
      <title>DEV Community: Aleksander Sekowski</title>
      <link>https://dev.to/aleksuix</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aleksuix"/>
    <language>en</language>
    <item>
      <title>The VAST AdVerifications and SIMID Cheat Sheet Every Video Ad Ops Engineer Needs</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Fri, 27 Nov 2026 00:37:35 +0000</pubDate>
      <link>https://dev.to/aleksuix/the-vast-adverifications-and-simid-cheat-sheet-every-video-ad-ops-engineer-needs-243a</link>
      <guid>https://dev.to/aleksuix/the-vast-adverifications-and-simid-cheat-sheet-every-video-ad-ops-engineer-needs-243a</guid>
      <description>&lt;p&gt;On November 10, 2026, IAB Tech Lab &lt;a href="https://iabtechlab.com/press-releases/iab-tech-lab-announces-om-sdk-support-for-emerging-ctv-ad-formats/" rel="noopener noreferrer"&gt;expanded OM SDK support&lt;/a&gt; to pause, menu, screensaver, and overlay units in the CTV Ad Portfolio. Buyers finally get a shared impression yardstick on inventory that does not look like a mid-roll break. Sellers still traffic those deals as VAST, and third-party measurement still rides the same verification contract the SDK consumes. The failure mode I keep seeing is not a missing SDK release. It is &lt;code&gt;apiFramework&lt;/code&gt; pasted onto &lt;code&gt;&amp;lt;MediaFile&amp;gt;&lt;/code&gt; when the job belongs under &lt;code&gt;&amp;lt;AdVerifications&amp;gt;&lt;/code&gt;, or SIMID declared with the wrong casing on &lt;code&gt;&amp;lt;InteractiveCreativeFile&amp;gt;&lt;/code&gt; so the player plays the MP4 and skips the HTML entirely.&lt;/p&gt;

&lt;p&gt;This sheet is for video ad ops and player integrators who need a quick map from framework name to XML node. One attribute example runs through the whole piece: &lt;code&gt;apiFramework="omid"&lt;/code&gt; belongs on &lt;code&gt;&amp;lt;JavaScriptResource&amp;gt;&lt;/code&gt; inside &lt;code&gt;&amp;lt;Verification&amp;gt;&lt;/code&gt;, not on the linear MP4.&lt;/p&gt;

&lt;h2&gt;
  
  
  Framework, node, and what actually executes
&lt;/h2&gt;

&lt;p&gt;Three IAB interface names show up in trafficking templates. They are not interchangeable strings on the same element.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Job&lt;/th&gt;
&lt;th&gt;VAST container&lt;/th&gt;
&lt;th&gt;Element / attribute&lt;/th&gt;
&lt;th&gt;
&lt;code&gt;apiFramework&lt;/code&gt; or key field&lt;/th&gt;
&lt;th&gt;MIME / type&lt;/th&gt;
&lt;th&gt;Runtime loads&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Legacy interactive playback&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;&amp;lt;Creatives&amp;gt;&lt;/code&gt; → &lt;code&gt;&amp;lt;Linear&amp;gt;&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;MediaFile&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;VPAID&lt;/code&gt; (deprecated 4.1+)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;application/javascript&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;VPAID script (often blocked on CTV)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interactive HTML sidecar&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;&amp;lt;Creatives&amp;gt;&lt;/code&gt; → &lt;code&gt;&amp;lt;Linear&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;NonLinearAds&amp;gt;&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;InteractiveCreativeFile&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;SIMID&lt;/code&gt; (case-sensitive)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;text/html&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Sandboxed iframe + &lt;code&gt;postMessage&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SIMID overlay (SIMID 1.1 nonlinear)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;NonLinear&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;&amp;lt;IFrameResource&amp;gt;&lt;/code&gt; + &lt;code&gt;apiFramework&lt;/code&gt; on &lt;code&gt;&amp;lt;NonLinear&amp;gt;&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;SIMID&lt;/code&gt; on NonLinear&lt;/td&gt;
&lt;td&gt;URL to HTML&lt;/td&gt;
&lt;td&gt;Overlay iframe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Third-party measurement&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;AdVerifications&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;JavaScriptResource&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;omid&lt;/code&gt; (lowercase)&lt;/td&gt;
&lt;td&gt;vendor script type&lt;/td&gt;
&lt;td&gt;OM SDK isolated context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor identity&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;AdVerifications&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;Verification&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;required &lt;code&gt;vendor&lt;/code&gt; URI&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;Parsed before script fetch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Native / CTV without browser&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;Verification&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;browserOptional&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;true&lt;/code&gt; / &lt;code&gt;false&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;OM SDK on device; skip in pure web if allowed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Script never ran&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;AdVerifications&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;Tracking event="verificationNotExecuted"&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;tracking URL&lt;/td&gt;
&lt;td&gt;Vendor learns OMID did not execute&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;VPAID, SIMID, and OMID answer different questions. VPAID made the ad itself executable. SIMID adds interactivity beside a normal &lt;code&gt;&amp;lt;MediaFile&amp;gt;&lt;/code&gt;. OMID observes playback through the OM SDK. CTV portfolio pause and overlay buys need NonLinear scheduling plus OMID in &lt;code&gt;AdVerifications&lt;/code&gt;, not linear quartiles copied from pre-roll templates. The &lt;a href="https://vastlint.org/blog/pause-menu-overlay-omid-schedules-linear-quartiles/" rel="noopener noreferrer"&gt;pause and overlay OMID versus linear quartiles&lt;/a&gt; walkthrough is the longer form when trafficking disagrees with the player schedule.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rows that validate and still fail in production
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;apiFramework="OMID"&lt;/code&gt; on the verification resource.&lt;/strong&gt; Strict parsers expect lowercase &lt;code&gt;omid&lt;/code&gt; on &lt;code&gt;&amp;lt;JavaScriptResource&amp;gt;&lt;/code&gt;. Uppercase passes some editors and fails vendor matching. The creative serves; verification dashboards stay flat.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;apiFramework="simid"&lt;/code&gt; on &lt;code&gt;&amp;lt;InteractiveCreativeFile&amp;gt;&lt;/code&gt;.&lt;/strong&gt; SIMID players match the literal &lt;code&gt;SIMID&lt;/code&gt;. Lowercase often clears shallow lint and never opens the interactive layer. See &lt;a href="https://vastlint.org/docs/simid-rules/SIMID-1.0-simid-apiframework-case/" rel="noopener noreferrer"&gt;SIMID-1.0-simid-apiframework-case&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;OMID script inside &lt;code&gt;&amp;lt;MediaFiles&amp;gt;&lt;/code&gt;.&lt;/strong&gt; Viewability snippets copied from the VPAID era land on the MP4 node. OM SDK never sees a verification block. Schema tools that only count tags miss the placement error.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linear SIMID with only &lt;code&gt;&amp;lt;InteractiveCreativeFile&amp;gt;&lt;/code&gt;.&lt;/strong&gt; SIMID does not replace video. A tag with HTML and no &lt;code&gt;video/mp4&lt;/code&gt; (or HLS) leaves SSAI and strict CTV with nothing to stitch. Pair the sidecar with a real &lt;code&gt;&amp;lt;MediaFile&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;AdVerifications&lt;/code&gt; stripped on wrapper hops.&lt;/strong&gt; Exchanges sometimes normalize wrappers for latency. Inner inline still carries verification, but a shallow fetch of the outer URL looks clean while measurement never reached the device. Walk the chain before you sign off the flight.&lt;/p&gt;

&lt;h2&gt;
  
  
  How you catch it
&lt;/h2&gt;

&lt;p&gt;Paste or fetch the tag in the &lt;a href="https://vastlint.org/tester/" rel="noopener noreferrer"&gt;VAST tag tester&lt;/a&gt; to preview the media file, click URLs, and see whether &lt;code&gt;AdVerifications&lt;/code&gt; and interactive nodes survived the fetch. When the ticket is a wrapper through SSP and DSP, use the &lt;a href="https://vastlint.org/inspect/" rel="noopener noreferrer"&gt;VAST inspector&lt;/a&gt; hop by hop so verification and SIMID from inner inlines are not lost in the chain. For SIMID handshake, host transport, and IAB sample creatives, the &lt;a href="https://iab-tech-lab-vast-tester.vastlint.org/" rel="noopener noreferrer"&gt;IAB-style VAST tester&lt;/a&gt; is an independent fork, not an IAB Tech Lab product.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;vastlint&lt;/strong&gt; (&lt;code&gt;cargo install vastlint&lt;/code&gt;, &lt;code&gt;npm install vastlint&lt;/code&gt;) is the deterministic check on the VAST creative the buy claimed. An LLM implementing trafficking or creative codegen can emit verification XML that still returns OK from a shallow schema pass; the wire contract does not move. vastlint is independent of IAB Tech Lab and of AAO; the spec does not require it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ vastlint check path/to/vast.xml
$ vastlint check &lt;span class="s2"&gt;"https://example.com/vast?deal=pause-1"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Where to go next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Node-by-node OMID reference: &lt;a href="https://vastlint.org/docs/omid/" rel="noopener noreferrer"&gt;What is OMID in VAST AdVerifications&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Full SIMID rule list for interactive files: &lt;a href="https://vastlint.org/docs/simid-rules/" rel="noopener noreferrer"&gt;SIMID validation rules&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Moving off VPAID without breaking measurement: &lt;a href="https://vastlint.org/guides/vast-vpaid-migration/" rel="noopener noreferrer"&gt;VAST VPAID migration guide&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;SIMID-focused validation overview: &lt;a href="https://vastlint.org/docs/simid-validation/" rel="noopener noreferrer"&gt;SIMID validation&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fix the node before you reopen the discrepancy ticket. The MP4 can play while every framework string on the tag points at a file the runtime never opened.&lt;/p&gt;

</description>
      <category>vast</category>
      <category>advertising</category>
      <category>video</category>
      <category>javascript</category>
    </item>
    <item>
      <title>A VAST wrapper trace should preserve tracking provenance.</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Thu, 26 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/aleksuix/a-vast-wrapper-trace-should-preserve-tracking-provenance-5ang</link>
      <guid>https://dev.to/aleksuix/a-vast-wrapper-trace-should-preserve-tracking-provenance-5ang</guid>
      <description>&lt;p&gt;A flat list of tracking URLs is convenient until someone asks which wrapper supplied one of them. If the chain was flattened without its origins, the answer may no longer exist in the report.&lt;/p&gt;

&lt;p&gt;VAST wrapper handling carries declarations across documents. A diagnostic tool can aggregate them for display while retaining the source document, declaration path and resolution step that gave each row its meaning.&lt;/p&gt;

&lt;p&gt;That provenance is useful when several parties share a measurement host, when the same URI appears more than once or when an observed request cannot be matched unambiguously to a declaration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Treat each declaration as evidence with an origin
&lt;/h2&gt;

&lt;p&gt;Keep the fetched document's identity, its position in this resolution run and the element path of the declaration. A URL alone is insufficient because the same endpoint can return different content over time.&lt;/p&gt;

&lt;p&gt;Preserve the document bytes or a controlled artifact reference and content hash. Also retain the fetch time and relevant request context. Those inputs establish which response the report inspected.&lt;/p&gt;

&lt;p&gt;The hop position matters even when two documents have identical bytes. The resolution process may encounter the same document again, and collapsing those occurrences can hide a loop or repeated handoff.&lt;/p&gt;

&lt;p&gt;Do not use the tracking hostname as the identity. Several vendors or accounts can use one host, and one vendor can contribute several event-specific declarations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Flatten the display without erasing the source
&lt;/h2&gt;

&lt;p&gt;This complete Node.js example works on synthetic, already parsed impression declarations. It does not fetch VAST documents or send tracking requests:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;assert&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;node:assert/strict&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;shared&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://measure.example/imp?campaign=synthetic&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;hops&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;hop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Wrapper&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;document&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;outer.xml&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;impressions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/VAST/Ad[1]/Wrapper/Impression[1]&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;uri&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;shared&lt;/span&gt; &lt;span class="p"&gt;}]&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;hop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;InLine&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;document&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;inner.xml&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;impressions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/VAST/Ad[1]/InLine/Impression[1]&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;uri&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;shared&lt;/span&gt; &lt;span class="p"&gt;}]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;declarations&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;hops&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;flatMap&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;impressions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;declaration_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;hop&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;:&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;path&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;hop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;hop&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;document&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;document_kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;element_path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;event&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Impression&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;uri_template&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;uri&lt;/span&gt;
&lt;span class="p"&gt;})));&lt;/span&gt;

&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;declarations&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;declarations&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;uri_template&lt;/span&gt;&lt;span class="p"&gt;)).&lt;/span&gt;&lt;span class="nx"&gt;size&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;declarations&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;declaration_id&lt;/span&gt;&lt;span class="p"&gt;)).&lt;/span&gt;&lt;span class="nx"&gt;size&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;declarations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;outer.xml&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;declarations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nx"&gt;document_kind&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;InLine&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The report retains two declarations even though their URI strings match. That is an evidence-handling decision, not an instruction to fire duplicate beacons. Runtime dispatch and any deduplication must follow the selected specification and player behavior.&lt;/p&gt;

&lt;p&gt;The local declaration ID is unique within this synthetic run. A production record also needs a run identity and stable document reference so records from different runs do not collide.&lt;/p&gt;

&lt;h2&gt;
  
  
  Preserve templates and expanded requests separately
&lt;/h2&gt;

&lt;p&gt;An XML declaration may contain macros. The eventual request may contain substituted values, URI encoding and additional transport representation changes.&lt;/p&gt;

&lt;p&gt;Keep &lt;code&gt;uri_template&lt;/code&gt; separate from the expanded URI observed at dispatch. If you overwrite the template, you lose the evidence needed to establish where a substituted value came from.&lt;/p&gt;

&lt;p&gt;Likewise, distinguish XML source representation from the parsed URI. The source may escape an ampersand that the parser decodes before request construction. A byte-for-byte comparison between raw XML text and a network URL can therefore be misleading.&lt;/p&gt;

&lt;p&gt;Record the component that owned expansion. A server-side request and a player request can use different context, and the report should not assume the player substituted every value it sees.&lt;/p&gt;

&lt;h2&gt;
  
  
  Match observations without forcing an answer
&lt;/h2&gt;

&lt;p&gt;Once a controlled player run produces network evidence, attach candidate declaration matches to each observed request. Use event context, run correlation and known expansion behavior where available.&lt;/p&gt;

&lt;p&gt;If two declarations can produce the same observed URL, preserve an ambiguous match. Arbitrarily choosing the first row creates a confident-looking attribution that the evidence does not support.&lt;/p&gt;

&lt;p&gt;Keep unmatched observations visible too. They may come from another subsystem, a transformed URL or an incomplete capture. A request absent from your declaration list is a question to investigate, not automatic proof that the player invented it.&lt;/p&gt;

&lt;p&gt;The reverse relationship matters as well. A declared tracker with no matching observation may not have fired, or the capture may have missed it. Record which claim your instrumentation can establish.&lt;/p&gt;

&lt;p&gt;Document the capture boundary. A browser trace may omit requests made by a server-side insertion service, while that service's logs may omit player-owned requests. Combining the two requires run correlation and timestamps, not an assumption that either trace contains the entire delivery path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Group for readability after retaining the raw rows
&lt;/h2&gt;

&lt;p&gt;A reporting view can group by host, vendor or event to help operators scan a large chain. Keep the original declaration rows accessible beneath that grouping.&lt;/p&gt;

&lt;p&gt;Show counts with explicit meanings: number of declarations, number of distinct template strings and number of observed dispatch attempts. These are different metrics and should not share a generic tracker-count label.&lt;/p&gt;

&lt;p&gt;When a creative team removes a wrapper, compare the declaration sets before and after. The report should identify which impression, error or event-specific declarations disappeared with that document rather than only showing a shorter URL list.&lt;/p&gt;

&lt;p&gt;For event-specific tracking, preserve attributes such as the event name and offset where they affect meaning. Two URIs on different progress events should not become one undifferentiated tracking entry.&lt;/p&gt;

&lt;h2&gt;
  
  
  Build a reproducible partner ticket
&lt;/h2&gt;

&lt;p&gt;Attach the sanitized chain, source declaration references and observed request evidence. State whether the issue concerns declaration, expansion, dispatch or receiver observation.&lt;/p&gt;

&lt;p&gt;That lets the receiving team locate the boundary it can inspect. A claim that a tracker is missing is much harder to act on than a record identifying the wrapper, element path, expected event and captured request outcome.&lt;/p&gt;

&lt;p&gt;I maintain VASTlint. Its &lt;a href="https://vastlint.org/inspect/?utm_source=dev.to&amp;amp;utm_medium=referral&amp;amp;utm_campaign=reference-series-2026&amp;amp;utm_content=vast-tracking-provenance"&gt;wrapper inspector&lt;/a&gt; is a starting point for examining the chain. Preserve provenance when comparing that inspection with player logs so the report can explain where each tracking claim originated.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://iabtechlab.com/wp-content/uploads/2022/09/VAST_4.3.pdf" rel="noopener noreferrer"&gt;VAST 4.3, wrapper handling and impressions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Technical sources checked October 25, 2026. Drafted with AI; examples are synthetic unless explicitly stated otherwise.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>vast</category>
      <category>javascript</category>
      <category>debugging</category>
      <category>video</category>
    </item>
    <item>
      <title>A valid GPP string is a shape check, not a decision about a person.</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Thu, 26 Nov 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/aleksuix/a-valid-gpp-string-is-a-shape-check-not-a-decision-about-a-person-28ll</link>
      <guid>https://dev.to/aleksuix/a-valid-gpp-string-is-a-shape-check-not-a-decision-about-a-person-28ll</guid>
      <description>&lt;p&gt;A valid GPP string is a shape check. In my August 2026 preprint, &lt;a href="https://www.researchgate.net/publication/413765958_How_Machine-Checkable_Is_IAB_Privacy_Signaling_Syntax_versus_Meaning_on_the_Wire" rel="noopener noreferrer"&gt;How Machine-Checkable Is IAB Privacy Signaling? Syntax versus Meaning on the Wire&lt;/a&gt;, I asked how much of the IAB privacy stack a receiver can check, and what that check decides. The stack is GPP, TCF, US Privacy, the OpenRTB privacy fields, and the VAST privacy macros. The checkable layer is transport. doi:10.13140/RG.2.2.24242.16320.&lt;/p&gt;

&lt;p&gt;I extracted 221 normative-keyword sentences from pinned copies of those texts. Fifty-nine state no conformance constraint and leave the denominator. The remaining 162 each get one syntax class, one meaning class, and one class from the earlier OpenRTB checkability paper.&lt;/p&gt;

&lt;p&gt;Syntax asks whether a receiver can reject the bytes. S0 is not a wire artifact: process, contracts, UI, or vendor-list caching. S1 is local shape: alphabet, version bits, length, an enumeration, 0 or 1, or a paired field. S2 is internal consistency of the same artifact, the header section count against payloads after &lt;code&gt;~&lt;/code&gt;, or &lt;code&gt;gpp_sid&lt;/code&gt; against encoded section ids. S3 is forwarding across hops. The bid, a VAST macro, and a server-side beacon can be compared when the receiver has both.&lt;/p&gt;

&lt;p&gt;Meaning asks whether a pass implies a legal or user fact. M0 is transport and carries no person-fact. M1 is meaning whose author is elsewhere, a CMP or an operating system, and is not in the message. M2 is the caller's declaration. No public registry rejects a lie. M3 is outside the IAB contract. Automatic content recognition is the example, and M3 is 0 because the IAB texts do not mention it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A missing tilde fails the grammar and decides nothing about a person
&lt;/h2&gt;

&lt;p&gt;The GPP string specification requires a header, a tilde, and the applicable sections. A missing &lt;code&gt;~&lt;/code&gt; is S1 and M0, paper-2 class A. &lt;a href="https://rtblint.org/" rel="noopener noreferrer"&gt;RTBlint&lt;/a&gt; rejects that OpenRTB and GPP shape failure. Nothing about a person has been decided.&lt;/p&gt;

&lt;p&gt;Vendors must neither create nor alter GPP strings. That sentence is S0 and M1. A receiver of &lt;code&gt;regs.gpp&lt;/code&gt; cannot test it, because the CMP who is supposed to write the string is not in the message. Server-side ad insertion that originates the string is this failure.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;gpp_sid&lt;/code&gt; is typed, so it is S1. The specification says it tells the callee which section the caller considers in force. In-force is the caller's word, M2, and the paper-2 class on that sentence is D. A delayed recode read the same sentence as M1. Either reading, a pass on the integers is not a pass on jurisdiction.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;regs.coppa&lt;/code&gt; is 0 or 1. The object table states the flag without the word must, so the sentence extract almost misses it. As a field it is S1 and M2, paper-2 class A, and on CTV server-side insertion it is paper-4 class C, self-declared. The boolean is checkable. The children's-inventory fact is not.&lt;/p&gt;

&lt;h2&gt;
  
  
  The string specification is a grammar and the portfolio is thinner
&lt;/h2&gt;

&lt;p&gt;Table 1 distributes the 162 conformance statements. M3 is 0 on every row.&lt;/p&gt;

&lt;p&gt;The GPP string specification has 45 keyword sentences, 19 screened out, and 26 conformance statements: 2 S0, 15 S1, 1 S2, and 8 S3. Sixteen of 26 (61.5%) are S1 or S2. Twenty of 26 (76.9%) are M0. The eight S3 statements are 30.8%, mostly URL-macro forwarding, &lt;code&gt;${GPP_STRING}&lt;/code&gt; and &lt;code&gt;${GPP_SID}&lt;/code&gt;, when the caller cannot use the CMP API. The two S0 sentences are the ban on vendors creating the string, and the advice that vendors should read framework policy.&lt;/p&gt;

&lt;p&gt;On all 162 statements, S0 is 79 (48.8%), S1 is 56 (34.6%), S2 is 2 (1.2%), and S3 is 25 (15.4%). S1+S2 is 35.8%. Meaning is M0 88 (54.3%), M1 61 (37.7%), M2 13 (8.0%), and M3 0. Those two S2 sentences are the prose account of internal consistency. Checkers do more, including header section-count against &lt;code&gt;~&lt;/code&gt; payloads and &lt;code&gt;gpp_sid&lt;/code&gt; against encoded ids. I maintain RTBlint. A pass on those checks is not consent.&lt;/p&gt;

&lt;p&gt;The GPP guidelines add 26 conformance statements: 10 S0, 9 S1, 1 S2, and 6 S3. A required header is S1. Reading the string from &lt;code&gt;Regs&lt;/code&gt; is S3.&lt;/p&gt;

&lt;p&gt;US Privacy is 10 keyword sentences, 1 screened out, and 9 conformance statements. Three S1 statements constrain the four-character alphabet, including the ban on &lt;code&gt;-&lt;/code&gt; in position three, opt-out of sale, when CCPA applies. Six of the nine are M2. The spec does not name a CMP.&lt;/p&gt;

&lt;p&gt;The OpenRTB privacy excerpt is 15 keyword sentences, 3 screened out, and 12 conformance statements, 8 of them S1. &lt;code&gt;device.ifa&lt;/code&gt; is S1 as a presence check and paper-2 class D as an origin claim. The spec allows a bilateral exception to the operating-system API rule, and a stitcher can originate the value.&lt;/p&gt;

&lt;h2&gt;
  
  
  The TCF document spends its sentences off the wire
&lt;/h2&gt;

&lt;p&gt;TCF v2 contributes 106 keyword sentences, 17 screened out, and 89 conformance statements. Sixty of 89 (67.4%) are S0: vendor-list fetch and caching, CMP-list caching, Planet49 storage disclosures, legal-basis policy, and the rule that only a registered CMP may create a TC string. Those sentences are the framework, and they are not on the wire. The 21 S1 rows are the format tables: core string first, the disclosed-vendors segment mandatory in 2.3, &lt;code&gt;IsServiceSpecific&lt;/code&gt; fixed to 1, &lt;code&gt;PurposesLITransparency&lt;/code&gt; bits 2 to 5 set to zero, and &lt;code&gt;NumPubRestrictions&lt;/code&gt; present even at zero. Eight statements are S3, and S2 in TCF prose is 0. Meaning on the 89 is 49 M0 and 40 M1. M2 is 0.&lt;/p&gt;

&lt;p&gt;The green cell, the one a valid GPP string passes, is S1 and M0 (38 statements) plus S2 and M0 (2): 40 of 162, 24.7%. S1 with M1 is 11 statements. S1 with M2 is 7. A report of GPP valid has passed that cell. A pass on the green cell is not consent.&lt;/p&gt;

&lt;p&gt;Paper-2 classes on this subset are A 11.1%, B 21.0%, C 35.2%, and D 32.7%. Statically checkable A+B is 32.1%, below the 53.5% reported for OpenRTB 2.6 as a whole, because these texts spend normative sentences on CMP duties and vendor-list operations. On the wire subset, A+B rises to 43.0%. That subset is not the headline denominator. The decidable part is a codec, and the person-facts were never in the codec.&lt;/p&gt;

&lt;h2&gt;
  
  
  Leaving TCF out raises the shape share
&lt;/h2&gt;

&lt;p&gt;Dropping the TCF document leaves n=73 and raises S1+S2 from 35.8% to 50.7%. M0 on that cut is 53.4%, and the green cell is 32.9%. Dropping the GPP string specification leaves n=136, S1+S2 30.9%, and a green cell of 19.1%. The string specification alone is n=26, S1+S2 61.5%, M0 76.9%, and green 53.8%. Dropping the guidelines, the OpenRTB excerpt, or US Privacy leaves S1+S2 at 35.3%, 33.3%, and 35.9%. A delayed same-author recode, not a second coder, moves n from 162 to 158, S1+S2 from 35.8% to 37.3%, and the green cell from 24.7% to 25.3%. None of these cuts makes a green check into a fact about a person.&lt;/p&gt;

&lt;p&gt;A receiver can reject a malformed GPP header or a missing &lt;code&gt;gpp_sid&lt;/code&gt;, and can warn on leftover &lt;code&gt;regs.ext.gdpr&lt;/code&gt;. That is not consent, not COPPA, and not a bound on automatic content recognition.&lt;/p&gt;

&lt;p&gt;Labeled statements and the recode sample are in the &lt;a href="https://github.com/aleksUIX/iab-privacy-checkability" rel="noopener noreferrer"&gt;artifact repository&lt;/a&gt;. The preprint is on &lt;a href="https://www.researchgate.net/publication/413765958_How_Machine-Checkable_Is_IAB_Privacy_Signaling_Syntax_versus_Meaning_on_the_Wire" rel="noopener noreferrer"&gt;ResearchGate&lt;/a&gt;. The &lt;a href="https://openadtech.org/papers/how-machine-checkable-is-iab-privacy-signaling-sekowski-2026.pdf" rel="noopener noreferrer"&gt;PDF&lt;/a&gt; and the &lt;a href="https://openadtech.org/research/#iab-privacy-signaling" rel="noopener noreferrer"&gt;research page&lt;/a&gt; are the same version.&lt;/p&gt;

</description>
      <category>privacy</category>
      <category>openrtb</category>
      <category>advertising</category>
    </item>
    <item>
      <title>How a SQL join turns $30 of ad spend into $55</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Wed, 25 Nov 2026 09:04:02 +0000</pubDate>
      <link>https://dev.to/aleksuix/how-a-sql-join-turns-30-of-ad-spend-into-55-30c8</link>
      <guid>https://dev.to/aleksuix/how-a-sql-join-turns-30-of-ad-spend-into-55-30c8</guid>
      <description>&lt;p&gt;Three invoice rows add up to $30. Join them to a publisher’s list of authorized sellers and the dashboard says $55. Both tables can be correct. The bug is that the query lets the number of matching declarations decide how many times to count a purchase.&lt;/p&gt;

&lt;p&gt;A November 25, 2026 snapshot supplies a real test case. Sling’s app-ads.txt listed PubMatic account &lt;code&gt;163623&lt;/code&gt; on consecutive lines, once as &lt;code&gt;DIRECT&lt;/code&gt; and once as &lt;code&gt;RESELLER&lt;/code&gt;. PubMatic’s registry identified the account as Spacemob and gave it the seller type &lt;code&gt;BOTH&lt;/code&gt;. I maintain the archive used for this check. The purchases below are invented so you can reproduce the bug locally. &lt;a href="https://www.sling.com/app-ads.txt" rel="noopener noreferrer"&gt;Sling’s declaration&lt;/a&gt; · &lt;a href="https://cdn.pubmatic.com/sellers/data/sellers.json" rel="noopener noreferrer"&gt;PubMatic’s registry&lt;/a&gt; · &lt;a href="https://fraudlint.org/studio/?app=app-86be872a0504d0e6a7ec91d1&amp;amp;snapshot=6e57c143-85c0-4fbe-bd33-d7f41bf070fd&amp;amp;exchange=pubmatic.com&amp;amp;account=163623" rel="noopener noreferrer"&gt;Dated source evidence, including lines 41 and 42&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce it in SQLite
&lt;/h2&gt;

&lt;p&gt;Run the snippets in order in one SQLite session. All amounts are USD cents. The third charge uses a deliberately different seller ID with a leading zero. Keep that column as text throughout the import.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TEMP&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;charges&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;charge_id&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;PRIMARY&lt;/span&gt; &lt;span class="k"&gt;KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;store&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;exchange&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;seller_id&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cents&lt;/span&gt; &lt;span class="kt"&gt;INTEGER&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TEMP&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;declarations&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;store&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;exchange&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;seller_id&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;role&lt;/span&gt; &lt;span class="kt"&gt;TEXT&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;INSERT&lt;/span&gt; &lt;span class="k"&gt;INTO&lt;/span&gt; &lt;span class="n"&gt;charges&lt;/span&gt; &lt;span class="k"&gt;VALUES&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'A'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'apple:us:945077360'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'pubmatic.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'163623'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1250&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'B'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'apple:us:945077360'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'pubmatic.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'163623'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1250&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'C'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'apple:us:945077360'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'pubmatic.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'0163623'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;INSERT&lt;/span&gt; &lt;span class="k"&gt;INTO&lt;/span&gt; &lt;span class="n"&gt;declarations&lt;/span&gt; &lt;span class="k"&gt;VALUES&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'apple:us:945077360'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'pubmatic.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'163623'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'DIRECT'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'apple:us:945077360'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'pubmatic.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'163623'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'RESELLER'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The overcount comes from a straightforward left join.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="nb"&gt;COUNT&lt;/span&gt;&lt;span class="cm"&gt;(*) AS joined_rows, SUM(cents) AS joined_cents
FROM charges
LEFT JOIN declarations USING (store, exchange, seller_id);
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It returns &lt;strong&gt;5 rows and 5,500 cents&lt;/strong&gt;. A matches two declarations and contributes 2,500 cents. B does the same. C has no match in this fixture and contributes its original 500 cents. Changing the expression to &lt;code&gt;SUM(DISTINCT cents)&lt;/code&gt; gives 1,750 cents. Two legitimate purchases happen to cost the same, so SQLite drops one of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Give each account one evidence row
&lt;/h2&gt;

&lt;p&gt;I group the declarations first. This keeps both roles available for review and gives each charge at most one row to join.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TEMP&lt;/span&gt; &lt;span class="k"&gt;VIEW&lt;/span&gt; &lt;span class="n"&gt;charge_review&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt;
&lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="n"&gt;by_account&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;store&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;exchange&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;seller_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;COUNT&lt;/span&gt;&lt;span class="cm"&gt;(*) AS declaration_lines,
         MAX(role = 'DIRECT') AS has_direct,
         MAX(role = 'RESELLER') AS has_reseller
  FROM declarations
  GROUP BY store, exchange, seller_id
)
SELECT c.*, COALESCE(d.declaration_lines, 0) AS declaration_lines,
       d.has_direct, d.has_reseller
FROM charges AS c
LEFT JOIN by_account AS d USING (store, exchange, seller_id);

SELECT charge_id, cents, declaration_lines
FROM charge_review ORDER BY charge_id;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now A and B each show &lt;strong&gt;1,250 cents and two declaration lines&lt;/strong&gt;. C shows &lt;strong&gt;500 cents and zero lines in the fixture&lt;/strong&gt;. The result tells me which purchase to investigate without choosing a selling relationship on the buyer’s behalf.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put the invariant in a test
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="nb"&gt;COUNT&lt;/span&gt;&lt;span class="cm"&gt;(*) FROM charge_review) =
       (SELECT COUNT(*)&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;charges&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;row_count_ok&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
       &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="nb"&gt;SUM&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cents&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;charge_review&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
       &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="nb"&gt;SUM&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cents&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;charges&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;spend_ok&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Both results should be &lt;code&gt;1&lt;/code&gt;. In production I’d run the spend assertion per currency and reconcile on a unique invoice-line key. I’d also select the declaration snapshot for the period under review &lt;em&gt;before&lt;/em&gt; grouping. Otherwise an account that switched roles between two dates can appear to have declared both at the same time.&lt;/p&gt;

&lt;p&gt;For the real Sling account, the two lines tell me what to ask next. I’d request the seller chain for the sampled transaction and confirmation of who controlled the account on that route. The corrected dashboard still has three charges totaling $30.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article was written with an AI agent. The SQL examples were executed in SQLite and the seller details were checked against the dated source records.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>sql</category>
      <category>sqlite</category>
      <category>dataengineering</category>
      <category>adtech</category>
    </item>
    <item>
      <title>AAMP Video Buy vs VAST Tag: The Stitcher Only Reads XML the Agent Never Fetched</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Wed, 25 Nov 2026 00:58:19 +0000</pubDate>
      <link>https://dev.to/aleksuix/aamp-video-buy-vs-vast-tag-the-stitcher-only-reads-xml-the-agent-never-fetched-5cc0</link>
      <guid>https://dev.to/aleksuix/aamp-video-buy-vs-vast-tag-the-stitcher-only-reads-xml-the-agent-never-fetched-5cc0</guid>
      <description>&lt;p&gt;On 13 November 2025, IAB Tech Lab &lt;a href="https://iabtechlab.com/press-releases/iab-tech-lab-announces-agentic-rtb-framework-artf-v1-0-for-public-comment/" rel="noopener noreferrer"&gt;released Agentic Real Time Framework (ARTF) v1.0 for public comment&lt;/a&gt;. The press release frames containerized agents sitting beside OpenRTB inside the same data center, not replacing the auction object underneath. &lt;a href="https://www.thecurrent.com/marketing/marketing-strategy-iab-tech-lab-adcp-agentic-advertising-framework-ai/" rel="noopener noreferrer"&gt;Trade coverage&lt;/a&gt; situates that work inside the wider AAMP umbrella: negotiate and enrich upstairs, still transact on familiar rails.&lt;/p&gt;

&lt;p&gt;If you run SSAI, a CTV ad server, or a DSP seat, the rail that actually schedules the break is still VAST. The buyer agent can return success long before anyone proves that XML exists.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the AAMP side calls a finished video buy
&lt;/h2&gt;

&lt;p&gt;Agentic Advertising Management Protocols (AAMP) stack agent interfaces on top of OpenDirect, the Deals API, AdCOM, OpenRTB, and VAST. On the buyer path, a programmatic video line often ends with three artifacts that look like delivery:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A &lt;strong&gt;task status&lt;/strong&gt; and a row in &lt;strong&gt;Agentic Deals&lt;/strong&gt; or your Deals Library.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;Deals API&lt;/strong&gt; push (Deal Sync) with &lt;code&gt;adtypes&lt;/code&gt; including video, floors, flight dates, and sometimes activation copy aimed at legacy DSP UIs.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;VAST endpoint URL&lt;/strong&gt; or &lt;code&gt;activation_instructions&lt;/code&gt; text that tells a human to paste a deal id into a platform console.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of those is the creative envelope. The IAB Deals API spec is explicit that the receiver must still validate every bid request that carries the deal id and must apply targeting on its own side. The deal record does not ship &lt;code&gt;&amp;lt;Duration&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;MediaFile&amp;gt;&lt;/code&gt;, or mezzanine metadata the stitcher reads.&lt;/p&gt;

&lt;p&gt;AAMP buyer SDK flows still treat DSP activation as instructions, not as a guaranteed fetch of servable XML. Success in that layer means the seller agent accepted terms, trust gates cleared, and your orchestrator got a complete status. It does not mean an InLine resolved, wrappers terminated, or HTTPS media matched what the buy assumed.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://rtblint.org/guides/agentic-buying-openrtb/" rel="noopener noreferrer"&gt;agentic buying and OpenRTB stack map&lt;/a&gt; shows where negotiation sits relative to the bid stream. Negotiation moved up; the delivery contract did not shrink.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the VAST side still has to prove
&lt;/h2&gt;

&lt;p&gt;Whether the path is programmatic guaranteed, a PMP auction that returns &lt;code&gt;bid.adm&lt;/code&gt;, or a direct ad-server handoff, the stitcher or player parses XML. For video it cares about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Duration&lt;/strong&gt; versus the pod or break length sold.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MediaFiles&lt;/strong&gt; with codecs, bitrates, and HTTPS URLs the environment allows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wrapper chains&lt;/strong&gt; that end in an InLine before the SSAI deadline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mezzanine&lt;/strong&gt; and identity fields on paths that transcode from a master, not from the progressive MP4 in the first &lt;code&gt;MediaFile&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Suppose the agentic buy committed a fifteen-second CTV spot. The Deals Library shows success. The only creative pointer is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;VAST&lt;/span&gt; &lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"4.2"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;Ad&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;Wrapper&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;VASTAdTagURI&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;&amp;lt;![CDATA[https://ads.example/vast?id=PG-8842]]&amp;gt;&lt;/span&gt;&lt;span class="nt"&gt;&amp;lt;/VASTAdTagURI&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;Duration&amp;gt;&lt;/span&gt;00:01:30&lt;span class="nt"&gt;&amp;lt;/Duration&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/Wrapper&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/Ad&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/VAST&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Schema validators may accept the wrapper. The break still rejects the ad: duration on the wrapper does not substitute for InLine truth, and nobody followed &lt;code&gt;VASTAdTagURI&lt;/code&gt; to see whether the inner creative is fifteen seconds or ninety.&lt;/p&gt;

&lt;p&gt;OpenRTB can sit between the deal and the tag. When it does, the exchange still reads JSON on the forward hop. Field-level drift on &lt;code&gt;imp.video&lt;/code&gt; or a missing &lt;code&gt;pmp.deals&lt;/code&gt; entry is a sibling failure mode to an empty tag; the &lt;a href="https://rtblint.org/docs/openrtb/bid-request/" rel="noopener noreferrer"&gt;bid request object reference&lt;/a&gt; is the shape partners enforce before your seat ever sees a VAST URL. After the win, &lt;code&gt;bid.adm&lt;/code&gt; or the ad-server redirect is yet another object again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same flight, two verdicts
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Side&lt;/th&gt;
&lt;th&gt;What “done” means to operators&lt;/th&gt;
&lt;th&gt;What production still checks&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AAMP / Deals Library&lt;/td&gt;
&lt;td&gt;Seller accepted, task complete, deal id recorded&lt;/td&gt;
&lt;td&gt;SDK status, deal sync acknowledgment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OpenRTB forward&lt;/td&gt;
&lt;td&gt;Request parses for the partner snapshot&lt;/td&gt;
&lt;td&gt;Deal id on &lt;code&gt;imp.pmp.deals&lt;/code&gt;, duration bounds, AdCOM &lt;code&gt;plcmt&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VAST delivery&lt;/td&gt;
&lt;td&gt;Player or SSAI can schedule the break&lt;/td&gt;
&lt;td&gt;Fetch XML, wrapper depth, media URLs, duration vs pod&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;An integration can pass JSON Schema on the deal push and on a templated bid request while the tag URL 404s, loops wrappers, or serves HTTP media into a &lt;code&gt;secure: 1&lt;/code&gt; imp. Both JSON layers look fine in a dashboard. Fill dies at the stitcher.&lt;/p&gt;

&lt;p&gt;Prebid Server and other exchange edges are where many agentic forwards land. Their expectations for video imps and deal ids are documented per integration, not inside AAMP task objects. The &lt;a href="https://rtblint.org/docs/openrtb/exchanges/prebid-server/" rel="noopener noreferrer"&gt;Prebid Server exchange notes&lt;/a&gt; are a practical checklist for whether the OpenRTB hop matches what the auction module will actually route before anyone opens VAST.&lt;/p&gt;

&lt;p&gt;When the creative arrives inside the bid, &lt;code&gt;bid.adm&lt;/code&gt; still has to be VAST XML, not a macro-expanded hope. The &lt;a href="https://rtblint.org/docs/openrtb/fields/bid/" rel="noopener noreferrer"&gt;OpenRTB bid object fields&lt;/a&gt; describe what downstream parsers read after &lt;code&gt;seatbid&lt;/code&gt; clears.&lt;/p&gt;

&lt;h2&gt;
  
  
  How you catch it
&lt;/h2&gt;

&lt;p&gt;Split the check the way the stack splits objects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Auction hop:&lt;/strong&gt; Run the forwarded bid request through &lt;strong&gt;rtblint&lt;/strong&gt; (&lt;code&gt;cargo install rtblint&lt;/code&gt;, &lt;code&gt;npm install rtblint-core&lt;/code&gt;, MCP &lt;code&gt;rtblint-mcp&lt;/code&gt;) against the dated OpenRTB snapshot your exchange partner enforces. Diff &lt;code&gt;imp.pmp.deals&lt;/code&gt;, duration windows, and AdCOM video enums against the deal record the AAMP task wrote. An LLM implementing AdCP, ARTF, or AAMP output can emit plausible JSON and still get an OK from a stub validator.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creative hop:&lt;/strong&gt; Paste the live tag URL or &lt;code&gt;bid.adm&lt;/code&gt; into the &lt;a href="https://vastlint.org/tester/" rel="noopener noreferrer"&gt;VAST tag tester&lt;/a&gt; for fetch, preview, and tracking URLs. Run the same URL through the &lt;a href="https://vastlint.org/inspect/" rel="noopener noreferrer"&gt;VAST inspector&lt;/a&gt; to resolve wrapper hops through to the InLine. &lt;strong&gt;vastlint&lt;/strong&gt; (&lt;code&gt;cargo install vastlint&lt;/code&gt;, &lt;code&gt;npm install vastlint&lt;/code&gt;) owns that envelope.&lt;/p&gt;

&lt;p&gt;An implementation that lets a model emit the payload still has to check it on the wire. &lt;strong&gt;rtblint&lt;/strong&gt;, &lt;strong&gt;vastlint&lt;/strong&gt;, and &lt;strong&gt;pixellint&lt;/strong&gt; are independent packages for OpenRTB, VAST, and pixel strings respectively. They are independent of IAB Tech Lab and of AAO; the specs do not require them.&lt;/p&gt;

&lt;p&gt;Wire both checks into the agent loop where you can: validate the bid request before forward, fetch and walk the tag before you mark the flight live.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to go next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://rtblint.org/guides/agentic-buying-openrtb/" rel="noopener noreferrer"&gt;Agentic buying and OpenRTB&lt;/a&gt; for how AAMP layers map onto execution specs.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://rtblint.org/blog/agentic-version-negotiation-openrtb-gap/" rel="noopener noreferrer"&gt;Version negotiation gaps on agentic OpenRTB&lt;/a&gt; when the partner snapshot and the agent template disagree.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://rtblint.org/blog/will-agents-replace-openrtb/" rel="noopener noreferrer"&gt;Will agents replace OpenRTB?&lt;/a&gt; on why the bid stream stays the floor under agentic negotiation.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>vast</category>
      <category>openrtb</category>
      <category>advertising</category>
      <category>adtech</category>
    </item>
    <item>
      <title>When does a CTV impression become billable? A Mayfly reconciliation example</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Tue, 24 Nov 2026 23:49:25 +0000</pubDate>
      <link>https://dev.to/aleksuix/when-does-a-ctv-impression-become-billable-a-mayfly-reconciliation-example-4i4l</link>
      <guid>https://dev.to/aleksuix/when-does-a-ctv-impression-become-billable-a-mayfly-reconciliation-example-4i4l</guid>
      <description>&lt;p&gt;A buyer can have a winning bid, a tracker call and a charge on an invoice, all for the same ad. If the question is whether the ad reached a TV, it still matters who produced each record.&lt;/p&gt;

&lt;p&gt;That was the question I had after reading about Mayfly. Pixalate found bid traffic using the identities of streaming apps including Plex, Hulu and Tubi. A selling account could earn its share if the exchange accepted a reported impression as billable. The public investigation did not trace a particular payout. It also didn't establish a pacing exploit. Pacing governs how fast a campaign spends. An exchange's billing rules determine which event can result in a charge. &lt;a href="https://www.pixalate.com/blog/mayfly-uncovered-burner-tvs-behind-135m-ad-fraud-scheme" rel="noopener noreferrer"&gt;Pixalate's investigation&lt;/a&gt; · &lt;a href="https://github.com/InteractiveAdvertisingBureau/openrtb2.x/blob/main/2.6.md#objectbid" rel="noopener noreferrer"&gt;OpenRTB win and billing notices&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the invoice
&lt;/h2&gt;

&lt;p&gt;Here is a fictional three-line sample from one app and seller. All three lines are billed at $25 per thousand impressions, or &lt;strong&gt;$0.025 each&lt;/strong&gt;. The exchange confirms which event triggers a charge under this contract. The publisher can map each transaction to its own playback records.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Transaction&lt;/th&gt;
&lt;th&gt;What the independent record says&lt;/th&gt;
&lt;th&gt;What I would do&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;td&gt;The player reports an ad start. The tracker made two delivery attempts for that one event.&lt;/td&gt;
&lt;td&gt;Count the one invoiced impression once. Inspect retry handling separately.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;B&lt;/td&gt;
&lt;td&gt;The publisher confirms its records cover the session. The player skipped this ad break before the first ad started.&lt;/td&gt;
&lt;td&gt;Dispute this $0.025 line with the exchange under the assumed delivery terms.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;Telemetry was unavailable for this player version during that hour.&lt;/td&gt;
&lt;td&gt;Leave this $0.025 unresolved and record the coverage gap.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The sample contains &lt;strong&gt;$0.075 billed, $0.025 disputed and $0.025 unresolved&lt;/strong&gt;. Those last two amounts answer different questions. Calling both a loss would overstate what the logs show. If the exchange later issues a credit for B, reconcile it against the same transaction so it doesn't remain in the outstanding total.&lt;/p&gt;

&lt;p&gt;In row A we know the second call was a retry. If all I had were two requests to the same URL, I would also check the saved creative for a repeated instruction. &lt;a href="https://vastlint.org/blog/mayfly-duplicate-vast-impression-urls/" rel="noopener noreferrer"&gt;VASTlint shows how to find duplicate VAST impression URLs and what Pixalate established about Mayfly&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ask where the records came from
&lt;/h2&gt;

&lt;p&gt;I would start with the billed transaction as the unique row, then group tracker attempts before joining them. Otherwise A appears twice after the join and makes the bill look larger than it was. Where the buyer's ID and the player's ID differ, the publisher needs a documented mapping to the same ad in the same break. A timestamp match on a busy stream is a weak substitute.&lt;/p&gt;

&lt;p&gt;A second copy of the seller's callback adds very little. A separate player event can corroborate playback. For server-side insertion, ask whether the log records that an ad was &lt;em&gt;inserted&lt;/em&gt; or that a player actually reported starting it. Both can be accurate while describing different moments. The &lt;a href="https://pixellint.org/blog/mayfly-impression-beacon-evidence/" rel="noopener noreferrer"&gt;Pixellint guide to impression pixels in the Mayfly investigation&lt;/a&gt; shows how to match a collector receipt to an independent player event. &lt;a href="https://iabtechlab.com/wp-content/uploads/2020/11/IABTechLab_SSAI_VAST_Macros_v1.0-Nov-2020.pdf" rel="noopener noreferrer"&gt;IAB Tech Lab's server-side tracking guidance&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is also how I'd read the Mayfly headline. Pixalate extrapolated sampled traffic and assumed a price. The amount a particular buyer can dispute depends on its delivery terms, actual charges, and evidence for the transactions it bought. &lt;a href="https://aleksander-sekowski.medium.com/pixalate-estimates-mayfly-put-135-million-in-streaming-ad-spend-at-risk-c3137369ca0f" rel="noopener noreferrer"&gt;My Medium breakdown of the $135 million estimate&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If a campaign reports a surge in new TVs, I start with a different sample. &lt;a href="https://dev.to/aleksuix/which-tv-ids-came-back-a-sql-check-inspired-by-mayfly-1pen"&gt;The companion SQL walkthrough measures next-day device ID returns by seller&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>adtech</category>
      <category>testing</category>
      <category>analytics</category>
      <category>video</category>
    </item>
    <item>
      <title>Which TV IDs came back? A SQL check inspired by Mayfly</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Tue, 24 Nov 2026 23:49:22 +0000</pubDate>
      <link>https://dev.to/aleksuix/which-tv-ids-came-back-a-sql-check-inspired-by-mayfly-1pen</link>
      <guid>https://dev.to/aleksuix/which-tv-ids-came-back-a-sql-check-inspired-by-mayfly-1pen</guid>
      <description>&lt;p&gt;If a streaming campaign tells me it reached a record number of new TVs, I want to see yesterday's IDs. In Pixalate's Mayfly investigation, more than 60% of the home IP addresses in the flagged traffic returned the next day. The reported next-day return rate for flagged device IDs was 0%. Pixalate used turnover to select suspicious traffic, so reproducing a low return rate gives me a lead to investigate. It doesn't establish fraud on its own. &lt;a href="https://www.pixalate.com/blog/mayfly-uncovered-burner-tvs-behind-135m-ad-fraud-scheme" rel="noopener noreferrer"&gt;Pixalate's investigation&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Count devices that had a chance to return
&lt;/h2&gt;

&lt;p&gt;Suppose six distinct address and device-ID pairs appear on Saturday. Two belong to addresses we never see on Sunday. Of the four pairs at addresses we &lt;em&gt;do&lt;/em&gt; see again, one returns. I'd report &lt;strong&gt;1 of 4, or 25%&lt;/strong&gt;, and show the two excluded pairs separately. Dividing by six would mix a device disappearing with a gap in our view of its address. Counting bid requests would let one chatty device dominate the result.&lt;/p&gt;

&lt;p&gt;I split the sample by seller because Pixalate found different flagged rates on two routes to the same app. The &lt;a href="https://rtblint.org/blog/mayfly-app-bundle-seller-route/" rel="noopener noreferrer"&gt;RTBlint guide to investigating Mayfly CTV ad fraud in OpenRTB&lt;/a&gt; shows which seller fields to keep when you build that split.&lt;/p&gt;

&lt;p&gt;Here is the SQLite query I'd use on a two-day sample. The input is one row per observed bid with a UTC date, a route key, a short-lived address token and an eligible device ID. A route key here means the same app, TV platform, exchange and seller account. Only include identifiers you have permission to compare across these two days. Exclude blank IDs, opt-outs and sentinels before running it. The tokens must remain comparable across the observation window.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="n"&gt;seen&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="k"&gt;DISTINCT&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;route&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;addr_token&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;device_id&lt;/span&gt;
  &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;bids&lt;/span&gt;
  &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'2026-09-26'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'2026-09-27'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;next_day&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;route&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;addr_token&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;device_id&lt;/span&gt;
  &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;seen&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'2026-09-27'&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;returning_addresses&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="k"&gt;DISTINCT&lt;/span&gt; &lt;span class="n"&gt;route&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;addr_token&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;next_day&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;route&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;COUNT&lt;/span&gt;&lt;span class="cm"&gt;(*) AS eligible_pairs,
       COUNT(b.device_id) AS returning_pairs,
       ROUND(100.0 * COUNT(b.device_id) / COUNT(*)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;pct&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;seen&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;
&lt;span class="k"&gt;JOIN&lt;/span&gt; &lt;span class="n"&gt;returning_addresses&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;
  &lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;route&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;route&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addr_token&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addr_token&lt;/span&gt;
&lt;span class="k"&gt;LEFT&lt;/span&gt; &lt;span class="k"&gt;JOIN&lt;/span&gt; &lt;span class="n"&gt;next_day&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;
  &lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;route&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;route&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addr_token&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addr_token&lt;/span&gt;
 &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;device_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;device_id&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;day&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'2026-09-26'&lt;/span&gt;
&lt;span class="k"&gt;GROUP&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;route&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An empty result means no route had eligible pairs. I would leave that rate blank. The query also counts a device that changes its address as a different pair. That's intentional for this question. A VPN change, a token rotation, or a change in which share of requests the exchange sends us can all move the number.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decide what deserves a second look
&lt;/h2&gt;

&lt;p&gt;I'd chart the numerator, denominator and observation volume beside the rate, then compare the same route with its own history and another authorized path for the same app. If every route drops on the day my logging changes, I'd investigate the collector first. If one seller repeatedly drops while the others stay steady, I'd pull a sample of its billed impressions and ask the publisher to reconcile them.&lt;/p&gt;

&lt;p&gt;Pixalate also measured households in short windows around noon and midnight UTC. That test has a different denominator. I go through both charts, the seller comparison and the assumptions behind the $135 million exposure estimate in &lt;a href="https://aleksander-sekowski.medium.com/pixalate-estimates-mayfly-put-135-million-in-streaming-ad-spend-at-risk-c3137369ca0f" rel="noopener noreferrer"&gt;my illustrated Mayfly article on Medium&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If one seller stands out, pick a billed transaction from that route and follow it into the invoice. &lt;a href="https://dev.to/aleksuix/when-does-a-ctv-impression-become-billable-a-mayfly-reconciliation-example-4i4l"&gt;A worked example of reconciling a CTV impression&lt;/a&gt;&lt;/p&gt;

</description>
      <category>sql</category>
      <category>adtech</category>
      <category>analytics</category>
      <category>openrtb</category>
    </item>
    <item>
      <title>Conversion replay tests need a fixed clock.</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Tue, 24 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/aleksuix/conversion-replay-tests-need-a-fixed-clock-4b4p</link>
      <guid>https://dev.to/aleksuix/conversion-replay-tests-need-a-fixed-clock-4b4p</guid>
      <description>&lt;p&gt;A conversion fixture can pass on Monday and fail on Friday without any payload or code change. If the rule reads the current time, the fixture is missing one of its inputs.&lt;/p&gt;

&lt;p&gt;Time-sensitive checks need an explicit reference clock. Without one, an incident replay gradually stops reproducing the incident and starts answering a different question: whether the old event would be acceptable today.&lt;/p&gt;

&lt;p&gt;Both questions can be useful. The test needs to say which one it asks and retain the inputs needed to reproduce its answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Separate historical validity from current sendability
&lt;/h2&gt;

&lt;p&gt;Suppose a synthetic event occurred at 11:30 and the application evaluated it at noon. A historical replay should use noon as the reference time, even if the replay runs months later.&lt;/p&gt;

&lt;p&gt;An operational check about sending that captured event now should use a current reference time. Its failure does not necessarily mean the historical decision was wrong.&lt;/p&gt;

&lt;p&gt;Name the replay mode in the fixture. Store the event occurrence time, reference time, policy version and expected result together. Updating only the event timestamp to &lt;code&gt;Date.now()&lt;/code&gt; may make a test pass while deleting the old behavior it was supposed to preserve.&lt;/p&gt;

&lt;p&gt;Timestamp semantics also depend on the endpoint. Occurrence time, client send time and server receipt time are distinct fields in many event pipelines. Select the field that the policy actually evaluates before calculating its age.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make the clock an argument
&lt;/h2&gt;

&lt;p&gt;This complete Node.js example implements an application-owned one-hour window. It does not represent the ingestion window of Meta, Google, Segment or any other destination:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;assert&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;node:assert/strict&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;ageDecision&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;eventMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;referenceMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;eventMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;referenceMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;every&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;isSafeInteger&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
      &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;accepted&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid-input&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;ageMs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;referenceMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;eventMs&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isSafeInteger&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ageMs&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;accepted&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid-input&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ageMs&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;accepted&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;future-event&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;ageMs&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ageMs&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;accepted&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;too-old&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;ageMs&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;accepted&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;within-window&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;ageMs&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;referenceMs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;2026-10-01T12:00:00Z&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;decide&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;eventMs&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;ageDecision&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;eventMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;referenceMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;decide&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;referenceMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;accepted&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;decide&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;referenceMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;too-old&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;decide&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;referenceMs&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;future-event&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;decide&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;referenceMs&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;accepted&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;decide&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;NaN&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid-input&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;decide&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;referenceMs&lt;/span&gt;&lt;span class="p"&gt;)).&lt;/span&gt;&lt;span class="nx"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid-input&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;ageDecision&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;eventMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;referenceMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;referenceMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;referenceMs&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;24&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;maxAgeMs&lt;/span&gt;
&lt;span class="p"&gt;}).&lt;/span&gt;&lt;span class="nx"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;too-old&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The exact-boundary assertions document an inclusive maximum age and a policy that rejects future-dated events. A different policy may allow a measured clock-skew tolerance, but that tolerance must be an explicit input with its own tests.&lt;/p&gt;

&lt;p&gt;The function returns a reason instead of one unexplained false value. This prevents an invalid timestamp from being reported as merely too old.&lt;/p&gt;

&lt;h2&gt;
  
  
  Convert units before evaluating policy
&lt;/h2&gt;

&lt;p&gt;Choose one unit for the age calculation and normalize inputs before calling the rule. Subtracting a microsecond event timestamp from a millisecond reference time can produce an enormous age with no parsing error.&lt;/p&gt;

&lt;p&gt;Keep unit names in the fixture or schema. The local program uses &lt;code&gt;eventMs&lt;/code&gt;, &lt;code&gt;referenceMs&lt;/code&gt; and &lt;code&gt;maxAgeMs&lt;/code&gt; so that the intended arithmetic is visible.&lt;/p&gt;

&lt;p&gt;Reject invalid dates before subtraction. JavaScript's invalid date value propagates as &lt;code&gt;NaN&lt;/code&gt;, and a loosely written comparison can behave differently from the failure classification you intended.&lt;/p&gt;

&lt;p&gt;Also preserve precision decisions. If the event source was rounded to seconds, a test right on a millisecond cutoff may need to reflect that input precision rather than pretending the source measured more accurately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Inject the clock through the real code path
&lt;/h2&gt;

&lt;p&gt;A pure helper can be deterministic while the surrounding adapter still reads &lt;code&gt;Date.now()&lt;/code&gt; and replaces an event field. Test the path that builds the actual payload and decision record.&lt;/p&gt;

&lt;p&gt;Pass a clock dependency into the component that needs current time, or pass an already selected reference instant through the call. Avoid changing a process-wide clock when a narrow injected dependency is enough.&lt;/p&gt;

&lt;p&gt;In an integration fixture, assert that multiple stages use the same intended reference. If each stage independently reads the clock, a boundary case can receive inconsistent treatment within one processing attempt.&lt;/p&gt;

&lt;p&gt;Keep retry send times separate from the occurrence time. A retry may happen later while still representing the original purchase. Rewriting the occurrence time changes the event instead of explaining the delivery attempt.&lt;/p&gt;

&lt;h2&gt;
  
  
  Replay the rule and the payload independently
&lt;/h2&gt;

&lt;p&gt;There are two useful upgrade tests. First, run the same event and reference time through old and new policy versions. That isolates rule changes.&lt;/p&gt;

&lt;p&gt;Second, run the same policy against payloads produced by old and new adapter versions. That isolates transformations such as changed units or default timestamps.&lt;/p&gt;

&lt;p&gt;Changing the payload, reference clock and policy in one test makes a changed outcome difficult to explain. Keep those dimensions explicit in the result.&lt;/p&gt;

&lt;p&gt;For an incident record, preserve both the historical reference and a separate current-sendability result if operators need it. The report can then explain why the event was accepted earlier but should not be retried under today's conditions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep local policy separate from destination behavior
&lt;/h2&gt;

&lt;p&gt;The sample's one-hour cutoff is deliberately invented. Production rules need the current endpoint documentation, stream type and relevant ingestion settings.&lt;/p&gt;

&lt;p&gt;A local age decision cannot prove that a destination will use the supplied occurrence time. The destination may apply its own validation or documented clock handling. Verify that behavior with controlled integration evidence when it matters to the incident.&lt;/p&gt;

&lt;p&gt;I maintain Pixellint. Its &lt;a href="https://pixellint.org/?utm_source=dev.to&amp;amp;utm_medium=referral&amp;amp;utm_campaign=reference-series-2026&amp;amp;utm_content=conversion-replay-fixed-clock"&gt;captured-payload workflow&lt;/a&gt; offers a place to inspect conversion inputs. Whether you use that interface or your own harness, retain the reference time with the fixture so the replay continues to answer the question you intended.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference" rel="noopener noreferrer"&gt;GA4 timestamp reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.twilio.com/docs/segment/connections/spec/common" rel="noopener noreferrer"&gt;Segment timestamp semantics&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Technical sources checked October 25, 2026. Drafted with AI; examples are synthetic unless explicitly stated otherwise.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>analytics</category>
      <category>testing</category>
      <category>backend</category>
    </item>
    <item>
      <title>NBCUniversal's published creative ID test shows the value of preserving one field across systems.</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Tue, 24 Nov 2026 17:00:00 +0000</pubDate>
      <link>https://dev.to/aleksuix/nbcuniversals-published-creative-id-test-shows-the-value-of-preserving-one-field-across-systems-fme</link>
      <guid>https://dev.to/aleksuix/nbcuniversals-published-creative-id-test-shows-the-value-of-preserving-one-field-across-systems-fme</guid>
      <description>&lt;p&gt;A campaign reporting problem can begin with information the organization already has. If that information is placed in the wrong field or lost during a handoff, a downstream team must reconstruct the relationship manually. A published IAB account involving GroupM, NBCUniversal, FreeWheel and VideoAmp provides a concrete example of why persistent creative identity matters operationally.&lt;/p&gt;

&lt;p&gt;This article analyzes that account in original language. It does not reproduce the source article or its artwork. The case supports a discussion of an observed data path; it should not be turned into an unreported estimate of savings or a general claim that every identity problem is solved by one edit.&lt;/p&gt;

&lt;h2&gt;
  
  
  The reported result was a creative ID that reached the measurement record.
&lt;/h2&gt;

&lt;p&gt;In an &lt;a href="https://www.iab.com/blog/how-acif-is-transforming-creative-management-in-ctv/" rel="noopener noreferrer"&gt;April 24, 2025 IAB account&lt;/a&gt;, Cintia Gabilan describes GroupM correcting AD-ID placement in a CTV ad-serving template. NBCUniversal and FreeWheel made the identifier available through logs and the data warehouse, and it reached VideoAmp. The reported outcome was recognition of a specific creative's delivery across linear and digital through the same AD-ID. The article does not provide a measured labor-saving or revenue result for the test.&lt;/p&gt;

&lt;p&gt;The publication documents an operational result with named participants. It is not an independent experiment isolating the financial effect of the Ad Creative ID Framework, or ACIF. Its practical significance is the completed identity path that a reporting process could use.&lt;/p&gt;

&lt;h2&gt;
  
  
  A field becomes useful when the next system can act on it.
&lt;/h2&gt;

&lt;p&gt;An agency operations team may know which creative it approved while its receiving publisher uses a different local key. A measurement provider may then receive another identifier. The workflow needs an explicit mapping among those records if it is to answer which asset actually ran. Naming conventions alone can be fragile when assets move between organizations and versions change.&lt;/p&gt;

&lt;p&gt;A persistent creative reference gives systems a shared value to preserve. The &lt;a href="https://iabtechlab.com/standards/acif/" rel="noopener noreferrer"&gt;IAB Tech Lab ACIF overview&lt;/a&gt; describes that role and its relationship with Universal Ad ID. A local system can continue using its internal keys, provided the shared identity remains available where reporting or another decision requires it.&lt;/p&gt;

&lt;p&gt;For an integration project, identify every relevant boundary. Confirm what the submitting system sends, what the receiver stores and what appears in the exported measurement record. Give exceptions an owner. This turns an identity requirement into a testable path and helps a team distinguish missing data from data that exists but is exposed through a different field.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creative identity and asset correctness need separate checks.
&lt;/h2&gt;

&lt;p&gt;A correctly shaped identifier does not independently prove that it belongs to a particular video. Confirm the relationship using the relevant registration and approved asset record. Keep the source asset, intended version and local mappings together. If a file changes behind a stable URL, a historical approval may no longer describe the bytes that will be delivered.&lt;/p&gt;

&lt;p&gt;The test should also preserve distinctions the campaign needs. Localized offers or different creative versions may require separate records. A reporting process that joins unrelated variants can appear more complete while becoming less accurate. Inspect both unresolved matches and incorrect merges rather than measuring success solely by how many rows contain an ID.&lt;/p&gt;

&lt;p&gt;Frequency management and competitive separation require further inputs and decisioning. Recognizing the creative is useful, but it does not by itself identify a viewer, establish a frequency policy or enforce an ad-pod rule. Test those decisions in their own systems if they are part of the proposed commercial benefit. An identity handoff test establishes a narrower and still valuable result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reconciliation effort is a practical place to measure the benefit.
&lt;/h2&gt;

&lt;p&gt;Begin with the share of relevant delivery records that can be linked automatically to an approved creative record. Define a correct match and review a sample manually. Track conflicting matches and unresolved exceptions separately. This lets the team assess whether a changed handoff improves reporting quality or simply fills more cells with values.&lt;/p&gt;

&lt;p&gt;Then measure the work required to resolve those exceptions. Record hands-on investigation time, partner escalations and delays in producing the report. Compare similar campaign and system populations. A change in workload or a cleanup project can affect the same measures, so the evaluation needs enough context to identify what the integration actually changed.&lt;/p&gt;

&lt;p&gt;A monetary estimate should use the team's observed effort and an explicit cost basis. Released capacity is not necessarily a reduction in spending. A revenue claim needs a corresponding delivery or billing outcome. Keeping those measures separate helps an engineering team explain the value of a completed data path without inventing a financial result for someone else's published test.&lt;/p&gt;

&lt;h2&gt;
  
  
  VASTLint can check a declaration before the receiving-system test.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://vastlint.org/blog/how-to-validate-universaladid-in-vast-tags/" rel="noopener noreferrer"&gt;VASTLint's UniversalAdId guide&lt;/a&gt; describes document-level checks for the creative identity handoff. Use the &lt;a href="https://vastlint.org/validate/" rel="noopener noreferrer"&gt;validator&lt;/a&gt; on the submitted document and retain the findings when a declaration needs correction. A structural check can direct an investigation before the team starts tracing downstream reporting transformations.&lt;/p&gt;

&lt;p&gt;Follow the result into the actual receiver. Confirm the identity in its logs or exported record, and retain a valid control and a deliberate mismatch. A clean XML result is not a registry verification or proof that another system preserved the intended value. Our &lt;a href="https://vastlint.org/blog/universaladid-campaign-reconciliation-cost/" rel="noopener noreferrer"&gt;creative reconciliation guide&lt;/a&gt; explains how to maintain that broader mapping and its exception record.&lt;/p&gt;

&lt;p&gt;The useful business lesson is to make a reporting dependency visible from submission to the point where it informs a decision. A successful path can reduce ambiguity and make later automation possible. The next evidence to collect is the effect on your own reporting work, using the actual records that were previously difficult to join.&lt;/p&gt;

&lt;p&gt;Alex Sekowski creates VASTLint. The cited organizations are not presented as VASTLint customers or endorsers. This analysis was prepared with AI assistance; the described test remains attributed to IAB's published account.&lt;/p&gt;

</description>
      <category>adtech</category>
      <category>webdev</category>
      <category>testing</category>
      <category>performance</category>
    </item>
    <item>
      <title>About 42 percent of these client-side bid requests fail a strict OpenRTB check.</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Tue, 24 Nov 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/aleksuix/about-42-percent-of-these-client-side-bid-requests-fail-a-strict-openrtb-check-480k</link>
      <guid>https://dev.to/aleksuix/about-42-percent-of-these-client-side-bid-requests-fail-a-strict-openrtb-check-480k</guid>
      <description>&lt;p&gt;A browser can see OpenRTB only where a header-bidding library solicits demand from the page. In the August 2026 preprint &lt;a href="https://www.researchgate.net/publication/412299694_Measuring_OpenRTB_Dialects_in_Client-Side_Header_Bidding" rel="noopener noreferrer"&gt;Measuring OpenRTB Dialects in Client-Side Header Bidding&lt;/a&gt;, I capture Prebid.js bid requests and responses from one US residential vantage. The first-contact corpus is 10,457 payloads from 164 sites. Five sites appear in both samples (union 164). Sample A is a random draw of header-bidding sites. Sample B is a purposive set of major publishers, used where a named endpoint needs volume. It is not server-to-server OpenRTB, and it is not a census of programmatic traffic.&lt;/p&gt;

&lt;p&gt;The PDF is &lt;a href="https://openadtech.org/papers/measuring-openrtb-dialects-in-client-side-header-bidding-sekowski-2026.pdf" rel="noopener noreferrer"&gt;Measuring OpenRTB Dialects in Client-Side Header Bidding&lt;/a&gt;, and the research page is &lt;a href="https://openadtech.org/research/#openrtb-dialects" rel="noopener noreferrer"&gt;openadtech.org/research&lt;/a&gt;. What follows is the request-side rate under two readings of the same payloads. The headline is 42.0 percent. The inclusive figure, 69.4 percent, is a sensitivity.&lt;/p&gt;

&lt;h2&gt;
  
  
  A homepage pass finds header bidding on about one reachable site in nine
&lt;/h2&gt;

&lt;p&gt;Sample A starts from the Tranco top 50,000. Mechanical exclusions removed 1,032 domains and left a frame of 48,968. From that frame I drew n = 1,200 with a published seed. A lightweight homepage visit then records only whether the page loaded, whether header bidding was present, and whether OpenRTB crossed the wire. Prevalence intervals below are Wilson score intervals.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Rate&lt;/th&gt;
&lt;th&gt;95% CI&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Reachable (page loaded)&lt;/td&gt;
&lt;td&gt;877 / 1,200 = 73.1%&lt;/td&gt;
&lt;td&gt;[70.5, 75.5]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Header bidding present&lt;/td&gt;
&lt;td&gt;102 / 877 = 11.6%&lt;/td&gt;
&lt;td&gt;[9.7, 13.9]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OpenRTB observed on the wire&lt;/td&gt;
&lt;td&gt;73 / 877 = 8.3%&lt;/td&gt;
&lt;td&gt;[6.7, 10.3]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Among header-bidding sites&lt;/td&gt;
&lt;td&gt;72 / 102 = 70.6%&lt;/td&gt;
&lt;td&gt;[61.1, 78.6]&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Roughly one in nine reachable top-ranked sites runs client-side header bidding. Unreachability is dominated by DNS failure, 190 of 323. A homepage visit saw OpenRTB on 70.6 percent of those sites, so detection is a lower bound. One reachable site produced OpenRTB without a detected Prebid global, which is why the wire count is 73 against 72, and why the deep-crawl list is 103.&lt;/p&gt;

&lt;p&gt;That crawl is the dialect corpus: validity describes header-bidding sites, and prevalence describes the ranking generally. Sample A yielded 3,086 requests on 79 of 103 sites. Sample B, 123 publishers, yielded 3,744 requests on 90. A datacenter address observed zero auctions on eight test sites; the residential address produced OpenRTB on six of the same eight. Captures span 14:00 to 00:15 local in July 2026, on one metro. A second vantage is untested.&lt;/p&gt;

&lt;h2&gt;
  
  
  The strict reading is 42.0 percent, and the sample intervals overlap
&lt;/h2&gt;

&lt;p&gt;Payloads were validated with RTBlint 0.6.0, an open-source linter I maintain. The protocol has no reference validator and no public conformance test suite, so this is not an IAB harness. Unknown fields outside &lt;code&gt;ext&lt;/code&gt;, and fields left where the specification later moved them, are recommendations rather than absolute requirements. The instrument scores both as errors. The strict reading drops them and keeps type mismatches, undocumented enumerated values, missing required fields, and the remaining error rules. The inclusive reading puts unknown non-&lt;code&gt;ext&lt;/code&gt; fields and moved fields back. Receivers are told to tolerate unexpected fields. The linter is &lt;a href="https://rtblint.org/" rel="noopener noreferrer"&gt;RTBlint&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Invalid-rate intervals are site-clustered. A cluster bootstrap resamples whole sites (5,000 draws), because one site fires many auctions and each auction fans out to many endpoints.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Reading&lt;/th&gt;
&lt;th&gt;Sample A&lt;/th&gt;
&lt;th&gt;Sample B&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Strict (type, enum, required)&lt;/td&gt;
&lt;td&gt;42.0% [36.0, 47.2]&lt;/td&gt;
&lt;td&gt;40.4% [35.8, 45.0]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Including unknown and moved&lt;/td&gt;
&lt;td&gt;69.4% [63.9, 75.0]&lt;/td&gt;
&lt;td&gt;55.4% [49.6, 61.4]&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The strict intervals overlap. Under type, enum, and required-field checks, a random draw of header-bidding sites matches major publishers at about 41 percent. The inclusive intervals do not overlap. The unrestricted gap is 14.0 points, in unknown and legacy field placement, not in type or required-field checks. I report 42.0 percent as the headline. 69.4 percent is the inclusive sensitivity.&lt;/p&gt;

&lt;p&gt;On Sample A the inclusive per-site median is 70.0 percent, interquartile range [51.7, 100]. Twenty of 79 sites are at 100 percent inclusive, and 5 of 79 are at 0 percent inclusive. The pooled 69.4 percent is a mixture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unknown fields and moved fields account for the gap between the samples
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Reading&lt;/th&gt;
&lt;th&gt;Sample A requests&lt;/th&gt;
&lt;th&gt;Sample B requests&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Inclusive (as scored)&lt;/td&gt;
&lt;td&gt;69.4%&lt;/td&gt;
&lt;td&gt;55.4%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Excluding unknown fields&lt;/td&gt;
&lt;td&gt;58.5%&lt;/td&gt;
&lt;td&gt;44.9%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Excluding unknown and moved (strict)&lt;/td&gt;
&lt;td&gt;42.0%&lt;/td&gt;
&lt;td&gt;40.4%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The remaining 42.0 percent is type mismatches, undocumented enumerated values, and missing required fields on 1,286 of 1,296 strict-invalid requests, plus ten requests flagged only on mutually exclusive fields. That remainder is not extension practice under any reading.&lt;/p&gt;

&lt;p&gt;Of Sample A request findings, type mismatches are 1,246, mostly &lt;code&gt;site.ref&lt;/code&gt; sent as null, integer &lt;code&gt;publisher.id&lt;/code&gt;, and &lt;code&gt;imp.banner&lt;/code&gt; sent as an array. Invalid values are 515, and 509 of them are &lt;code&gt;imp.video.skip&lt;/code&gt;. Required-field errors are 33. One request can carry more than one finding. Deprecated &lt;code&gt;imp.video.placement&lt;/code&gt; is common, at 867 findings, and it is scored as a warning, so it does not drive either rate.&lt;/p&gt;

&lt;p&gt;Yahoo's Sample A request side is 100 percent invalid under the inclusive reading and is almost entirely &lt;code&gt;regs.ext.gdpr&lt;/code&gt; and &lt;code&gt;user.ext.consent&lt;/code&gt;, fields the 2.6 tables moved. Under the strict reading that endpoint is not a core-correctness failure. Long-tail sites carry more dialect keys and outdated GDPR paths, while their type and value checks match major publishers.&lt;/p&gt;

&lt;p&gt;Two mechanisms that would have predicted a broader inclusive gap were tested, and both fail. Restricting to the 20 endpoints in both samples with at least 25 requests each (75 percent of Sample A traffic, 87 percent of Sample B) leaves the gap at 13.2 points, 70.3 against 57.1 percent. Holding the mix fixed accounts for less than a point of that 14.0-point gap. Fourteen of the 20 are worse on the random sample, two are marginally better, and four are identical. Across 128 sites with a detected Prebid.js version and at least five requests, the median inclusive rate is 62.0 percent on version 9, 64.7 percent on version 10, and 77.4 percent on version 11. Version 8 is four sites. The rank correlation between major version and legacy-field density is +0.128. This corpus does not support older Prebid releases as the cause, and it does not identify a causal effect of upgrading. Why long-tail sites carry more of those fields is not established.&lt;/p&gt;

&lt;h2&gt;
  
  
  Issue shares weight Media.net, and the payload rates do not
&lt;/h2&gt;

&lt;p&gt;Media.net is 3.8 percent of Sample A requests and 25.7 percent of Sample A findings (6.0 percent of requests and 33.8 percent of findings on Sample B). Issue-level shares are media.net-weighted. The payload-level rates above are not. Three recrawls of the same sites from the same address give strict Sample A rates of 42.0, 42.6, and 42.3, a spread of 0.6 points. Same adapters, not a new population.&lt;/p&gt;

&lt;p&gt;The capture, the sampling frame, and the issue-level dataset (16,368 findings, structural paths only) accompany the preprint on &lt;a href="https://www.researchgate.net/publication/412299694_Measuring_OpenRTB_Dialects_in_Client-Side_Header_Bidding" rel="noopener noreferrer"&gt;ResearchGate&lt;/a&gt;, in the &lt;a href="https://openadtech.org/papers/measuring-openrtb-dialects-in-client-side-header-bidding-sekowski-2026.pdf" rel="noopener noreferrer"&gt;PDF&lt;/a&gt;, and at &lt;a href="https://github.com/aleksUIX/rtblint/tree/main/paper/openrtb-wild" rel="noopener noreferrer"&gt;github.com/aleksUIX/rtblint/tree/main/paper/openrtb-wild&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>openrtb</category>
      <category>advertising</category>
      <category>javascript</category>
    </item>
    <item>
      <title>9 VAST Wrapper and Pod Errors That Kill SSAI Fill Before Inline</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Mon, 23 Nov 2026 00:55:47 +0000</pubDate>
      <link>https://dev.to/aleksuix/9-vast-wrapper-and-pod-errors-that-kill-ssai-fill-before-inline-46c3</link>
      <guid>https://dev.to/aleksuix/9-vast-wrapper-and-pod-errors-that-kill-ssai-fill-before-inline-46c3</guid>
      <description>&lt;p&gt;On 2 November 2026, &lt;a href="https://adbic.io/ad-manager-november-2026-sdk-less-video-deals-direct-pay-ssv/" rel="noopener noreferrer"&gt;Google Ad Manager turned on SDK-less video deals network-wide&lt;/a&gt;: Programmatic Guaranteed, preferred, and private auction on VAST no longer require the Mobile Ads SDK. CTV apps, SSAI paths, and custom players that call a tag URL directly are now in scope for deal demand. That shifts QA to the wrapper chain and the inline at the bottom, because the SDK is not there to hide a bad hop.&lt;/p&gt;

&lt;p&gt;VAST, VMAP, and DAAST are separate envelopes with different jobs. A pod is not an element: it is several sibling &lt;code&gt;&amp;lt;Ad&amp;gt;&lt;/code&gt; nodes with &lt;code&gt;sequence&lt;/code&gt; attributes that a stitcher has to walk before it transcodes. Wrapper hops add latency per level. The failures below are the ones I see when fill drops but the first URL in the ticket still looks fine.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Wrapper depth past the stitcher cap.&lt;/strong&gt; VAST 4.x expects players to limit redirect depth. SSAI stacks often hard-stop at three to five hops because each fetch runs inside &lt;code&gt;tmax&lt;/code&gt; for the break. Every hop in the chain can be valid XML while hop four returns a 302 loop or times out. Revenue shows up as unfilled mid-roll, not as a 100-series error in your ad server UI.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;VASTAdTagURI&lt;/code&gt; empty or unreachable on a middle hop.&lt;/strong&gt; Hop one has &lt;code&gt;AdSystem&lt;/code&gt;, impression pixels, and a perfect HTTPS URL. Hop two returns an empty body or &lt;code&gt;VASTAdTagURI&lt;/code&gt; with no scheme. The outer wrapper validates; the stitcher never receives media. This is the pattern the &lt;a href="https://vastlint.org/blog/how-to-validate-vast-wrappers/" rel="noopener noreferrer"&gt;wrapper validation walkthrough&lt;/a&gt; is written for: failures live between hops, not on the paste buffer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Wrong document at the end of a DAAST chain.&lt;/strong&gt; Audio stacks still ship DAAST 1.0 wrappers in the wild. DAAST expects &lt;code&gt;&amp;lt;DAASTAdTagURI&amp;gt;&lt;/code&gt; on a wrapper redirect. A trafficking export that reuses &lt;code&gt;&amp;lt;VASTAdTagURI&amp;gt;&lt;/code&gt; validates as XML and points the audio player at the wrong grammar. See the &lt;a href="https://vastlint.org/docs/rules/DAAST-1.0-wrapper-daastadtaguri/" rel="noopener noreferrer"&gt;DAASTAdTagURI rule&lt;/a&gt; and the mistaken &lt;a href="https://vastlint.org/docs/rules/DAAST-1.0-wrapper-vast-adtaguri/" rel="noopener noreferrer"&gt;VASTAdTagURI on a DAAST wrapper&lt;/a&gt; case.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Boolean wrapper attributes set to strings.&lt;/strong&gt; VAST 4.0 treats &lt;code&gt;followAdditionalWrappers&lt;/code&gt;, &lt;code&gt;allowMultipleAds&lt;/code&gt;, and &lt;code&gt;fallbackOnNoAd&lt;/code&gt; as booleans on &lt;code&gt;&amp;lt;Wrapper&amp;gt;&lt;/code&gt;. Values like &lt;code&gt;true&lt;/code&gt; in quotes or &lt;code&gt;1&lt;/code&gt; pass casual review and confuse unwrap logic in strict parsers. The &lt;a href="https://vastlint.org/docs/rules/VAST-4.0-wrapper-bool-attr/" rel="noopener noreferrer"&gt;wrapper boolean attribute rule&lt;/a&gt; catches the drift.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Non-VAST root on a wrapper fetch.&lt;/strong&gt; An SSP returns HTML, JSON, or a VAST document whose root element is wrong for the declared version. The parent wrapper still looks legal. The &lt;a href="https://vastlint.org/docs/rules/VAST-4.0-wrapper-root-error/" rel="noopener noreferrer"&gt;wrapper root error rule&lt;/a&gt; documents when the hop cannot be treated as VAST at all.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ClickThrough only on the wrapper.&lt;/strong&gt; Some exchanges put &lt;code&gt;VideoClicks&lt;/code&gt; on the outer wrapper for billing while the inline carries media without a click URL. Players that resolve clicks on the inline return no destination; others fire the wrapper click and mismatched reporting. The &lt;a href="https://vastlint.org/docs/rules/VAST-4.0-wrapper-clickthrough/" rel="noopener noreferrer"&gt;wrapper clickthrough rule&lt;/a&gt; is the contract check.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Pod &lt;code&gt;sequence&lt;/code&gt; gaps or duplicates.&lt;/strong&gt; SSAI deduplication and podded breaks assume monotonic &lt;code&gt;sequence&lt;/code&gt; values across sibling ads. Duplicated &lt;code&gt;sequence="2"&lt;/code&gt; or a jump from &lt;code&gt;1&lt;/code&gt; to &lt;code&gt;3&lt;/code&gt; often means the stitcher drops an ad without throwing XML errors. There is no &lt;code&gt;&amp;lt;AdPod&amp;gt;&lt;/code&gt; container to validate against; the &lt;a href="https://vastlint.org/guides/vast-ad-pods/" rel="noopener noreferrer"&gt;ad pods guide&lt;/a&gt; is the reference for how breaks are supposed to add up.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Pod duration that exceeds the break without a servable mezzanine on every ad.&lt;/strong&gt; Long-form CTV inventory expects each pod member to expose media the stitcher can normalize. A pod of four where only the first ad ships a mezzanine master leaves three slots that validate in the ad server and fail on the transcode step. Duration on the inline and mezzanine attributes are readiness gates, not decoration.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Missing wrapper-level &lt;code&gt;Error&lt;/code&gt; when hop two fails.&lt;/strong&gt; Without an error beacon on the wrapper, the buyer never learns hop two returned VAST 303 while hop one already logged a serve. Finance sees delivery on the seller pixel; the creative never attached. Chains that depend on wrapper errors for reconciliation need the URI on every hop you control.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One field example inside item 3: on a DAAST wrapper, a single &lt;code&gt;&amp;lt;VASTAdTagURI&amp;gt;&lt;/code&gt; where the spec requires &lt;code&gt;&amp;lt;DAASTAdTagURI&amp;gt;&lt;/code&gt; is enough for a video-side fetch against audio inventory.&lt;/p&gt;

&lt;h2&gt;
  
  
  How you catch it
&lt;/h2&gt;

&lt;p&gt;Paste or fetch the live tag in the &lt;a href="https://vastlint.org/tester/" rel="noopener noreferrer"&gt;VAST tag tester&lt;/a&gt; to see which media and tracking nodes survived the first fetch. When the ticket is a URL that wraps through SSP and DSP hops, open the &lt;a href="https://vastlint.org/inspect/" rel="noopener noreferrer"&gt;VAST inspector&lt;/a&gt; and walk the chain: depth, &lt;code&gt;VASTAdTagURI&lt;/code&gt; targets, and where the inline handoff happens.&lt;/p&gt;

&lt;p&gt;An implementation that lets a model emit VAST, VMAP, or DAAST still has to check that payload against the environment that was bought. &lt;strong&gt;vastlint&lt;/strong&gt; is that check on the creative side: wrapper structure, DAAST redirects, pod siblings, and version rules. It is independent of IAB Tech Lab and AAO; the spec does not require it. Use &lt;code&gt;cargo install vastlint&lt;/code&gt; or &lt;code&gt;npm install vastlint&lt;/code&gt; in CI after you have unrolled the chain in the inspector.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to go next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Unroll redirects before launch: &lt;a href="https://vastlint.org/blog/how-to-validate-vast-wrappers/" rel="noopener noreferrer"&gt;how to validate VAST wrappers&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Audio-specific redirects: &lt;a href="https://vastlint.org/docs/daast/" rel="noopener noreferrer"&gt;DAAST overview&lt;/a&gt; and inline versus wrapper on DAAST: &lt;a href="https://vastlint.org/docs/rules/DAAST-1.0-ad-has-inline-or-wrapper/" rel="noopener noreferrer"&gt;ad-has-inline-or-wrapper&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Pod trafficking without a pod element: &lt;a href="https://vastlint.org/guides/vast-ad-pods/" rel="noopener noreferrer"&gt;VAST ad pods guide&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Wrapper versus InLine responsibilities: &lt;a href="https://vastlint.org/guides/vast-wrapper-chains/" rel="noopener noreferrer"&gt;VAST wrapper chains&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>vast</category>
      <category>ctv</category>
      <category>advertising</category>
      <category>xml</category>
    </item>
    <item>
      <title>OpenRTB tmax needs a deadline budget that includes network time.</title>
      <dc:creator>Aleksander Sekowski</dc:creator>
      <pubDate>Sun, 22 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/aleksuix/openrtb-tmax-needs-a-deadline-budget-that-includes-network-time-b0p</link>
      <guid>https://dev.to/aleksuix/openrtb-tmax-needs-a-deadline-budget-that-includes-network-time-b0p</guid>
      <description>&lt;p&gt;A bidder can finish scoring within a nominal 120-millisecond timeout and still return too late. Queueing, dependency calls, response construction and network transport consume the same opportunity to deliver a usable response.&lt;/p&gt;

&lt;p&gt;OpenRTB's &lt;code&gt;tmax&lt;/code&gt; is expressed in milliseconds and includes Internet latency in the allowed response time. Treating the full value as an internal compute timeout leaves no protected time for the work outside that computation.&lt;/p&gt;

&lt;p&gt;The practical task is to establish a local deadline from the integration's timing contract, preserve it through internal work and stop launching work that can no longer finish usefully.&lt;/p&gt;

&lt;h2&gt;
  
  
  Establish where your budget starts
&lt;/h2&gt;

&lt;p&gt;Document the exchange's timing boundary and the information your ingress service actually receives. Your local process may not know how much upstream transport time has already elapsed.&lt;/p&gt;

&lt;p&gt;Derive an admitted local budget using the available deadline information, measured transport behavior and integration agreement. Do not claim that starting a fresh &lt;code&gt;tmax&lt;/code&gt; timer after parsing the request reconstructs the exchange's original deadline.&lt;/p&gt;

&lt;p&gt;Record the observed ingress boundary as well. A timer starting when a worker dequeues the request excludes time the request already spent waiting for that worker.&lt;/p&gt;

&lt;p&gt;For the synthetic example below, assume your ingress policy has already assigned a 120-millisecond local budget. The number is illustrative and is not a recommendation for an exchange or bidder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Protect the response path with an explicit reserve
&lt;/h2&gt;

&lt;p&gt;This complete Node.js example models remaining optional-work time. It uses an injected monotonic time coordinate rather than reading the current clock inside the function:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;assert&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;node:assert/strict&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;remainingBudget&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;admittedMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;elapsedMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;reserveMs&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;admittedMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;elapsedMs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;reserveMs&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;every&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nx"&gt;n&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isFinite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;n&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
  &lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;TypeError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nonnegative finite timing values required&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;admittedMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;elapsedMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;reserveMs&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;remainingBudget&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;admittedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;elapsedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;35&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reserveMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;
&lt;span class="p"&gt;}),&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;remainingBudget&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;admittedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;elapsedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;95&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reserveMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;
&lt;span class="p"&gt;}),&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;remainingBudget&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;admittedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;elapsedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;110&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reserveMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;
&lt;span class="p"&gt;}),&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;throws&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;remainingBudget&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;admittedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;elapsedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reserveMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;
&lt;span class="p"&gt;}));&lt;/span&gt;
&lt;span class="nx"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;throws&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;remainingBudget&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;admittedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;elapsedMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;NaN&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;reserveMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;
&lt;span class="p"&gt;}));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At 35 milliseconds elapsed, the policy permits 60 milliseconds of additional work while protecting 25 milliseconds for the remaining path. The reserve is a local engineering choice derived from measurements, not a constant prescribed by OpenRTB.&lt;/p&gt;

&lt;p&gt;At 95 milliseconds elapsed, the optional-work budget is exhausted. The system should follow its defined fallback or no-bid path rather than launch another dependency and hope the response still arrives in time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use monotonic time for durations within a process
&lt;/h2&gt;

&lt;p&gt;A wall clock can change during a request. Use a monotonic clock such as Node.js &lt;code&gt;performance.now()&lt;/code&gt; when calculating elapsed durations within one process.&lt;/p&gt;

&lt;p&gt;Keep the start observation and later observations in the same clock domain. Subtracting an epoch timestamp from a monotonic timestamp produces a number with no useful meaning.&lt;/p&gt;

&lt;p&gt;Across processes, define how you propagate deadlines and account for transport and clock assumptions. A raw &lt;code&gt;performance.now()&lt;/code&gt; value from one process cannot be interpreted as the same coordinate in another process.&lt;/p&gt;

&lt;p&gt;If your infrastructure propagates an absolute deadline, document clock synchronization assumptions and conversion at each boundary. If it propagates a remaining budget, account for the time spent in the handoff. Neither representation eliminates the need to define the timing contract.&lt;/p&gt;

&lt;h2&gt;
  
  
  Avoid resetting the timeout at every hop
&lt;/h2&gt;

&lt;p&gt;Suppose ingress grants a dependency 60 milliseconds, and the dependency grants its own downstream call another full 60 milliseconds after doing local work. The second call has effectively extended the original budget.&lt;/p&gt;

&lt;p&gt;Pass the remaining deadline context through the call graph. Before an optional call, compare its allowed duration with the remaining budget and the reserve needed after it returns.&lt;/p&gt;

&lt;p&gt;The same rule applies to retries. A failed attempt does not create a new auction deadline. Decide whether another attempt can complete inside the time still available, rather than restarting a full timeout from the original request.&lt;/p&gt;

&lt;p&gt;Be careful with timeout wrappers that only reject a local promise. They may leave the underlying network request or computation running. Where the client supports cancellation, propagate it, and still assume that cancellation may arrive after remote work has started.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measure intervals without counting them twice
&lt;/h2&gt;

&lt;p&gt;Record queue delay, parsing, dependency latency, scoring and response serialization with a common request correlation identifier. Preserve whether intervals run sequentially or overlap.&lt;/p&gt;

&lt;p&gt;Adding two parallel dependency durations as if they were sequential overstates elapsed time. Looking only at scoring understates it. A trace with start and finish observations makes the critical path inspectable.&lt;/p&gt;

&lt;p&gt;Examine tail behavior, not only averages. A reserve that covers a typical request may fail under queue pressure, connection setup or a slower dependency. Use measurements from the relevant deployment and update the policy deliberately.&lt;/p&gt;

&lt;p&gt;Also record when the local response became ready and, where available, the exchange's observation of arrival. Local completion is useful evidence but does not directly establish remote deadline acceptance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exercise the deadline path before an incident
&lt;/h2&gt;

&lt;p&gt;Use a fake clock for budget arithmetic and controlled delayed dependencies for integration tests. Test the exact cutoff, a completed dependency just before cutoff and a response that becomes ready after the allowed point.&lt;/p&gt;

&lt;p&gt;Assert that exhausted budgets do not launch optional work. Verify that the fallback uses the exchange's supported timeout or no-bid behavior and does not emit a late response under an unrelated retry path.&lt;/p&gt;

&lt;p&gt;Handle a missing or malformed &lt;code&gt;tmax&lt;/code&gt; through an explicit ingress policy. Do not let a numeric conversion turn missing input into an unlimited timeout, or assume that zero means unlimited without checking the integration contract. Record which default or rejection rule applied.&lt;/p&gt;

&lt;p&gt;I maintain RTBlint. Its &lt;a href="https://rtblint.org/docs/openrtb/?utm_source=dev.to&amp;amp;utm_medium=referral&amp;amp;utm_campaign=reference-series-2026&amp;amp;utm_content=openrtb-deadline-budget"&gt;OpenRTB request reference&lt;/a&gt; helps inspect &lt;code&gt;tmax&lt;/code&gt; and related request fields. Pair payload checks with the measured service path, since structural validation cannot establish that your response reaches the exchange before its deadline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/InteractiveAdvertisingBureau/openrtb2.x/blob/2.6-202606/2.6.md" rel="noopener noreferrer"&gt;OpenRTB 2.6-202606, BidRequest.tmax&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Technical sources checked October 25, 2026. Drafted with AI; examples are synthetic unless explicitly stated otherwise.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>openrtb</category>
      <category>performance</category>
      <category>backend</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
