google-mobile-ads-rewarded
GitHub提供在Android或iOS应用中集成Google Mobile Ads SDK激励视频广告的指南。适用于配置激励广告的实现流程,包括平台识别、加载广告、注册回调及添加用户确认UI等步骤。不适用于激励插屏广告。
Trigger Scenarios
Install
npx skills add google/skills --skill google-mobile-ads-rewarded -g -y
SKILL.md
Frontmatter
{
"name": "google-mobile-ads-rewarded",
"metadata": {
"version": "1.0.0",
"category": "GoogleAds"
},
"description": "Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK rewarded ads in Android or iOS mobile applications. Use this skill when the task involves setting up rewarded ads. Don't use for \"rewarded interstitial\" ads."
}
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.
Ad Placement Guidelines
CRITICAL: You MUST evaluate and apply the following Ad Placement Guidelines before proceeding with any rewarded ad implementation.
- Determine Ad Placement:
- Identify the target file where the ad should be placed. Ask if unsure.
Workflow
-
Determine the user's platform: Identify if the project is Android or iOS. If unclear, ask before proceeding.
-
Read the platform guide for implementation details:
- Android:
references/android-rewarded.md - iOS:
references/ios-rewarded.md
- Android:
-
Follow these steps in order:
- Load the ad
- Register for ad event callbacks
- Add an opt-in UI element
- Show the ad
- Verify the implementation
Version History
- 513a7a5 Current 2026-07-19 19:01


