VASTlint
Back to blog

The VAST Tester now explains no-ad responses and tag URL failures

A valid no-ad response, an ad script, and a tag server rejection need different fixes. The Tester now shows which response arrived and what to check next.

Author

Alex Sekowski

Published

October 10, 2026

Reading time

5 min read

VASTTesterDebugging

Pasting a tag URL first makes a network request. XML validation begins after an XML-looking response arrives. The server might return valid VAST with no ad, JavaScript for a display placement, or an HTTP error before any VAST arrives. Retrying the same URL cannot change a JavaScript endpoint into a VAST endpoint. The Tester now distinguishes these outcomes and shows the response details that support its diagnosis.

The video compares the old and new Tester with three synthetic responses. Each case below explains what the result means and what to check before asking a tag provider for help.

Before and after in the Tester. The recording uses synthetic tag responses and contains no visitor inputs.

The Tester separates fetch failures from VAST validation

The Tester fetches a live URL through its proxy. If the tag server rejects the request, the result reports the upstream HTTP status and, when available, a short preview of a text, JSON, or XML error body. If the request succeeds but returns a non-XML body, VASTlint classifies that response as 422 and shows the original upstream status, content type when provided, and up to the first 160 characters. Once XML arrives, the validator checks the VAST document and reports its findings.

That distinction matters when a result displays 422. For example, the tag server may have returned HTTP 200 with JavaScript. In that case, the 422 comes from VASTlint's non-XML classification. The upstream status in the response details shows what the server actually returned.

An empty VAST document can be a valid no-ad response

The IAB VAST 2.0.1 schema allows the VAST root to contain zero Ad elements. This response is valid XML and valid VAST, but it contains no creative:

This VAST response contains no Ad element.
xml
<VAST version="2.0"></VAST>

The Tester now labels this as a valid no-ad response. That result identifies what the URL returned. The server's reason for no fill remains unknown. If a creative was expected, check the request context and the server's targeting, inventory, and delivery logs. Changing the XML syntax cannot create an ad that the server did not return.

A JavaScript response needs a VAST endpoint

An ad provider can offer several tag formats under similar looking URLs. A display tag may return HTTP 200 and JavaScript, as in this illustrative response:

This response returns JavaScript.
text
HTTP/1.1 200 OKContent-Type: application/javascript (function () { /* display ad */ })();

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.

When a non-XML response carries a JavaScript content type, the Tester identifies it as an ad script and shows a response preview beside an example VAST opening tag. Ask the provider for the VAST endpoint for video playback, or paste the returned VAST XML directly. If the server labels JavaScript with another content type, the Tester may use the broader non-XML message; inspect the preview to see what arrived.

A tag server rejection happens before XML validation

An upstream HTTP 400 means the tag server refused the request. The Tester now names that rejection and shows a readable response preview when the server provides one. This example is illustrative:

The tag server rejected this request.
text
HTTP/1.1 400 Bad RequestContent-Type: application/json {"error":"missing app_name"}

The response may point to missing app or domain context, a blocked request, or another provider requirement. A copied tag can also contain placeholders such as %%APP_NAME%% that a player normally fills. The Tester sends the URL as entered and calls out unresolved macros when a client error follows. Supply valid test values or ask the provider for a working test URL. A 404 instead points to a missing URL; other HTTP failures retain their status in the result.

The preview gives evidence, but the player may send a different request

The response preview is deliberately short. It contains at most 160 characters and may be unavailable for an unreadable or non-text error body. It shows what the Tester received. The server's delivery logs can explain its decision. A real player can supply different macros, headers, cookies, or location context, so its response may differ from a test through VASTlint's proxy.

When escalating a failure, send the provider the tested URL, the upstream status, content type, response preview, time of the test, and the player context you expected. For a valid no-ad response, ask why the request did not fill. For an ad script, ask for the video VAST endpoint. For a rejected request, start with the server's error message.

Read the schema and the no-ad explanation

The root Ad element has minOccurs set to zero.

Why VASTlint retired its former empty-root error rule.

Check a live tag URL

Paste the URL into the Tester to see the returned response and the next step for that result.

Open the Tester

Related stories

All posts

Check a tag while you read.

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