VASTlint
Back to blog

Mayfly raised a question a VAST tag can only partly answer

A duplicate VAST impression URL gives an engineer a specific counting bug to test. Pixalate found the Mayfly identity anomaly earlier in the auction.

Author

Aleksander Sekowski

Published

November 24, 2026

Reading time

6 min read

CTVVASTMeasurement

Put two identical impression URLs in a video ad response and an engineer can point to a line of XML worth fixing. Put an invented television in the auction that precedes that response and the very same engineer may receive a perfectly ordinary tag. That distinction matters when a buyer asks the creative team to explain an invoice.

In its Mayfly investigation, Pixalate reported that familiar streaming app identities appeared alongside striking device-ID turnover. The report estimated about $135 million in advertiser spend at risk from May through October 2026. It did not identify a changed VAST document or establish who sent an individual tracking request. For a creative engineer, the useful question is narrower. Could something in our copy of the tag explain the extra impression calls we see?

Start with two lines of XML

The VASTlint repository contains a small VAST 2.0 fixture with this pair of elements inside one InLine ad. The example predates this article. It is a local test file, independent of the traffic Pixalate investigated.

Snippet
xml
<Impression><![CDATA[https://example.com/impression]]></Impression><Impression><![CDATA[https://example.com/impression]]></Impression>

Run the full fixture locally. From the root of the VASTlint checkout, use this command.

Snippet
sh
vastlint check crates/vastlint-core/tests/fixtures/warn_duplicate_impression.xml

On this fixture VASTlint reports a warning named VAST-2.0-duplicate-impression. Both elements instruct the player to report the impression to the same URL. A player honoring both entries could send two requests for one ad. The full fixture also produces unrelated findings. For a regression test, assert the presence of the duplicate-impression warning instead of assuming every warning in the file has the same cause.

Two recipients can be correct

An impression may need to be reported to more than one party. A publisher and an independent measurement service can each supply a URL. Deleting the second element simply because the tag contains two would break reporting for one of them. Keep the original XML, note who supplied each URL and check where each element appears before changing an integration.

A wrapper can contribute a tracker before the player reaches the final InLine ad. If the agency captured only the final InLine, its copy can look different from what the player resolved. Ask for the wrapper responses belonging to the same serving transaction and record which hop introduced each URL. A fresh request for the same tag tomorrow can resolve to a different ad, even if the placement and campaign names are identical.

The warning in the fixture answers a small question precisely. The strings are identical in one response. It does not tell us whether the player made either request, whether a collector deduplicated two arrivals, or whether an exchange booked a second charge. Each of those answers rests with a different system.

Get VAST spec updates, platform guides, and release notes in your inbox.

Signing up means you agree to receive VAST debugging guides and release updates. Privacy.

Look for the second charge

Consider a discrepancy ticket with one ad start in the publisher's player log and two requests in a measurement collector. The buyer's invoice export shows a single billed impression. The creative team still has work to do if the response contains the duplicated URL. Its error may affect a vendor dashboard, optimization inputs, or a report going to the client. The available invoice evidence supports one charge.

Now change one detail. Suppose the invoice contains two distinct billed lines. Grouping events by campaign and minute is too coarse to establish that the buyer paid twice for the same ad. On a popular stream, many legitimate impressions can share both fields. Ask the exchange for its transaction keys and delivery terms, then check whether the two rows represent a correction, two distinct plays, or two charges for the same delivery.

This is where one small accounting decision can save an afternoon. Group collector attempts at the event level before joining to the invoice. Otherwise the join itself can turn one charge and two requests into two rows of spend. I work through that arithmetic, including a case where the player logs are missing, in the DEV article linked below.

What a clean tag buys you

A clean result removes a candidate explanation. If the raw response and its captured wrapper hops contain the expected impression URLs, I can tell the buyer what my team actually checked. I can also hand over the specific serving transaction and say which publisher or player log would settle the next question. That is a more defensible reply than sending a green screenshot of a tag fetched later.

An XML document can describe an ad consistently even when the seller has misrepresented where the ad will run. The incoming auction carries the claimed app, device and selling route. A tracker on the response can repeat those claims without adding another witness. Getting the same app name back from the creative system tells us little if both systems copied it from the same bid request.

Server-side insertion adds another wrinkle. A stitcher can legitimately send tracking requests on a player's behalf. Seeing a server address at the collector is consistent with that architecture. To use the request in a delivery dispute, ask what triggered it. Preparing an ad break, inserting media into a stream and receiving an ad-start event from the player are distinct events. Find out which one the contract and implementation actually use.

Keep the reproduction attached to the ticket

I'd save a redacted copy of the response and any captured wrapper hops alongside the validator version and the finding. Keep URL equality intact when redacting. Replacing every query string with the same placeholder can make two distinct destinations look identical. Conversely, assigning different placeholders to each occurrence of the same value can hide the duplication you are trying to reproduce.

Then record the player's observed behavior in a separate field. If the player attempted both calls, say how you observed them. If the only available evidence is the XML, leave the attempt count unknown. This lets another engineer rerun the fixture and reach the same conclusion even if they have no access to production traffic or customer identifiers.

After the fix, use a controlled playback with a receiver you own and check both the count of requests and the number of distinct intended recipients. A test that only asserts that the total fell from two to one can also pass when a developer accidentally removes the independent measurement partner. Naming the expected recipients makes that regression visible.

Choose the metric before looking at the result

Suppose the release engineer can run the fix on a small test placement. I'd write down two expected observations before the run. The captured response should contain one occurrence of the formerly duplicated destination, and the controlled receiver should see one initial attempt per playback under normal network conditions. Then repeat the playback with a second, distinctly named recipient configured. Both intended recipients should still see the event. Keep retry attempts in their own column.

If the warning disappears and the controlled playback behaves as expected, close the creative regression. If the production reach report still jumps on one reseller after that fix, reopen the seller comparison with fresh evidence. Otherwise the original bug becomes an explanation that is repeated long after its measurable effect has disappeared. Recording which observation would change your mind gives the next person on call a concrete place to start.

Put the seller back in the investigation

Pixalate's most useful comparison for this ticket involved one unnamed app. It reported a 0.03% flagged rate through an exchange listed by the app and 79% on a reseller route that supplied no chain information. It did not give volumes for the two routes. A blended app-level rate would hide the difference. Neither percentage says anything about how many impression elements were present in a tag.

That gives the creative team a practical handoff. Identify the seller account and exchange for the disputed transactions, retain the captured response, and ask the supply team to compare that route with another route to the same app. When the response shows duplicated instructions, fix them and measure the change. When the charge depends on a disputed audience, the publisher and exchange need to supply evidence about that purchase.

Further reading

Related stories

All posts

Check a tag while you read.

Open a related example, then replace it with your own tag.