Fahad Anwar Muneer Contributor, 5centsCDN | Video Live Streaming | CDN | Restream

Ad Creative Hosting for CTV: What the CDN Must Get Right

Every ad that plays on a connected TV starts as a file sitting on a server somewhere. When the file is there, fast, in the right format and at a URL that has not changed under the ad server’s feet, nobody thinks about it. When any of those things is wrong, the break fills with slate, the VAST error counters climb, and the campaign under-delivers without anyone being sure why. Ad creative hosting is the unglamorous layer that decides which of those outcomes you get.

This guide explains what ad creative hosting is, where it sits in the ad chain, which files you need, why versioning and URLs matter more than most teams expect, and what a CDN has to get right to deliver creatives reliably. It ends with a pre-flight test you can run on every creative before it goes live.

What Ad Creative Hosting Actually Is

Ad creative hosting is the storage and delivery of the video files that ads are made of. The files might belong to an advertiser, an agency, an ad server or a publisher, but wherever they live, something has to store them and something has to serve them, quickly and repeatedly, to whoever asks.

Where the file is fetched from depends on who builds the ad. An ad server returns a VAST response that points to one or more media file URLs. If you are new to that response, our explainer on what VAST is covers the format. The media files are what this article is about. In a server-side setup, the ad platform fetches the file, prepares it and stitches it into the stream, so the viewer never touches the creative URL. In a client-side setup, the player fetches it directly. Either way, the same URL has to work.

StepWho does itWhat is fetchedIf it fails
1. Ad requestPlatform asks the ad decision serverVAST response (XML)No ad returned; break fills with slate
2. Creative lookupPlatform reads the media file URLsNothing yetWrong or missing file reference
3. Creative fetchAd platform or playerThe media file from the hostFile not found, timeout or blocked
4. PreparationAd platform, if server-sideTranscoded renditionsUnsupported file means no ad
5. PlaybackStream or playerSegments or the file itselfStall, skip or error beacon
Diagram of the ad chain from ad request to playback, with the creative host highlighted at the fetch step
Where creative hosting sits from ad request to playback

The decisioning side of this chain is covered in our guides to the ad decision server and to server-side ad insertion. Hosting is the piece underneath them, and it is where a surprising share of “mystery” no-fills originate.

The Files: Master, Mezzanine and Delivery Renditions

A single ad usually exists as several files, each with a different job, and mixing them up is a common source of trouble.

  • The master. The original, highest-quality deliverable from the production house. It is large, it is not meant to be streamed, and it belongs in archive storage, not behind a CDN.
  • The mezzanine. A high-quality intermediate file kept as a source for further processing. The VAST specification has a way for a response to supply one, aimed at systems that transcode ads before they are stitched in. Where a platform requires a mezzanine and the response omits it, the ad is rejected with an error.
  • Delivery files. The files the player or ad platform actually plays, normally H.264 video in an MP4 container, in one or a few bitrates. Some connected TV devices also want an HLS version of the ad.

Two practical rules follow. First, the best file in the response matters more than the others. Some server-side platforms pick the highest-bitrate media file in the response as the source for their own transcoding, so a poor top file degrades every rendition made from it. Second, an unusual file can take the whole ad down. Platforms that transcode on the fly fail the job on unsupported input formats or odd resolutions, and a failed job means no ad is shown, with nothing wrong on the surface of the VAST response.

Keep a spec matrix, because specs differ by platform

There is no single universal creative spec. Buyers and publishers publish their own, and they differ on file size limits, accepted durations (commonly 15 and 30 seconds), resolutions, bitrates and whether extra formats are tolerated. Some CTV placements only accept MP4 and are hurt by other media files in the response. Rather than memorising any one list, keep a matrix of the attributes that matter and check each creative against the platforms it will run on.

AttributeWhat to record per platform
Container and codecMP4 with H.264 is the common baseline; note any HLS requirement for TV devices
Resolution and aspect ratioMinimum and recommended, and any resolutions to avoid
BitrateRequired range, and whether a low-bitrate file is needed for mobile
DurationAccepted lengths, and whether different lengths must be in separate tags
File sizeMaximum per file
AudioCodec, and loudness requirements if the platform has them
TransportHTTPS required, and any limit on redirects or wrapper depth

URLs and Versioning: The Quiet Bug

The most expensive mistakes in creative hosting are about identity, not quality. A creative has three things that can look alike and are not: its creative ID in the ad server, its file URL on the host, and any universal ad identifier that follows the ad across systems. Treat them separately.

IdentifierWhat it is forRule
Creative ID in the ad serverTells the platform which ad this is, often used as a cache keyUse a new ID for new content
File URL on the hostWhere the bytes are fetched fromNever overwrite; publish new versions at new URLs
Universal ad identifierFollows the ad across ad servers and reportingKeep stable for the same advertised work
Comparison of overwriting an ad creative at the same URL with publishing versions at new URLs
Overwriting a file at the same URL versus publishing each version at a new URL

