What problem does it solve?
Integrating the Google Interactive Media Ads (IMA) SDK for client-side ad insertion involves platform-specific lifecycle steps, event handling, and cleanup rules that are easy to get wrong, causing memory leaks, playback bugs, and failed ad requests.
Core Features & Use Cases
- Platform-specific integration guides: Step-by-step references for HTML5/Web (including iframe mode and mobile Safari), Android, iOS, and tvOS covering initialization, ad requests, playback events, and cleanup.
- Lifecycle best practices: Enforces early SDK initialization, user-gesture compliance, autoplay fallback handling, and proper AdsManager/AdsLoader destruction to prevent memory leaks.
- Use Case: You are building a React web app that needs to play VAST video ads before content. The skill walks you through loading the SDK, configuring settings, handling autoplay policies, and cleaning up the AdsManager on unmount.
Quick Start
Use the ima-sdk-client-side skill to integrate client-side video ads into my Android app using a VAST ad tag URL.