Ima Sdk Client Side

作者 google55b4e13eba6dApache-2.021K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

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.

精選僅含說明Software Development
AI 產生的概覽

指導在用戶端整合 Google IMA SDK,以請求並播放 VAST 或 VMAP 影片與音訊廣告。

功能
此技能提供在用戶端整合 Google IMA(Interactive Media Ads)SDK 的說明,用於向符合 VAST 的廣告伺服器請求串流內影片與音訊廣告,並管理廣告播放。它列出通用工作流程,涵蓋 SDK 匯入、初始化、廣告請求、載入成功或失敗處理、播放事件以及清理。它會指向 Web、Android、iOS 與 tvOS 的平台專屬參考指南。
適用情境
適用於為網站、應用程式、電視或其他平台加入用戶端廣告插入,並透過 VAST 或 VMAP 請求影片廣告的情境。不適用於動態廣告插入(DAI)、伺服器端廣告插入(SSAI)或伺服器引導廣告插入(SGAI)。
執行需求
不隨附指令碼,僅為說明文件與參考指南。代理程式需要能讀取隨附的 Web、Android、iOS 與 tvOS 平台專屬參考檔案。整合對象為 Google IMA SDK 與符合 VAST 的廣告伺服器。

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.

來源與署名

來源:google/skills位於skills/ads/ima-sdk-client-side提交55b4e13

授權條款: Apache-2.0

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 google/skills 的技能

Dpop Adoption

google

精選

指導為 Google OAuth 平台實作 OAuth 2.0 DPoP(RFC 9449)傳送方約束的更新權杖。

Security21K今天更新

Finding Google Skills

google

精選

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.

待分類21K今天更新

Spanner Basics

google

精選

指導 Google Cloud Spanner 的執行個體與資料庫管理、結構定義設計、查詢與效能診斷。

Data & Analytics21K今天更新

Secops Triage

google

精選

引導 SOC 分析師對 Google SecOps 安全警示進行分診,從調查到結案或升級。

Security21K今天更新

Secops Investigate

google

精選

指導 SOC 分析師在 Google SecOps 中使用 UDM 查詢與時間軸進行深入的安全事件與實體調查。

Security21K今天更新

Secops Hunt

google

精選

指導在 Google SecOps 中使用 UDM 查詢、IoC 回溯、普遍性與異常分析進行主動威脅狩獵。

Security21K今天更新