Skip to content

Configure the ad insertion service

Create a Stream Personalization service and configure inventory, placement rules, tracking, and analytics.

Updated View as Markdown

Create a Stream Personalization service for HTTP Live Streaming (HLS) manifests. Servers configured with MFVP Stream Personalization capabilities recognize each service automatically.

Create a Stream Personalization service

  1. From the Services page, select Add service then select Stream Personalization.

  2. Enter a name for the service.

  3. Configure parameters.

  4. Select Save and continue editing, or Save and exit if the configuration is complete.

Configure inventory parameters

Inventory parameters determine how the viewer accesses live and/or non-linear services, how MediaKind Stream Personalization accesses the original manifest, and how it processes the manifest.

This example uses HLS.

  1. From the Services page, select Edit to edit the Stream Personalization service. Service parameters display.

  2. In the Inventory tab, select the Streaming protocol.

  3. Configure Primary and Secondary base URL. This is the base path where your manifests are located. Stream Personalization automatically builds the complete path by appending content details retrieved from the user request. Direct configuration with the host IP address instead of the hostname is also possible.

    Example: http://packager.example/hls Replace packager.example with the packager address.

  4. Configure the Marker type. If you have in-band signaling for ad breaks using an SCTE-35 trigger, then the information embedded into the SCTE-35 from the incoming TS stream is translated into in-manifest ad markers. Choose the marker type that matches your packager. A Stream Personalization plugin can interpret custom markers.

  5. Configure Access URL. This required value determines which manifest requests the service handles.

    • Allows Stream Personalization to apply a filtering policy from incoming user URL requests (routed by the CDN) for a manifest request. If the Access URL does not exist at Stream Personalization level, it is rejected.
    • Access URL unifies the configuration: any live or non-linear HLS content with such Access URL value will undergo the same processing (same ADS contacted, same break bumper, etc.… see Placement configuration for more details).
  6. Configure Distribution URL. The service fetches manifests from the origin or packager. Supply the distribution path where the player can retrieve media playlists and chunks.

  7. Configure additional service settings:

  8. Select Save and continue editing, or Save and exit if the configuration is complete.

Configure a placement rule

These settings configure the ad decision system you want to connect with when Stream Personalization detects an ad break (also referred to as placement opportunity).

In our example, the service uses HLS.

  1. From the Services page, select Edit to edit the Stream Personalization service. Service parameters display.

  2. Open the Placement tab and select Edit to configure parameters for an existing rule or select Add to create a new rule.

  3. Configure Tracking settings. In this example, select Quartiles for Ad tracking type. The player receives tracking URLs for the start, each quartile, and completion. For HLS, this example uses ID3 TXXX frames. See Configure ad tracking URLs for the available modes.

  1. Select Save and continue editing, or Save and exit if the configuration is complete.

Configure ad decision server general parameters

  1. Display Ad Decision Server parameters.

  2. Enter a Name for your ADS configuration.

  3. Select a Type. This parameter defines how you communicate with your ad decision system. Currently supports VAST and SCTE-130-3 communication interfaces.

  4. Set Decision server URL to the required ad decision server endpoint. Use the URL pattern specified by the provider to pass audience and break details. Stream Personalization uses a plugin to process the response.

    Decision server URL example configurations:

    http://[myAdServer_host]/[PATH]?breakid={splice.id}&hhid={query.userid}&dev={query.device}

    • [myAdServer_host] is the IP address of the ADS server, or hostname.
    • [PATH] is the path supplied by the ad decision server provider.
    • breakid={splice.id}&hhid={query.userid}&dev={query.device} is a set of query parameters passed to the ADS. Breakid, hhid and dev are just example, and ADS-dependent (number and syntax are entirely ADS provider-defined). Corresponding value are automatically completed by MFPZ from in-band manifest data, or user request URL for instance. See Build ad request patterns.

Configure ad decision server assets

  1. Display Ad Decision Server parameters.

  2. Select Assets to display parameters. Use {AssetURL} in the source URL pattern to map the ad URL from the response. See Configure ad assets.

Configure ad decision server break bumper

Allows the broadcast to define which break bumper displays prior and after the ad break (start bumper, end bumper). Source URL is the path to the break bumper source manifest.

  1. Display Ad Decision Server parameters.

  2. Select Break bumper to display parameters.

Configure behavior on ADS response

Allows you to configure how Stream Personalization behaves when an empty response, or an error is detected, for live and non-linear.

  1. Display Ad Decision Server parameters.

  2. Select Behavior on ADS response to display parameters.

  3. Edit the Non-linear and Linear parameters for when the ADS returns no response.

Configure ad decision server filters

  1. Display Ad Decision Server parameters.

  2. Select Filters to display parameters.

Configure Analytics (optional)

Allows to publish access information (user request URLs) and tracking event information (such as ad impression tracking) to a 3rd party analytics tool. Current options include support for Ericsson Analytics, and Google Analytics.

  1. From the Services page, select Edit to edit the Stream Personalization service. Service parameters display.

  2. Open the Analytics tab to display parameters.

  3. Select an Analytics type. Parameters display in relation to the selected type.

  4. Enter a URL. If None is selected for Analytics type then no URL is required.

  5. Select Save and continue editing, or Save and exit if the configuration is complete.

Configure Advanced parameters

  1. From the Services page, select Edit to edit the Stream Personalization service. Service parameters display.

  2. Open the Advanced tab to display parameters then enter a pattern.

  3. Select Save and continue editing, or Save and exit if the configuration is complete.

Check the result

For an HLS request that matches the configured Access URL, inspect the manifest returned to the player. When the source signals an ad break, the service requests a decision from the ad server and uses that decision to personalize the manifest. With Quartiles tracking, the player receives tracking events for the start of the ad, the first quartile, midpoint, third quartile, and completion. See the request flow.

Navigation