Latest upstream author date included at this registry's pinned revision.

ima-dai-sdk

Synced v1.0.0 License: Apache-2.0 Source: google/skills/skills/ads/ima-dai-sdk Commit: 99c871e Latest included change:

Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps. Use when: - A video player needs to load and play HLS or DASH streams in web apps, Android apps, iOS apps, tvOS apps, Cast (CAF) receivers, or Roku channels. - The app needs to make use of a Google DAI livestream event asset key, or content source CMS ID, video ID for video on demand. Don't use this skill to load and play a VAST or VMAP URL.

Summary

Purpose
Helps developers integrate Google Ad Manager's server-side ad insertion into video apps using its DAI SDK.
When to use
Use it when building or adapting a player for an Ad Manager live or on-demand stream, following the guide for the target platform.
Outputs
It provides platform-specific integration references and a workflow covering SDK setup, event listeners, timed metadata, stream requests, and resource cleanup.
Upstream changes (1, latest included 2026-08-14)
8f57a0d Adds IMA DAI SDK skill with Web, Android, iOS/tvOS, Roku and ChromeCast guides. Added an IMA DAI SDK skill that outlines livestream and VOD use cases, links platform-specific integration guides, lists prerequisites, and gives a six-step general workflow.
npx skills add "lettucebo/Skills#v2.2.0@ima-dai-sdk" --full-depth

⚠ Available after v2.2.0 is published

IMA DAI SDK

Use the IMA DAI SDK to load HLS or DASH streams into the app for:

  • Livestream events configured in Google Ad Manager.
  • Video on demand (VOD) content ingested into Google Ad Manager.

Prerequisites

Review the platform-specific integration guides for the target platforms:

Quick start (general workflow)

  1. Import the SDK
  2. Initialize the SDK
  3. Add stream event listeners
  4. Set up timed metadata forwarding
  5. Make a stream request
  6. Clean up SDK resources when the stream fails or the user leaves the stream.

History

v1.0.0 mapping-added 99c871e