Agent Skills
› google/skills
› google-mobile-ads-rewarded
google-mobile-ads-rewarded
GitHub提供在Android、iOS或Unity应用中集成Google Mobile Ads SDK激励视频广告的指导,涵盖加载、回调注册及展示流程。
Trigger Scenarios
需要在移动应用中实现激励视频广告功能
配置Google Mobile Ads SDK的奖励广告
Install
npx skills add google/skills --skill google-mobile-ads-rewarded -g -y
SKILL.md
Frontmatter
{
"name": "google-mobile-ads-rewarded",
"metadata": {
"version": "1.1.0",
"category": "GoogleAds"
},
"description": "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."
}
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
Version History
-
4fcf030
Current 2026-08-19 15:50
新增对Unity平台的支持
- 513a7a5 2026-07-19 19:01


