此登錄庫釘選版本所收錄的最新上游作者日期。

ima-dai-sdk

已同步 v1.0.0 授權: Apache-2.0 來源: google/skills/skills/ads/ima-dai-sdk 提交: 99c871e 收錄的最新變更:

Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps. Use when: - A video player needs to load and play HLS or DASH streams in web apps, Android apps, iOS apps, tvOS apps, Cast (CAF) receivers, or Roku channels. - The app needs to make use of a Google DAI livestream event asset key, or content source CMS ID, video ID for video on demand. Don't use this skill to load and play a VAST or VMAP URL.

摘要

用途
協助開發者運用 DAI SDK,在影片應用程式中整合 Google Ad Manager 的伺服器端廣告插入功能。
使用時機
當您要為 Ad Manager 的直播或隨選影片串流建置或調整播放器時,可依目標平台參照相應的整合指南。
輸出結果
內容提供各平台的整合參考資料,以及涵蓋 SDK 設定、事件監聽、定時中繼資料、串流請求與資源清理的一般流程。
上游變更(1 筆,最新收錄 2026-08-14)
8f57a0d Adds IMA DAI SDK skill with Web, Android, iOS/tvOS, Roku and ChromeCast guides. 新增 IMA DAI SDK 技能,概述直播與隨選視訊用途、連結各平台整合指南、列出前置需求,並提供六步驟的一般工作流程。
npx skills add "lettucebo/Skills#v2.2.0@ima-dai-sdk" --full-depth

⚠ v2.2.0 發布後即可使用

IMA DAI SDK

Use the IMA DAI SDK to load HLS or DASH streams into the app for:

  • Livestream events configured in Google Ad Manager.
  • Video on demand (VOD) content ingested into Google Ad Manager.

Prerequisites

Review the platform-specific integration guides for the target platforms:

Quick start (general workflow)

  1. Import the SDK
  2. Initialize the SDK
  3. Add stream event listeners
  4. Set up timed metadata forwarding
  5. Make a stream request
  6. Clean up SDK resources when the stream fails or the user leaves the stream.

歷程

v1.0.0 mapping-added 99c871e