The reason for the first rule is that some platforms index each creative by its ID and, when they have seen the ID before, reuse the stored copy instead of fetching again. If you swap a corrected file in under the same ID, the platform quietly keeps playing the old one. The reason for the second rule is caching. A CDN is built to keep serving the version it already holds, so overwriting a file at the same URL means some edges serve the old bytes and some the new, for as long as the cache lifetime lasts. Putting a version in the path removes the whole class of problem:

Fragile (the same URL changes content):

  https://ads.example.com/acme/spring-30s.mp4

Safe (a new URL for every version):

  https://ads.example.com/acme/spring-30s/v1/1080p.mp4

  https://ads.example.com/acme/spring-30s/v2/1080p.mp4

Then cache the versioned file for a long time:

  Cache-Control: public, max-age=31536000, immutable

Check how your own ad platform treats a reused creative ID before you rely on any of this, because behavior differs. The safe habit is the same everywhere: new content gets a new ID and a new URL, and old versions stay available until nothing references them.

What the CDN Has to Get Right

Once the files and URLs are right, delivery is a short list of technical requirements. Each one is easy to miss, and each fails in a way that looks like something else.

RequirementWhy it mattersHow it fails
Valid HTTPSAd platforms and players commonly require secure creatives; a broken certificate chain blocks the fetchMixed content or rejected creative
Correct MIME typeThe file must be served as video/mp4 (or the right type for its format)Creative rejected as unsupported
CORS headersBrowser-based players fetch creatives from another origin and need permissionBlocked in the browser, works in a test tool
Range requestsProgressive playback and seeking rely on partial responsesSlow start, or no playback on some devices
Fast first byteAd platforms enforce time limits on the creative fetchTimeout, so the ad is dropped
Stable availabilityThe file must exist for as long as any tag references itFile not found
Few redirectsEach hop adds delay and another failure pointTimeout or wrapper error

Two of these deserve more explanation. Range requests let a client ask for only part of a file and get back a 206 response, which media players use for seeking and progressive playback. A server that does not support them can still send the whole file, but players that expect partial responses may behave badly. The MDN reference on HTTP range requests shows how to check support with a single header test. CORS is the most common reason a creative plays in a desktop test but fails in a browser: the file is fine, but the host did not allow the player’s origin to read it.

Many of these failures surface as VAST errors, such as file not found, timeout, or an unsupported media file. Our guide to VAST error codes explains how to read each one, and the right fix is often at the hosting layer, not in the tag.

The Stampede at the Ad Break

Ad delivery has an unusual load shape. When a break starts in a live event, everyone reaches it at nearly the same instant. If the platform stitches ads server-side, the fetches happen on the platform’s side and are modest. In client-side setups, every player asks for the creative file at once. The same thing happens when a new creative is assigned to a busy break: it is on no edge cache yet, so the first wave of requests all miss together.

The volume is easy to underestimate. A 30-second creative at 6 Mbps is 180 megabits, or 22.5 MB. At one million impressions, that is 22.5 TB delivered for a single campaign. Two things reduce the pain:

  • Warm the cache before the flight starts. Request each new creative through the CDN from your main regions before it goes live, so the first real viewers hit a warm edge.
  • Protect the origin. An origin shield collapses simultaneous misses into one request to storage, so a burst for a cold creative does not become a burst on your origin.
Diagram comparing a cold-cache stampede on the origin with a warmed cache and origin shield at the start of an ad break
A new creative at the start of a break cold cache versus warmed cache and shield

Choose cache lifetimes to match the versioning rule above. Versioned creative files can be cached for as long as you like, because a new version arrives at a new URL. That is a large part of why the versioning discipline pays off: it lets the CDN do what it is best at.

Storage and Retention

Storage is the cheapest part of creative hosting and the part with the most hidden risk. The risk is deletion. A creative that is removed while a campaign still references it produces a stream of file-not-found errors, and it often goes unnoticed until the delivery report is short.

  • Keep creatives for the whole flight, plus a margin. Tags and wrappers can be cached downstream, so remove a file only some time after the last campaign stops referencing it.
  • Organize by advertiser, campaign and version, so the owner of any file is obvious and nothing is overwritten by accident.
  • Use scoped upload access. Agencies and ad ops staff should be able to add files, not delete other people’s.
  • Archive masters separately, away from the delivery path, and keep only the files you actually serve behind the CDN.
  • Log changes. Who uploaded or removed what, and when, is the first thing you will want after an incident.

Test Every Creative Before It Goes Live

Most creative hosting problems can be caught in two minutes with three commands. Run these against the final URL, not a staging copy. The first checks status, type and caching headers. The second checks that partial responses work. The third checks CORS for the origin of your player.

