Skip to content
Development
Skill

/ima-dai-sdk

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

From plugin
skills
22k178 skills1 MCP

Claude Code

$ npx -y skills add google/skills --skill ima-dai-sdk --agent claude-code

SKILL.md

ima-dai-sdk.SKILL.md
name: ima-dai-sdk
description: >-
  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.
license: Apache-2.0
metadata:
  author: Google LLC
  version: "1.0.0"
  category: GoogleAds

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:

  • **Web/HTML5/ReactJs/NodeJs/Angular:** Read

[StreamManager guide](references/web-StreamManager-guide.md) for loading stream URL from Google full-service DAI into `<video>` element.

  • **ChromeCast:** Read

[StreamManager guide](references/cast-StreamManager-guide.md) for integrating the IMA DAI SDK into a ChromeCast Web Receiver.

  • **Android:** Read

[ImaServerSideAdInsertionMediaSource guide](references/android-ImaServerSideAdInsertionMediaSource-guide.md) for integrating Media3 Exoplayer IMA extension.

  • **iOS/tvOS:** Read

[IMAStreamRequest guide](references/ios-IMAStreamRequest-guide.md) for playing streams with `AVPlayer`.

  • **Roku:** Read [StreamManager guide](references/roku-StreamManager-guide.md)

for implementing DAI on Roku SceneGraph.

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.

Read more
@google
Ships withskills

This repository contains Agent Skills for Google products and technologies, including Google Cloud.

22k178 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
21.7k
Star history of google/skills on GitHub, a chart by star-history.com

Other skills on skills.

finding-google-skills

finding-google-skills

Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…

@google@googleInstall Skill
gcloud

gcloud

Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP)…

@google@googleInstall Skill
google-cloud-recipe-auth

google-cloud-recipe-au…

Provides expert guidance on Identity and Access Management (IAM) and authenticating and authorizing to Google Cloud services and…

@google@googleInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about ima-dai-sdk.

Which coding agents can use ima-dai-sdk?
ima-dai-sdk installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.