ima-sdk-client-side — Claude Code skill: what it does, install
This skill supports Google IMA SDK integrations for client-side video and audio ads requested through VAST or VMAP. Use it for websites, apps, and TV platforms.
npx skills add google/skills --skill ima-sdk-client-side -a claude-codeWhat ima-sdk-client-side does
ima-sdk-client-side guides an agent through adding Google IMA SDK and requesting ads from a VAST-compliant ad server. Its workflow covers SDK setup, ad UI configuration, request creation, load and error handling, playback events through AdsManager, and cleanup.
The integration depends on the target platform guides. Web/HTML5/ReactJs/NodeJs/Angular projects use ima-sdk-web-guide.md, ima-sdk-web-iframe-mode.md, and ima-sdk-web-mobile-safari.md. Android and AndroidTV use ima-sdk-android-guide.md, while iOS and tvOS use their platform-specific guides.
Install this skill when the agent needs to plan or review client-side IMA SDK ad insertion. It is the wrong choice for DAI, SSAI, or SGAI.
What it helps with
- add IMA SDK to a video player
- request ads through VAST or VMAP
- handle ad loading and playback errors
- coordinate ad events with content playback
- destroy AdsManager after playback
Example prompts for the agent
- Integrate Google IMA SDK with this video player using `ima-sdk-web-guide.md`.
- Show how to create a VMAP ad request and handle AdsManager events.
- List the IMA SDK integration steps for ReactNative on Android.
How to install ima-sdk-client-side
1Skills CLI (Vercel)
npx skills add google/skills --skill ima-sdk-client-side -a claude-code2Manually: put the files in place
~/.claude/skills/ima-sdk-client-side/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ima-sdk-client-side/
1Skills CLI (Vercel)
npx skills add google/skills --skill ima-sdk-client-side -a codex2Manually: put the files in place
.agents/skills/ima-sdk-client-side/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/ima-sdk-client-side/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install google/skills ima-sdk-client-side2Manually: put the files in place
.github/skills/ima-sdk-client-side/SKILL.md1Skills CLI (Vercel)
npx skills add google/skills --skill ima-sdk-client-side -a gemini-cli2Platform CLI
gemini skills install https://github.com/google/skills --path skills/ads/ima-sdk-client-sideManually: put the files in place
.devin/skills/ima-sdk-client-side/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set172
The whole set →Similar
Questions about ima-sdk-client-side
How do I install ima-sdk-client-side in Claude Code?
Run npx skills add google/skills --skill ima-sdk-client-side -a claude-code. The skill file is placed at ~/.claude/skills/ima-sdk-client-side/SKILL.md.
What does ima-sdk-client-side do?
It guides Google IMA SDK integrations for client-side video and audio ad insertion. The workflow includes ad requests, AdsManager events, error handling, and resource cleanup.
Can I use this skill for DAI or SSAI?
No. It is intended for client-side ad insertion through VAST or VMAP, not for DAI, SSAI, or SGAI.
Source text
SKILL.md · Apache-2.0
---
name: ima-sdk-client-side
description: >-
Supports Interactive Media Ads (IMA) SDK.
Use this skill for client-side ad insertion when you are requesting video ads
for websites, apps, TVs or other platforms using VAST or VMAP.
Do not use for Dynamic Ad Insertion (DAI), SSAI, or SGAI.
license: Apache-2.0
metadata:
author: Google LLC
version: "1.0.2"
category: GoogleAds
---
# IMA SDK client-side
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:
* **Web/HTML5/ReactJs/NodeJs/Angular:** Read all these guides
[ima-sdk-web-guide.md](references/ima-sdk-web-guide.md),
[ima-sdk-web-iframe-mode.md](references/ima-sdk-web-iframe-mode.md),
[ima-sdk-web-mobile-safari.md](references/ima-sdk-web-mobile-safari.md)
* **Android/AndroidTV/ReactNative:** Read [ima-sdk-android-guide.md](references/ima-sdk-android-guide.md)
* **iOS/tvOS/ReactNative:** Read all these guides
[ima-sdk-ios-guide.md](references/ima-sdk-ios-guide.md),
[ima-sdk-tvos-guide.md](references/ima-sdk-tvos-guide.md)
--------------------------------------------------------------------------------
## 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.
© Google LLC · Apache-2.0 · google/skills