arXiv:2610.39093cs.SEOct 2026

Manuscript Offprint

arXiv:2610.39093

Do Open-Source Video Ad Clients Follow VAST 4.3? An Empirical Study of Player Conformance

Prashant Chaudhary

Abstract

Context. Video ads reach streaming and connected-TV apps through VAST documents, and companies count ads from the HTTP requests the player's client library sends. A tracking error can leave playback intact and surface later as disagreeing counts.

Objective. To measure how far open-source VAST clients meet the player duties of VAST 4.3, whether verdicts depend on the runtime, what generated inputs add, and when deviations were introduced.

Method. A catalog of 108 requirements was extracted from the specification. Six open-source clients in eight configurations ran against 69 crafted test vectors and the IAB's sample tags, under Node.js and in five browsers on three engines, with every request recorded. Grids, fuzzing and a sweep over 36 releases extend the catalog; Google's closed IMA SDK is a comparison.

Results. The open-source clients have 78 findings and 3 to 21 must-level deviations per configuration. None of the tested open-source clients that follow redirect (Wrapper) chains fills the required macros in a Wrapper's request; the archived IMA 3.794.0 configuration tested does. One library's timeout throws an exception no caller can catch, ending a Node.js process. In a pod (ads played back to back), one player credits a finishing ad's completion to the next ad, fixed in release 5.3.0. A library can conform under jsdom and deviate in every tested Chrome-and Safari-family browser.

Conclusions. The tested clients diverge on the duties other companies use to count and diagnose ads. A shared conformance suite run in real browsers could expose most graded deviations; the harness and vectors are released.

Keywords: VAST; conformance testing; specification-based testing; test oracles; ad SDKs; empirical study

1. Introduction

Many standards are implemented many times over, often by small libraries with no published check against the text. When such a library is wrong, the consequence often falls on a party that never runs it. Video advertising is an extreme case. An ad in a streaming service or a connected-TV app reaches the screen through a VAST document (Video Ad Serving Template) (IAB Technology Laboratory 2022). The ad servers in the chain are run by different companies. The first often does not have the ad and returns a Wrapper, a document that points to another company's server; the

Figure

Figure 1. How a VAST ad reaches the screen and is counted. The player follows a chain of Wrappers to the InLine ad, then sends impression, progress and error requests to every server in the chain; each server counts the ad only from the requests it receives.

player follows the chain to an InLine document that holds the ad. As the ad plays, the player's client library sends HTTP requests back to every server in the chain. It sends an impression request when the ad starts, quartile and completion requests as it plays, and an error request when something fails (Figure 1). Advertisers pay, and ad servers diagnose their supply, from those requests. A library that sends them wrongly breaks nothing on screen; the ad plays and the content resumes.

A pod is a group of ads played back to back, each with its own completion URL. A player receives a pod of three ads and plays all three without a visible problem. On the wire, the first ad's completion request is never sent, the second ad's is sent when the second ad starts, and the third ad's is sent twice. The total number of completions is right, but the first ad is never credited, the second is credited early and the third twice, and a check of the pod's total alone shows nothing wrong. The player is Shaka Player 5.2.12; its 5.3.0 release fixes this case and adds one regression (Section 5.1.3). A second case is a crash. Some companies resolve VAST chains on a server, for example for server-side ad insertion, which stitches ads into the video stream itself. There, a slow server anywhere in a chain makes one widely used library throw an exception that no caller can catch, and the whole Node.js process exits.

The libraries are widely used: in September 2026 the most downloaded of the dedicated VAST libraries, vast-client-js, was downloaded about 237,000 times from npm, and Shaka Player, whose ad module is one of the clients tested, about 1.6 million times. Downloads count package fetches by developers and build systems, not players in the field, so they indicate use, not deployment. VAST is an open specification, but its conformance is self-declared. IAB Technology Laboratory (IAB Tech Lab), the industry body that maintains VAST, publishes the specification, sample tags and a tag validator; a validator checks the document an ad server sends. This study found no published suite that checks what a player does with that document, and no academic study known to the author has tested VAST clients against the specification (Section 3). This paper provides that study for six open-source VAST client libraries used in web and Node.js players. It asks four research questions:

  • RQ1 (Conformance). To what extent do open-source VAST clients meet the VAST 4.3

player duties they take on (some libraries leave duties such as rendering to the integrating player), where do their deviations cluster, and how does a closed production SDK compare?

  • RQ2 (Runtime). Which verdicts depend on the runtime and platform the client runs in, and why?

  • RQ3 (Beyond the catalog). Does one test vector per requirement predict a client's behavior on generated variants of the same failure, and what does mutation fuzzing find that the catalog does not?

  • RQ4 (History). When were the deviations introduced, and how long have they persisted?

Study design. The oracle is the specification text. The player obligations of VAST 4.3 and of the IAB macro list (the list of URL placeholders a player fills; Section 2) were extracted into a catalog of 108 requirements, each with the section it rests on and its strength as written (must, should or may; Appendix A). A recording server serves crafted test documents (the test vectors) and logs every request a client makes, and each requirement is graded mostly from what reaches the network (Figure 2). Each client runs through its documented integration in two layers: under Node.js (the Node.js layer) and in real browsers (the browser layer). The open-source clients are analyzed white-box: every deviation is traced to the source line that produces it, or to the absence of any code for the duty. Google's closed IMA SDK is a black-box reference, graded only from its network requests and the events of its public API (Section 5.1.5). Generated error and macro grids, a mutation fuzzer and a sweep over earlier releases test the catalog's coverage and date its findings (Section 4).

References (40)