本文へスキップ
Skillpedia
動画編集22k · #10195

ima-sdk-client-side

できること

VASTまたはVMAPのリクエストからインストリームの動画と音声の広告を読み込み、その前後の再生を制御する方法を示します。自分の動画プレーヤーの中に、WebやモバイルやTVの広告を入れたい開発者向けです。

使う場面

  • ✓Webサイトやアプリで、プレロールやミッドロールの動画広告がほしいとき。
  • ✓広告サーバーがVASTまたはVMAPの広告の応答を返しているとき。
  • ✓AndroidやiOS、TVアプリで動画広告が必要なとき。

スキルのリンク

https://github.com/google/skills/blob/main/skills/ads/ima-sdk-client-side/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/skills/blob/main/skills/ads/ima-sdk-client-side/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサイトのプレーヤーに、広告サーバーのVASTタグを使ってプレロールの動画広告を追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、プラットフォームのガイドを読み、SDKを設定し、ユーザーの操作に結びつけた広告のリクエストを行い、読み込みの成功または失敗を扱い、広告の再生を管理します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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:


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.

よくある質問

サーバーサイドの広告挿入も扱いますか?

いいえ。Dynamic Ad Insertion、SSAI、SGAIは、このスキルの対象外です。

対応しているプラットフォームは?

Web、Android、Android TV、React Native、iOS、tvOSです。

ユーザー操作の扱いも含まれますか?

はい。広告のリクエストの指針は、ユーザージェスチャーのコンプライアンスを含みます。

詳細

作者による元の説明

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.

repo: google/skills

人気

GitHubのスター
22k
ランキング
#10195
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル