The HLS interstitials specification introduces a flexible way to schedule and
insert ads into a video or audio stream. This specification lets you do the
following:

- Transitions between content and ads in a livestream: an ad break can start at a scheduled time, regardless of the content segment boundary.
- Advanced ad formats: depending on the player and integration, you can render the interstitial ads in a custom view.

IMA SDK lets you use HLS interstitials specification with Google Dynamic Ad
Insertion (DAI) with one of the following methods:

- Server-side ad insertion: requesting Google Full service DAI to insert the `EXT-X-DATERANGE` tag in the content manifest. This method requires a linear livestream event. For more information, see [Dynamic Ad Insertion
  type](https://support.google.com/admanager/answer/7294289#live-stream-settings).
- Client-side ad insertion: requesting the ads manifest from Google DAI Pod serving with the `AVPlayerInterstitialEvent` class. This method requires a pod serving manifest livestream event.

Select your livestream event's DAI type:
<button value="linear">Linear</button> <button value="pod">Pod serving manifest</button>