
IMA SDK Client-Side Ads
Guides an agent through integrating Google's IMA SDK to request and play VAST/VMAP video ads client-side.
- Repository
- google/skills
- Stars
- 21,782
- Licence
- Apache-2.0
- Files
- 7 files
What it does
When installed, the agent knows how Google's Interactive Media Ads (IMA) SDK works and follows platform-specific reference guides for Web, Android, iOS and tvOS when you ask it to add video ads to an app or website. It walks through setup, ad requests (VAST or VMAP), handling load success or failure, controlling content play and pause around ads, and cleaning up the ad manager. It is for ads played by the viewer's own device, not server-side insertion.
Great for
- Developers adding in-stream video ads to a website or web player using Google IMA
- Mobile or TV app developers integrating IMA on Android, iOS or tvOS
- Teams who want an agent to follow Google's recommended IMA integration steps per platform
Skip it if
- Server-side ad insertion (DAI, SSAI or SGAI), which this skill explicitly excludes; using it there would give wrong architecture
- Non-developers or people without an ad server or ad tag, since the skill assumes an existing integration and accounts
- Non-video or non-IMA ad networks, where the instructions would not apply
Try asking
- “Add IMA SDK video ad playback to my React web player using VAST tags”
- “Set up IMA ad requests and AdsManager cleanup in my Android TV app”
- “Show me how to handle IMA ad load errors and pause content during ad breaks on iOS”
- “Integrate VMAP pre-roll, mid-roll and post-roll ads into my HTML5 video page”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 7 original files, the Apache-2.0 licence and an attribution note.
ima-sdk-client-side.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip ima-sdk-client-side.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip ima-sdk-client-side.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Name your platform up front (for example Web with iframe mode, or Android TV) so the agent reads the correct guides before writing code.
- Provide your ad tag URL and existing player setup so the agent can wire the SDK into your actual code rather than generic examples.
- Check the generated code against the current official IMA SDK documentation, since SDK APIs change over time and the skill is versioned 1.0.2.
What's inside
- references/ima-sdk-android-guide.md
- references/ima-sdk-ios-guide.md
- references/ima-sdk-tvos-guide.md
- references/ima-sdk-web-guide.md
- references/ima-sdk-web-iframe-mode.md
- references/ima-sdk-web-mobile-safari.md
- SKILL.md
Redistributed unmodified from google/skills under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.