Check VAST Media Files Before You Release a Video Ad
A VAST response can name an MP4 and still send a player a file it cannot use. Compare the MediaFile declaration with the video bytes you actually receive and the placement's accepted formats. A local decode or a successful upload is useful evidence. The final choice still needs playback through the intended route.
By FroggyAds, November 25, 2026
Start with the recipient's requirements
Ask the ad operations owner which type of delivery the placement actually uses. A hosted upload, a VAST response that points to a ready-to-serve file and a server-side stitching route can ask for different assets. A seller might take a wide range of original uploads and generate a narrower set of outputs for delivery. Google Ad Manager documents its upload formats and generated hosted versions separately. Its creative profiles can also apply their own limits to media types, resolution and bitrate.
Write down the combination you will test. It can include container, encoding, dimensions, duration, frame rate, bitrate, audio and allowed hosting. An MP4 requirement tells you about the container. A requirement for H.264 identifies the video encoding. Two files can share a container and have different video streams. Ask which streams and profiles are supported when the recipient uses more specific rules.
Pin the approved route to a placement, ad tag version and named owner. If a spec says one thing and a known working creative seems to do another, ask which instruction applies to this inventory. Avoid opening a new purchase on a guessed format. Use our video ad size guide to get the dimensions and shape review under way while the delivery requirements are confirmed.
Follow the response to the asset it offers
Capture the exact approved request used for the check. Keep its timestamp and the creative identity in your work record. In a setup with wrappers, follow the path through the authorized preview until you can inspect the InLine response for that impression. Look at the MediaFile entries under the linear creative. A file you received by email can match the master without being the file on that path.
For each applicable entry, note the URI, declared MIME type and delivery value. Record the other supplied fields that matter to the placement, such as the dimensions and bitrate. The IAB Tech Lab VAST rules describe the type as the MIME type of the container. A separate codec field, where supplied, is still a declaration. VAST 4.3 directs a selection to account for the available files' attributes. Reordering the list is an unreliable way to control which suitable rendition the recipient uses.
Keep the ready-to-serve versions and any mezzanine separate. The latter is a high-quality source for workflows such as ad stitching and transcoding. Its presence says little about whether the ready-to-serve link returns the expected file. Likewise, progressive media delivery and a streaming manifest are different routes. If the recipient uses a manifest, ask which rendition it chose and how to access the appropriate verification. The local file example below is for progressive media only.
| Checkpoint | Evidence to save | Question it can answer |
|---|---|---|
| Ad response | Creative version, MediaFile URI, type and delivery | What did this response tell the recipient to load? |
| Media delivery | Final response status, representation Content-Type and file identity | What came back from the approved media route? |
| Encoded file | Container, video and audio streams, and relevant dimensions and duration | Which format is actually inside those bytes? |
| Intended placement | Applicable requirements, observed selected file and preview result | Does the intended player or stitching route accept what it received? |
Read the actual file before changing any labels
Use the media delivered by the approved route. Capture the final HTTP response, including the Content-Type where provided, and inspect the returned object. The media-type header describes the response representation. It is a separate statement from the declared VAST type and from the filename. A file served alongside a valid ad response can still turn out to be an expired-access page or a different export. A status that indicates success shows that a response was served. It cannot identify the codec inside it.
On a local copy of the authorized file, a possible inspection is ffprobe -v error -show_format -show_streams -of json "creative.mp4". Read the container fields and separately locate the streams with video and audio types. Use the codec names, dimensions, frame rate and duration where available. Some tools report format families because related containers share a demuxer. If the output is ambiguous, compare its reported container details with the encoder record and the recipient's documented acceptance rules. Save the output beside the version or hash it describes.
Probe output describes the container and available fields. Run a full local decode if you need to distinguish a good header from an incomplete export. Then test recipient playback. That player can support a different set of encodings from your desktop tools. If an upload service transcodes the asset, measure the delivered version after the process finishes. Our video campaign setup guide covers what else belongs in the delivery trace around this check.
Follow the two failures in a small file test
We generated three silent test clips from the same pattern. Each is two seconds long at 320 by 180 pixels and 24 frames per second. FFprobe identified their streams, and FFmpeg decoded all three locally. That leaves the container declaration and the intended video encoding as separate comparisons. These dimensions and the rule below are for the teaching example. Use your placement's actual limits in a campaign.
Assume a proposed progressive route asks for MP4 with H.264. All three rows represent a file offered with a MediaFile declaration of video/mp4. The declaration and route are hypothetical. We inspected and decoded the three files offline. We did not send a tag, set a delivery header or run a recipient player for this fixture.
| File observed in the offline check | Encoded video | Matches the example declaration | Fits the example route rule |
|---|---|---|---|
| WebM | VP9 | No. The declaration names MP4. | Hold. Both the container and codec differ. |
| MP4 | MPEG-4 Part 2 | Yes. The file is MP4. | Hold. The actual video codec differs. |
| MP4 | H.264 | Yes. The file is MP4. | Take to the recipient's preview. The checked fields fit. |
The first clip is a valid WebM in the offline check. The ad has a mismatch between what it says and what it points to. If the intended recipient accepts MP4 only, changing the type to WebM would make the declaration accurate and leave the file outside the stated rule. Replace the link with a verified eligible asset or use the proper export. Renaming the file cannot change the container.
The second clip shows why an MP4 can still be rejected. The declaration and container agree. The content is encoded as MPEG-4 Part 2, which is outside this example's H.264 requirement. Send the encoder a request for the actual accepted encoding, then inspect and decode the revised file. One of the three files cleared the two format checks. All three decoded locally. That difference is the reason we retain both observations.
Make a repair that corresponds to the failed check
When the bytes are suitable and the declaration is inaccurate, ask the tag owner to correct the fields and retain the same verified file version. When the tag is accurate and the HTTP response identifies a different representation, have the authorized media host review the actual response. If the URL serves an error document, repair delivery and obtain the media before drawing an encoding conclusion. For a replacement file, verify the hosted bytes after uploading. It is possible to probe your new export successfully and leave the old one on the approved link.
When the actual file does not fit the recipient, work from its current specification. Use an approved export or request a re-encode. Capture the applicable requirements beyond the short codec name, including audio and any limits on profile, level or bitrate. Review the other changes introduced by that export. A re-encode can affect compression, subtitles, edges or spoken audio. A good format result should lead to a matched content review on the exact artifact the buyer will use.
Keep the other eligible versions in the campaign only if that route needs them and they meet its rules. You can leave a documented WebM alternative for a distinct recipient that supports it, with an accurate declaration for that file. Confirm what in the actual response offers the right version to each route. Keep the file hash or useful host version beside the creative ID. Our creative version guide helps when the stored version and served creative are hard to distinguish.
Use a player error to narrow the investigation
Ask for the actual error and the stage at which it appeared. Google Ad Manager documents a 403 VAST error for a response whose offered MediaFiles all declare unsupported types. It lists MIME versus file mismatch alongside other possible causes of error 405. An error code can help determine which records to ask for. It cannot establish what went wrong in a particular delivery without the response and file evidence. When the recipient reports a missing required mezzanine, review the stitching requirements separately.
Start with a known supported file in the affected preview. Capture which version the recipient selected and between which two observations the failure recurs. Use the actual host and approved file route if the owner can reproduce it safely. Playback by a technician in a desktop player only tests that player's ability to read the file. If the media never loads, review delivery evidence before changing the codec.
If different devices are in the media plan, report results for each route that was tested. Give the buyer enough detail to hold a group that cannot yet run while retaining a verified separate group when the approved controls make that possible. If a change routes the creative to a new player, check there before resuming. For television inventory, cross-check the connected TV buying guide for the wider supply and screen decision.
When you are planning a FroggyAds video test, choose the supported creative option for the placement and verify the exact submitted file or tag in the available preview. Have the intake requirements and the intended destination ready for that review.
Tie the release record to what the buyer can verify
Write a single row with the submission ID, final file identity, placement and owner who reviewed it. Add the result at each layer. State whether the recipient has actually returned and played the expected file. If only the offline probe is complete, treat playback as open. Keep the approved response version with that record so the next operator can tell whether a new wrapper, destination, CDN change or re-encode invalidates the earlier observation.
Before extending spend, run the corrected asset through the intended path and review a limited first delivery where the setup allows it. Save the selected version and evidence of its playback. Use the usual business event and cost for the media decision after delivery is established. Review video quartile discrepancies if the file plays and the remaining disagreement is in the playback events.
Set up the campaign when your chosen creative matches the current format and the approved preview shows the expected result. Bring the report for that version into your first spending review.
Create your FroggyAds account for the verified video campaign
Frequently asked questions
Is VAST itself a video format?
VAST is a structured ad response through which a compatible recipient can learn what media and related resources to request. The chosen media file has its own container and encoding. Check the response and the file as related records.
Does a .mp4 extension mean the file uses H.264?
No. MP4 is a container and can hold different encoded streams. Inspect the actual video codec and any other relevant profile and audio details. The file name is useful for finding the export that needs review.
How can the ad name MP4 while the delivered file is WebM?
The MediaFile type and the URI can be maintained separately. The URI can also return different bytes from those the author expected. Compare the declaration, the delivered response and the actual file before deciding which owner needs to fix it.
Should I update the MIME type or export another file?
Correct the declaration if the existing media bytes already meet the recipient's requirements and the declaration is the defect. Request an approved replacement or re-encode when the actual bytes fail the recipient's requirements. Review the response header independently.
Can I put the usable rendition first to fix selection?
VAST 4.3 recommends selection based on the rendition attributes. Correct the information and intended files the recipient is allowed to choose. Exercise the selection on the approved route and retain evidence of which version it uses.
Does a mezzanine replace the ready-to-serve file?
Check the actual workflow. VAST describes separate mezzanine media for ad stitching and also defines ready-to-serve files. Determine which rendition the recipient is supposed to play or generate. Test that deliverable against the relevant requirement.
Does a 405 VAST error prove a MIME mismatch?
Google Ad Manager lists that mismatch as one possible cause of its MediaFile display error. It also describes other possibilities. Use the real device, response, delivered file and handoff logs to establish the cause for your case.
Can one laptop test prove that the CTV placement can run the ad?
It can show local decoding or playback for the test software and export. Check the television supply or stitching route in the supported recipient preview before marking it ready. Record the device scope that the evidence covers.
What should I share when I ask the seller to review a failure?
Share the relevant placement, time, creative version, documented requirement, MediaFile details and the result observed in the authorized preview. Provide sensitive host or tag details through the approved support route. Also state which alternate file you have already checked.
When should I run the same format check again?
Repeat it when the selected file, export settings, delivery host, wrapper or destination placement changes in a way that can alter the media path. Use a versioned record so earlier evidence stays attached to the version it actually tested.
Sources
- IAB Tech Lab's MediaFiles, MediaFile and mezzanine sections. VAST 4.3 specification
- IETF's definition of an HTTP response media-type field. HTTP Semantics, Content-Type
- FFmpeg's documentation of format and stream inspection. FFprobe documentation
- Google Ad Manager's explanations of MediaFile and mezzanine errors. Understand VAST error codes
- Google Ad Manager's placement-specific format controls. Video and audio creative profiles
- Google Ad Manager's separate upload and generated format descriptions. Video and audio formats and transcoding