Use Stream Personalization as a manifest proxy to insert ads into an HTTP Live Streaming (HLS) service. When it detects an in-band SCTE-35 trigger for an ad break, Stream Personalization requests a placement decision from the ad decision server.

![Request paths between the viewer, content delivery network, packager, Stream Personalization, and ad decision server.](/images/prisma-guide/ad-insertion-flow.png)

The arrows in the diagram correspond to these requests. MFPZ identifies Stream Personalization.

<table>
  <thead>
    <tr>
      <th style="text-align: left">Name</th>
      <th style="text-align: left">Description</th>
      <th style="text-align: left">Value</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: left">URL_user-CDN</td>
      <td style="text-align: left">Sent by a viewer to consume a live or non-linear content.</td>
      <td style="text-align: left"><code>http://[CDN_host]/live/myChannel/index.m3u8?userid=1234&amp;device=iphone</code></td>
    </tr>
    <tr>
      <td style="text-align: left">URL_CDN-MFPZ</td>
      <td style="text-align: left">This is URL_user-CDN, routed by the CDN to MFPZ. CDN is indeed configured with a no-cache policy for manifest files.</td>
      <td style="text-align: left"><code>http://[MFPZ_host]/live/myChannel/index.m3u8?userid=1234&amp;device=iphone</code></td>
    </tr>
    <tr>
      <td style="text-align: left">URL_MFPZ-PACK</td>
      <td style="text-align: left">Retrieves the original manifest from the packager, which is then modified by MFPZ based on the ADS response.</td>
      <td style="text-align: left"><code>http://[packager_host]/hls/myChannel/index.m3u8</code></td>
    </tr>
    <tr>
      <td style="text-align: left">URL_MFPZ-ADS</td>
      <td style="text-align: left">Upon ad break detection, MFPZ connects to the ADS, providing the list of ads to insert in place of the original ads.</td>
      <td style="text-align: left"><code>http://[ADS_host]/[path]?userid=1234&amp;device=iphone&amp;breakDuration=30</code></td>
    </tr>
    <tr>
      <td style="text-align: left">URL_Track</td>
      <td style="text-align: left">Tracking URL sent by the user player to MFPZ for ad viewing completing monitoring.</td>
      <td style="text-align: left"><code>http://[MFPZ_host]/track/[quartile_event]</code></td>
    </tr>
  </tbody>
</table>

## Configuration

- [Configure the ad insertion service](/traditional-products-and-appliances/how-to/dynamic-ad-insertion/configuration)
- [Build ad request patterns](/traditional-products-and-appliances/how-to/dynamic-ad-insertion/template-pattern)
- [Manage ad insertion plugins](/traditional-products-and-appliances/how-to/dynamic-ad-insertion/plugins)
