跳到主要内容
知仓学习社ZHICANG

ima-sdk-client-side

>-

不碰外部(只输出文字)无严重或高危命中google/skills

它会碰到什么

扫了多少7 个文本文件,34 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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](references/ima-sdk-web-guide.md),

[ima-sdk-web-iframe-mode.md](references/ima-sdk-web-iframe-mode.md),

[ima-sdk-web-mobile-safari.md](references/ima-sdk-web-mobile-safari.md)

  • Android/AndroidTV/ReactNative: Read [ima-sdk-android-guide.md](references/ima-sdk-android-guide.md)
  • iOS/tvOS/ReactNative: Read all these guides

[ima-sdk-ios-guide.md](references/ima-sdk-ios-guide.md),

[ima-sdk-tvos-guide.md](references/ima-sdk-tvos-guide.md)

--------------------------------------------------------------------------------

Quick start (general workflow)

  1. Import the SDK: Prerequisites, dependencies.
  2. Initialization: Early setup, Warmup, Settings Configuration, and Ad UI

Setup.

  1. Ad Request: Creating and triggering the request, User gesture compliance.
  2. Ad Load Success/Failure: Handling the load event to get the AdsManager, or

handling early fatal errors.

  1. 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.

  1. 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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。