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