Ima Sdk Client Side

by google55b4e13eba6dApache-2.021K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

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.

FeaturedInstructions onlySoftware Development
AI-generated overview

Guides client-side integration of the Google IMA SDK for requesting and playing VAST or VMAP video and audio ads.

What it does
This skill provides instructions for integrating the Google IMA (Interactive Media Ads) SDK on the client side to request in-stream video and audio ads from VAST-compliant ad servers and manage ad playback. It outlines a general workflow covering SDK import, initialization, ad requests, load success or failure handling, playback events, and cleanup. It points to platform-specific reference guides for Web, Android, iOS, and tvOS.
When to use it
Use it when adding client-side ad insertion to websites, apps, TVs, or other platforms that request video ads via VAST or VMAP. It is not intended for Dynamic Ad Insertion (DAI), server-side ad insertion (SSAI), or server-guided ad insertion (SGAI).
Requirements
No scripts are shipped; it is instructions plus reference guides. The agent must be able to read the bundled platform-specific reference files for Web, Android, iOS, and tvOS. Integration targets the Google IMA SDK and VAST-compliant ad servers.

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 [blocked], ima-sdk-web-iframe-mode.md [blocked], ima-sdk-web-mobile-safari.md [blocked]
  • Android/AndroidTV/ReactNative: Read ima-sdk-android-guide.md [blocked]
  • iOS/tvOS/ReactNative: Read all these guides ima-sdk-ios-guide.md [blocked], ima-sdk-tvos-guide.md [blocked]

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.

Source and attribution

Source:google/skillsinskills/ads/ima-sdk-client-sideat commit55b4e13

License: Apache-2.0

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

More from google/skills

Dpop Adoption

google

Featured

Guides implementation of OAuth 2.0 DPoP (RFC 9449) sender-constrained refresh tokens for Google's OAuth platform.

Security21Kupdated today

Finding Google Skills

google

Featured

Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or setting up part of their stack, such as where to run a service, a database, storage, messaging, authentication, analytics, ads, or AI model serving, and a Google product is a reasonable candidate - whether or not a vendor is named - or when a request names a Google product or API. Brings in the matching Google skill so the answer can weigh Google options, their trade-offs, and when they are not the right fit. Skip when the stack is already settled on another provider and no Google product is named, or the task involves no platform choice.

Awaiting classification21Kupdated today

Spanner Basics

google

Featured

Guides Google Cloud Spanner administration, schema design, querying and performance diagnosis.

Data & Analytics21Kupdated today

Secops Triage

google

Featured

Guides SOC analysts through triaging Google SecOps security alerts, from investigation to closure or escalation.

Security21Kupdated today

Secops Investigate

google

Featured

Guides SOC analysts through deep security incident and entity investigations in Google SecOps using UDM queries and timelines.

Security21Kupdated today

Secops Hunt

google

Featured

Guides proactive threat hunting in Google SecOps using UDM queries, IoC lookback, prevalence and outlier analysis.

Security21Kupdated today