跳到正文
Skillpedia
移动应用22k · #10192

google-mobile-ads-rewarded

它能做什么

它会说明如何加载激励广告、添加让用户自愿选择的按钮,并展示广告以发放奖励。适合为观看广告的用户提供应用内奖励的开发者。

适用场景

  • ✓当你希望用户通过观看广告获得应用内道具时。
  • ✓当你需要一个通过按钮提供观看广告奖励的功能时。
  • ✓当你想验证激励广告在你的应用中能否正常工作时。

技能链接

https://github.com/google/skills/blob/main/skills/ads/google-mobile-ads-rewarded/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/ads/google-mobile-ads-rewarded/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请让我的 Android 应用用户观看一段短广告,以获得额外的金币。”

每周 5 个新技能,1 分钟读完。

工作原理

它会确定你的平台,阅读平台指南,加载广告,注册事件回调,添加奖励按钮,展示广告,并检查结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

  1. Determine the user's platform: Identify if the project is Android, iOS, or Unity. If unclear, ask before proceeding.

  2. Read the platform guide for implementation details:

    • Android: references/android-rewarded.md
    • iOS: references/ios-rewarded.md
    • Unity: references/unity-rewarded.md
  3. 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
常见问题

用户不选择的情况下,广告会展示吗?

不会。激励广告只有在用户明确选择后才会展示。

它涵盖激励插页广告吗?

不涵盖。这些不在本技能范围内。

它支持哪些平台?

Android、iOS 和 Unity。

详情

作者的原始描述

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.

repo: google/skills

热度

GitHub 星标
22k
排名
#10192
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能