google-mobile-ads-rewarded
Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK rewarded ads in Android, iOS, or Unity mobile applications. Use when the task involves setting up rewarded ads. Don't use for "rewarded interstitial" ads.
摘要
- 用途
- 說明如何提供須由使用者主動選擇觀看的全螢幕廣告,並在使用者與廣告互動後給予應用程式內獎勵。
- 使用時機
- 當 Android、iOS 或 Unity 應用程式需要提供由使用者同意觀看並換取獎勵的廣告流程時使用;獎勵插頁式廣告需參考其他指南。
- 輸出結果
- 提供各平台載入廣告、處理事件回呼、加入觀看入口、展示廣告及驗證實作的指引。
上游變更(5 筆,最新收錄 2026-09-22)
b276cc3 Add Unity support to google-mobile-ads-rewarded skill 此技能新增 Unity 支援及 Unity 指南,將版本更新至 1.1.0、移除廣告版位指引,並修訂獎勵廣告的介面檢查清單。 703f8d2 Move ads skills from per-product subdirectories to top-level skills/ads/ directory. 此技能檔案內容未變,從 `skills/ads/google-mobile-ads/google-mobile-ads-rewarded/SKILL.md` 移至 `skills/ads/google-mobile-ads-rewarded/SKILL.md`。 c75b500 Restructure the YAML frontmatter in all SKILL.md files to nest the 'category' field under the 'metadata:' block. The 'category' field is used to organize the skills in the README.md 前置中繼資料現在將 `category: GoogleAds` 放在 `metadata` 之下,並移除了前置中繼資料後的空白行。 b13a5a1 Add new skills for Google Advertising and Measurement. 此變更新增 Google Mobile Ads 獎勵廣告技能的初始版本,包含 Android 與 iOS 指引,以及廣告版位和實作流程步驟。 npx skills add "lettucebo/Skills#v2.2.0@google-mobile-ads-rewarded" --full-depth ⚠ v2.2.0 發布後即可使用
Google Mobile Ads SDK - Rewarded Ads
Rewarded ads reward users with in-app items for interacting with full-screen ads. Rewarded ads are served after a user explicitly opts in to view a rewarded ad.
Workflow
Determine the user's platform: Identify if the project is Android, iOS, or Unity. If unclear, ask before proceeding.
Read the platform guide for implementation details:
- Android:
references/android-rewarded.md - iOS:
references/ios-rewarded.md - Unity:
references/unity-rewarded.md
- Android:
Follow these steps in order:
- Load the ad
- Register for ad event callbacks
- Add a UI element to view the ad for a reward
- Show the ad
- Verify the implementation