Run a pre-roll waterfall across several video networks (JW Player, Google IMA)
Order several third-party VAST tags so the player tries them one after another — one Epom placement and tag per network (the player runs the waterfall) or one Epom tag with priorities, why an ad pod plays every ad instead of the first that fills, the VAST 4 wrapper flags, macros in partners' tags, companions, how to read fill per network, and what to check when viewers see four ads or a partner never gets a request.
You have several video demand partners, each with its own VAST tag, and you want the player to try them in order: the first that fills plays, the rest are skipped. In Epom each partner tag is a Third Party VAST/VPAID Tag URL banner, each is linked to a Video Placement, and the order is either the player’s fallback list (one Epom tag per partner) or Epom’s own priorities (one tag). One setting decides whether that is a waterfall or “play everything”: Return (ads in pod), which must stay at 1.
Example. Nordic Stream serves 100,000 pre-roll requests a day and has four partners that fill 35%, 20%, 15% and 10% of what they are asked. Tried in that order, partner 1 fills 35,000, partner 2 is asked 65,000 times and fills 13,000, partner 3 fills about 7,800 and partner 4 about 4,400 — around 60,000 ads a day from the same inventory instead of 35,000, and every viewer sees one ad. The same four tags returned as a pod would show each viewer up to four ads in a row.
Typical scenarios
| You want | Build | Where |
|---|---|---|
| Four partners tried in order, fill measured per partner | Option A: one Video Placement and one tag per partner, listed in order in the player | Publishers → one placement each; the player’s ad schedule |
| One tag in the player, Epom picks the partner | Option B: one Video Placement, all partner banners linked, ordered by campaign priority and weight | Advertisers → campaigns; Publishers → the placement |
| Your own video creatives first, partners as backfill | Option B with your creatives in a higher priority tier than the partner banners | Campaign → Priority |
| A partner that insists on the page URL and a cache-buster | $$PAGE_URL_ESC$$ and $$RANDOM$$ in that banner’s tag URL | Advertisers → the Third Party VAST/VPAID Tag URL banner |
| A real ad break of 2–3 ads before content | Not a waterfall: Return (ads in pod) 2–3 — see Sell pre-roll video in your player | Placement → VAST configuration |
Step by step
- Create one Third Party VAST/VPAID Tag URL banner per partner tag, with the partner’s macros filled in — see Macros in the partner’s VAST tag. Your role needs the Third Party VAST/VPAID Tag URL banner type.
- Keep Return (ads in pod) at 1 on the video placement(s) you will use, and leave
maxAdsoff the tag URL — see Why the player plays every ad under the caveats. Your role needs Video Placements. - Build the order: one placement per partner, ordered in the player (Option A), or one placement with priorities (Option B).
- Load a test page with the player and confirm a single ad plays and an empty partner falls through to the next.
- After a day of traffic, check fill per partner — see Reading fill per network.
Option A — the player runs the waterfall (recommended)
- Create one Video Placement per partner — Pre-roll — network 1, Pre-roll — network 2…
- In each, link the one Third Party VAST/VPAID Tag URL banner for that partner.
- Copy each placement’s VAST tag (Ad Tags & API → VAST Tags).
- Give the player the tags in order as its fallback list — in JW Player the ad schedule’s
list of tags for the slot, in Google IMA your own code requesting the next tag on an
AdErroror empty response.

The player tries tag 1; if the partner returns no ad, it moves on to tag 2. Epom then sees a request on every placement the player reached, so each placement’s Fill Rate is that network’s fill rate — the per-network picture you cannot get from a single tag.
Option B — one Epom tag, Epom chooses
Link all partner banners to one video placement with Return (ads in pod) = 1 and order them with campaign priority and weight, or with daisy chaining. Epom returns the single best eligible wrapper per request.
What Epom cannot know is whether the partner behind that wrapper will actually fill — it learns that only when the player fires the ad’s Error URL. A wrapper whose partner is empty is a missed ad for that request; there is no second wrapper in the same response to fall back to. Use this when the partners fill reliably and you mainly want Epom’s targeting, capping and priorities; use Option A when fill per partner varies.

