Ad Server Integration

How to integrate AWS MediaTailor with Nomad Media for AI-driven ad break generation and VMAP delivery.

Step 2 — Generate Ad Breaks for Asset

Overview

InputAssetID
OutputAd Breaks JSON file
TechnologyNomad Media Video Service

Resources used:

  • Rekognition Segment Detect Shots
  • Rekognition Labels
  • Transcription (Words)
  • IAB Categories
  • Categorization Mapping
  • Ad Break Counts

Process:

  1. Using the video length, look up the required number of ad breaks from the Ad Break Counts table.
  2. Find the best segment markers, as evenly spaced as possible, based on the ad break count using Rekognition Segment Detect Shots.
  3. Using the created segments, map labels and transcription words into IAB Categories using the Categorization Mapping for each segment.
  4. Determine the top 2 IAB Categories for each segment.
  5. Create an Ad Breaks JSON file for the asset containing timecodes and the 2 best IAB codes for each ad break.
  6. Upload the Ad Breaks file to S3 and associate it to the asset.

Step 3 — Prepare MediaTailor

Overview

InputNone
OutputMediaTailor configuration
TechnologyNomad Media Ad Service

Resources used:

  • CloudFront URLs for Nomad Media
  • S3 URLs for Nomad Media

Process:

Using the configuration options already known by Nomad Media, register the required MediaTailor configurations.

Steps 6/7 — Create VMAP with Categories and User Data

Overview

InputAssetID, UserID
OutputVMAP file
TechnologyNomad Media Ad Service

Resources used:

  • Ad Breaks file for Asset
  • User attributes (IAB codes)

Process:

  1. Using the AssetID, retrieve the existing Ad Breaks file generated in Step 2.
  2. Using the UserID, retrieve the IAB codes associated to that user.
  3. Create the VMAP file with the direct ADS URL including the IAB codes for the user and the ad break timecodes in the query string.
  4. Return the updated VMAP file.