Skip to main content
skill Claude Code Gemini CLI CX Codex official · Google

ima-dai-sdk — Claude Code skill: what it does, how to install

This skill guides Google IMA DAI SDK integration for loading HLS and DASH streams. Use it for livestreams or video on demand in apps and websites.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add google/skills --skill ima-dai-sdk -a claude-code
Open on GitHub

What ima-dai-sdk does

The skill covers Google IMA DAI SDK integration for livestream events configured in Google Ad Manager and video-on-demand content ingested into Google Ad Manager. It targets HLS and DASH streams, using an event asset key for livestreams or a CMS ID and video ID for VOD.

Platform guides cover Web, HTML5, ReactJs, NodeJs and Angular; ChromeCast; Android; iOS and tvOS; and Roku. The general workflow imports and initializes the SDK, adds stream event listeners, forwards timed metadata, requests a stream, then cleans up SDK resources if the stream fails or the user leaves. This is for DAI streams, not VAST or VMAP URLs. Install it when you are building a Google DAI integration; it is the wrong fit for loading a VAST or VMAP URL.

What it helps with

  • load a Google DAI HLS stream in a video player
  • request a livestream stream using its event asset key
  • load VOD using a CMS ID and video ID
  • forward timed metadata to stream handlers
  • clean up SDK resources when a viewer leaves a stream

Example prompts for the agent

  • Integrate the Google IMA DAI SDK into my video player and load an HLS livestream.
  • Show me the Android DAI integration using the Media3 Exoplayer IMA extension.
  • Add a VOD stream request using the CMS ID and video ID.

How to install ima-dai-sdk

1Skills CLI (Vercel)

npx skills add google/skills --skill ima-dai-sdk -a claude-code

2Manually: put the files in place

~/.claude/skills/ima-dai-sdk/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ima-dai-sdk/

From the same set172

The whole set →
bigquery-basics official google Manages BigQuery resources and runs SQL queries. Use it to create datasets, tables and views, or handle basic data ingestion and analysis. Claude Code Gemini CLI CX Codex 17,678installs cloud-run-basics official google This skill helps an agent manage Cloud Run services, jobs, and worker pools when a project needs HTTP deployment, scheduled work, or pull-based background processing. Claude Code Gemini CLI CX Codex 17,532installs gemini-api official google Connects Gemini API from Google Cloud Agent Platform to the agent. Gives access to Gemini models, multimodal input, function calling, and context caching. Claude Code Gemini CLI CX Codex 17,116installs google-cloud-recipe-auth official Google LLC This skill explains Google Cloud authentication and permissions. Use it when setting up IAM, ADC, or service accounts for local code and production workloads. Claude Code Gemini CLI CX Codex 15,450installs google-cloud-recipe-onboarding official Google LLC Guides a developer through a first Google Cloud project: CLI checks, sign-in, project setup and billing. It fits a personal first project. Claude Code Gemini CLI CX Codex 15,390installs cloud-sql-basics official google This skill helps create and explain Cloud SQL resources for MySQL, PostgreSQL, and SQL Server. Use it when setting up a database in Google Cloud. Claude Code Gemini CLI CX Codex 14,679installs google-cloud-waf-security official google This skill reviews Google Cloud workloads against the security pillar of the Well-Architected Framework and suggests actions for IAM, networks, data, and operations. Claude Code Gemini CLI CX Codex 14,620installs google-cloud-waf-cost-optimization official google Reviews Google Cloud workloads through the Well-Architected Cost Optimization pillar. Use it to inspect spending, resize resources, assess discounts, or find idle capacity. Claude Code Gemini CLI CX Codex 14,266installs

Similar

reference-core angular Explains the runtime architecture of Angular's packages/core. Use it when modifying Ivy instructions, dependency injection, or signals. Claude Code CX Codex Cursor +1 986installs e2e-tests-studio mastra-ai A skill that automatically generates Playwright E2E tests when you modify playground components. Tests product behavior—data persistence, feature workflows, action side effects—not just UI states. Claude Code CX Codex Cursor +1 2,500installs reference-signal-forms angular Explains Angular signal-based forms and helps agents navigate packages/forms/signals before changing its architecture or field bindings. Claude Code CX Codex Cursor +1 969installs visual-design-foundations Seth Hobson This skill helps define typography, color, spacing, and icon rules for a project. Use it when setting up design tokens or bringing an interface into visual consistency. Claude Code CX Codex Cursor 13,566installs baoyu-design JimLiu Generates UI mockups, interactive prototypes, slide decks, and design systems as self-contained HTML. Useful whenever an agent needs to produce interface layouts. Claude Code CX Codex Cursor +1 6,300installs adev-writing-guide angular Guidelines for writing Angular documentation in adev/src/content. It enforces Google Technical Writing standards, Angular markdown extensions, and custom code components. Claude Code CX Codex Cursor +1 912installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. Claude Code Claude.ai 1,025,790installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs

Questions about ima-dai-sdk

How do I install ima-dai-sdk in Claude Code?

Run npx skills add google/skills --skill ima-dai-sdk -a claude-code. The skill file is at ~/.claude/skills/ima-dai-sdk/SKILL.md.

What does ima-dai-sdk do?

It guides integration of the Google IMA DAI SDK to load HLS and DASH streams for livestreams and video on demand.

Can I use ima-dai-sdk to load a VAST or VMAP URL?

No. The skill is for Google DAI streams, not for loading VAST or VMAP URLs.

Source text

SKILL.md · Apache-2.0
---
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.

© Google LLC · Apache-2.0 · google/skills

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor