<img src="https://img.shields.io/badge/iOS-V4-009727?logo=apple" style="float:left"/><br />

Creating an ad tag waterfall helps you to maximize ad revenue by attempting to show a valid ad to your viewers during an ad break. When you create an ad tag waterfall, you assign an array of ad tags to a single ad break. The player displays the ad of the first tag that returns a valid response.

Use the following steps to create an ad tag waterfall:

  1. Define the ad break `offset`. In the following example, the ad break is a pre-roll ad break.

  2. Pass an array of ad tags to <a href="https://sdk.jwplayer.com/ios/v4/reference/Classes/JWAdBreakBuilder.html" target="_blank">JWAdBreakBuilder()</a>. If the ad tags are valid, `JWAdBreakBuilder()` builds a `JWAdBreak` object.

  3. Follow the remaining steps to set up an ad break with [VAST](πŸ”—ο»Ώ) or [Google IMA](πŸ”—ο»Ώ) ads.

ο»Ώ

<br />