# 1. Status, content type, caching

curl -sI https://ads.example.com/acme/spring-30s/v2/1080p.mp4

#   expect: 200, content-type: video/mp4, accept-ranges: bytes, cache-control

# 2. Range request

curl -s -o /dev/null -D - -H "Range: bytes=0-1023" https://ads.example.com/acme/spring-30s/v2/1080p.mp4

#   expect: 206 and a content-range header

# 3. CORS for your player origin

curl -sI -H "Origin: https://player.example.com" https://ads.example.com/acme/spring-30s/v2/1080p.mp4

#   expect: an access-control-allow-origin header that allows the origin

Then test the VAST tag the creative sits in. The VAST Validator shows what a tag returns and whether the media files it references are reachable. Tags also carry macros that someone has to fill in at request time, and our guide to who fills in your ad macros explains who does what, since an unfilled macro can break a tag for reasons that have nothing to do with the file. Finally, fetch the file from more than one region, since a creative that is fast from your office can be slow from the places your viewers are.

Monitor creative delivery after launch

Watch three signals on the creative path: the error rate on creative URLs (404s mean something was deleted or mistyped), the cache miss ratio for new creatives, and first-byte time at the slow end of the distribution. When ad metrics change, these tell you whether the cause is in hosting or elsewhere. Our guide to video ad metrics explains how fill, completion and error rates are defined, so you can tell a hosting fault from a demand problem.

Choosing a Creative Hosting Provider

Whether you host creatives yourself, on a CDN, or with an ad platform, ask the same questions. The most important one is whether you are buying hosting or a managed workflow, because they are different products and are often mistaken for each other.

CapabilityHosting and deliveryManaged creative workflow
Stores and serves filesYesYes
Versioned storage and long-lived URLsYou design itOften handled for you
Re-encoding to platform specsNo, bring ready filesUsually included
Compliance and quality checksNoOften included
Control of headers, caching, CORSFullVaries
Cost shapeStorage plus deliveryPer-creative or per-platform fees

Neither choice is wrong. If your ad ops team or agency already prepares ready-to-serve files, plain hosting and delivery is cheaper and gives you more control. If you receive raw files in every format, you need either a managed workflow or a preparation step of your own. Be clear about which one you have, because a hosting-only setup will not rescue a bad file.

Beyond that, check for HTTPS on your own domain, control over caching and CORS headers, support for range requests, logs you can search, a way to upload by tool or API, and delivery from locations near your audience. Our guide to ad demand sources for streaming covers the other side of the chain, where the ads come from.

Common Mistakes

MistakeWhat to do instead
Overwriting a file at the same URLPublish each version at a new URL
Reusing a creative ID for new contentGive changed content a new ID; keep the universal ad identifier stable
Adding extra formats to a VAST responseInclude only the formats the target platform accepts
Missing CORS headersTest with an Origin header, not only in a desktop tool
Serving without range supportTest with a Range request and expect 206
Deleting files when a campaign pausesKeep files until nothing references them, plus a margin
First-time delivery on event dayWarm the cache and test the tag beforehand
Assuming hosting means encoding or QCCheck what is included, and prepare files upstream if it is not

Where 5centsCDN Fits

5centsCDN can store and deliver your ad creatives over its CDN, with cloud storage behind it. If you do not run an ad server, Ad Manager lets you upload creatives or link hosted file URLs, then generates a VAST tag that feeds straight into ad insertion. Preparing and checking the creative files happens upstream of us. To review your setup, talk to our team.

Frequently Asked Questions

What is ad creative hosting?

It is the storage and delivery of the video files that ads are made of. An ad server’s VAST response points to those files, and a host or CDN has to serve them reliably, quickly and at a URL that does not change.

What file format do CTV ad creatives need?

Most platforms accept H.264 video in an MP4 container, in one or a few bitrates, and some TV devices also want an HLS version. Exact limits for duration, size and resolution vary, so keep a spec matrix for each platform you run on.

Why does my VAST creative fail to play?

Common causes are a file that cannot be found, a timeout fetching it, a wrong MIME type, missing CORS headers, an unsupported format or resolution, and a certificate problem. Check the file with a few HTTP requests before you blame the tag.

Should I reuse creative file names and IDs?

No. Publish each new version at a new URL and give changed content a new creative ID. Some platforms reuse the stored copy of a creative they have already seen, so a swapped file can silently keep playing the old ad.

How long should I keep ad creatives hosted?

For the whole campaign flight plus a margin, and until nothing references the file. Tags and wrappers can be cached downstream, so removing a file the moment a campaign pauses can still cause file-not-found errors.

Is creative hosting the same as creative encoding?

No. Hosting stores and serves files. Encoding and compliance checks prepare and validate them. Some providers bundle both, others only host, so confirm which you are buying.