IM

ima-sdk-basics

Guides integration of the Google IMA SDK for client-side ad playback in websites and apps using VAST/VMAP.

Install

mkdir -p .claude/skills/ima-sdk-basics && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19494" && unzip -o skill.zip -d .claude/skills/ima-sdk-basics && rm skill.zip

Installs to .claude/skills/ima-sdk-basics

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use this skill for Interactive Media Ads (IMA) SDK client-side ad insertion when you are requesting video ads client-side into websites, apps, TVs or other platforms with VAST or VMAP. Do not use for Dynamic Ad Insertion (DAI), SSAI, or SGAI (use the `ima-sdk-dai-basics` skill instead).
287 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Request video ads from VAST-compliant servers
  • Initialize ad UI and settings configuration
  • Handle ad playback events via AdsManager
  • Coordinate content play and pause states
  • Destroy AdsManager to release resources

How it works

The SDK manages the lifecycle of ad requests and playback events, coordinating between the ad server and the video player.

Inputs & outputs

You give it
Ad tag URL and video player instance
You get back
Rendered video ad playback

When to use ima-sdk-basics

  • Integrate video ads into a web app
  • Set up VAST ad request flows
  • Handle ad playback events in mobile apps

About this skill

IMA SDK basics

The Google IMA SDK (Interactive Media Ads) lets you load in-stream video and audio ads into websites, apps, TVs and other digital platforms. Use an IMA SDK to request ads from any VAST-compliant ad server and manage ad playback.

Prerequisites

Before integrating the IMA SDK, you must read the platform-specific guide below to support all platforms that your app can support:


Quick start (general workflow)

  1. Import the SDK: Prerequisites, dependencies.
  2. Initialization: Early setup, Warmup, Settings Configuration, and Ad UI Setup.
  3. Ad Request: Creating and triggering the request, User gesture compliance.
  4. Ad Load Success/Failure: Handling the load event to get the AdsManager, or handling early fatal errors.
  5. Ad Playback Events: Listening to playback events via AdsManager to coordinate content play/pause, and handling non-fatal LOG events and fatal active playback errors.
  6. Cleanup: Properly destroying the AdsManager to release resources and prevent memory leaks.

For detailed, platform-specific implementation details, always refer to the guides in the Prerequisites section.

When not to use it

  • Dynamic Ad Insertion (DAI)
  • SSAI or SGAI implementations

Prerequisites

Platform-specific IMA SDK guideVAST-compliant ad server

Limitations

  • Requires platform-specific integration guides
  • Must handle user gesture compliance for ad triggering

How it compares

It provides a standardized client-side framework for ad insertion rather than custom-built ad request logic.

Compared to similar skills

ima-sdk-basics side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ima-sdk-basics (this skill)018dNo flagsIntermediate
telegram-mini-app626moReviewAdvanced
shopify-development126moReviewIntermediate
shopify-apps13moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

telegram-mini-app

davila7

Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.

62163

shopify-development

davila7

Build Shopify apps, extensions, themes using GraphQL Admin API, Shopify CLI, Polaris UI, and Liquid. TRIGGER: "shopify", "shopify app", "checkout extension", "admin extension", "POS extension", "shopify theme", "liquid template", "polaris", "shopify graphql", "shopify webhook", "shopify billing", "app subscription", "metafields", "shopify functions"

1299

shopify-apps

alinaqi

Shopify app development - Remix, Admin API, checkout extensions

19

ccxt-typescript

ccxt

CCXT cryptocurrency exchange library for TypeScript and JavaScript developers (Node.js and browser). Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors. Use when working with crypto exchanges in TypeScript/JavaScript projects, trading bots, arbitrage systems, or portfolio management tools. Includes both REST and WebSocket examples.

15

fullstack-guardian

Jeffallan

Use when implementing features across frontend and backend, building APIs with UI, or creating end-to-end data flows. Invoke for feature implementation, API development, UI building, cross-stack work.

15

add-nodebridge-handler

neovateai

Use this skill when adding a new NodeBridge handler to src/nodeBridge.ts, including updating types in src/nodeBridge.types.ts and optionally testing with scripts/test-nodebridge.ts

13

Search skills

Search the agent skills registry