Caveats and exceptions
Why the player plays every ad: one VAST response = one ad, unless you ask for a pod (sequence)
For each request to a video placement Epom picks one banner by priority, weight and targeting and returns it. A Third Party VAST/VPAID Tag URL banner is returned as a VAST Wrapper that points the player at the partner’s tag.
The placement’s Return (ads in pod) setting (or maxAds on the tag URL) changes that: with a
value above 1 Epom returns several <Ad> elements in one VAST and numbers them with
sequence="1", sequence="2"… A numbered set is an ad pod in the VAST standard — players
including JW Player and Google IMA play every ad in it, one after another. That is why a
“waterfall in one tag” built with a pod shows the viewer four ads instead of the first one that
fills. Keep Return (ads in pod) at 1 for a waterfall.
Other things to know
maxAdson the tag URL wins over the placement’s Return (ads in pod). A tag copied from an older setup withmaxAds=4still asks for a four-ad pod after you set the placement to 1. Values outside 1–20 are ignored and the placement setting applies.- A VMAP request is not a waterfall either — without
maxAdsit returns up to the placement’s VMAP pre-roll count of ads for each break. - The wrapper flags are dropped on a VAST 2.0 or 3.0 tag. If a partner relies on Fallback on no ads, give the player a VAST 4.x tag (see the reference below).
- In Option B a wrapper whose partner returns nothing is a lost request — Epom has already answered with that one wrapper and cannot offer the next. Only the player (Option A) can move on to another tag.
- A paused video placement does not offer its tag in the new interface, and a paused placement serves nothing — a player still holding that tag skips straight to the next one, which shows up as zero requests on that placement rather than as low fill.
- Who does what. A publisher builds the placements and copies the tags; the partner banners are usually created by the network manager or an advertiser account and linked to the publisher’s placements. A network manager can do both sides and sees fill per placement and per banner in reports. On a custom role, without Third Party VAST/VPAID Tag URL the banner type is not offered, without Video Placements the placement type is not offered, and the Companion ads card needs VAST Companion Ads — see Video banners.
Not working?
| Symptom | Check | Where |
|---|---|---|
| Viewers see several ads in a row | Return (ads in pod) is above 1, or the tag URL carries maxAds (it wins over the placement) | Placement → VAST configuration; the tag URL in the player |
| A partner never gets a request (Option A) | The tags before it fill every time, so the player never reaches it; or that placement is paused — zero requests, not low fill | A General report grouped by Placement: Requests per placement; the placement’s on/off |
| A partner is empty and nothing plays (Option B) | Expected: Epom answered with that one wrapper and has no second one. Move the order into the player (Option A) | — |
| The partner’s VAST sees no page URL | The page URL comes from requestUrl on the Epom tag, else from the Referer, which for a player in an iframe or an app is often not the article; a macro with no value is removed from the URL | Pass requestUrl on the Epom tag; the banner’s tag URL macros |
fallbackOnNoAd or allowMultipleAds is missing from the wrapper | The tag is requested as VAST 2.0 or 3.0; the flags are sent on 4.0 and later only | Placement → Ad tags & API → VAST tags → version picker (4.2 by default) |
| No fill per partner in the report (Option B) | Requests cannot be split by advertiser, so a report grouped by advertiser or campaign shows no Fill Rate. Compare each banner’s impressions with the placement’s requests | General report; the Advanced report’s No ads — see Reading fill per network |
| An empty VAST comes back and you are not sure that is normal | An empty response is Epom’s “no ad” answer; a fill rate below 100% is normal | Is an empty VAST normal? |
| The ad is selected but the player fails | Player-side playback errors, not selection | Diagnose video ad playback failures |
Reference
The VAST 4 wrapper flags
A Third Party VAST/VPAID Tag URL banner has VAST 4.0 Wrapper properties: Follow additional
wrappers, Allow multiple ads and Fallback on no ads. They become the
followAdditionalWrappers, allowMultipleAds and fallbackOnNoAd attributes of the
<Wrapper> — only when the tag is requested as VAST 4.0 or later (the VAST Tags tab’s
version picker; 4.2 by default). On VAST 2.0 and 3.0 tags they are not sent.
They tell the player how to treat the partner’s answer behind this one wrapper — whether it may unwrap further, accept a pod from the partner, or fall back when the partner is empty. They do not turn several Epom ads into a waterfall, and players differ in how strictly they honour them; a numbered pod is played in full regardless.
Macros in the partner’s VAST tag
The tag URL in the banner is macro-processed before it goes into the wrapper, so partners get the page and device data they ask for. Common ones:
| Partner wants | Macro |
|---|---|
| Page URL (encoded) | $$PAGE_URL_ESC$$ |
| Page host / domain | $$PAGE_DOMAIN$$ (host, subdomain included) |
| Cache-buster | $$RANDOM$$ or $$TIMESTAMP$$ |
| Viewer IP / user agent | $$REMOTE_IP_ESC$$, $$CLIENT_USER_AGENT_ESC$$ |
| App bundle, device ID, consent | $$BUNDLE$$, $$IFA$$, $$GDPR$$, $$GDPR_CONSENT_IAB$$ |
| A value your player passes | $$CUSTOM_PARAM_ESC(name)$$ for &cp.name=… on the Epom tag |
A macro with no value is removed rather than left in the URL. The page URL comes from the
requestUrl parameter if the player sends it, otherwise from the request’s Referer — for a
player inside an iframe or an app that is often not the article, so pass requestUrl on the Epom
tag. Full list: Macros reference.
Companions and AdParameters
- Companion ads (a banner shown beside the video) are added from a video banner’s Companion ads card — on Local Video, External Video and Advanced Local Videos banners, and only when the banner has a landing URL. A Third Party VAST tag passes on whatever companions the partner’s own VAST contains; whether the player displays them is up to the player.
- AdParameters appear only in VPAID responses, where they carry the VPAID unit’s
settings. A plain VAST tag has no AdParameters; to hand your player extra data use the banner’s
title (the
<AdTitle>, macros allowed) or companions.
Reading fill per network
- Option A: Fill Rate per placement in a General report is the per-network fill.
- Option B: requests cannot be split by advertiser, so General shows no fill per partner. Compare each banner’s impressions with the placement’s requests, and read the Advanced report’s No ads, which also counts player Error pings — see Analytics discrepancies.