PluginBench
Skill
Pass
Audit score 90

google-mobile-ads-rewarded

google/skills

Implement Google Mobile Ads rewarded ads in Android, iOS, or Unity apps.

What is google-mobile-ads-rewarded?

Provides instructions for setting up Google Mobile Ads (GMA) SDK rewarded ads across Android, iOS, and Unity platforms. Use this skill when implementing full-screen ads that reward users for viewing them.

  • Load rewarded ads from Google Mobile Ads SDK
  • Register callbacks for ad lifecycle events
  • Create UI elements to trigger ad viewing
  • Display ads and handle user interactions
  • Verify rewarded ad implementation

How to install google-mobile-ads-rewarded

npx skills add https://github.com/google/skills --skill google-mobile-ads-rewarded
Prerequisites
  • Google Mobile Ads SDK installed for your platform (Android, iOS, or Unity)
  • Google Ad Unit IDs configured in Google AdMob
  • Understanding of your target platform (Android, iOS, or Unity)
Claude Code
Cursor
Windsurf
Cline

How to use google-mobile-ads-rewarded

  1. 1.Identify your project platform (Android, iOS, or Unity)
  2. 2.Read the platform-specific implementation guide from the skill references
  3. 3.Load the rewarded ad using the GMA SDK
  4. 4.Register event callbacks to handle ad lifecycle events
  5. 5.Add a UI button or element that triggers ad viewing
  6. 6.Call the show method to display the ad to the user
  7. 7.Verify the reward is granted when the ad completes

Use cases

Good for
  • Adding in-app currency rewards for watching ads in mobile games
  • Implementing optional video ads that unlock premium features
  • Setting up ad monetization with user opt-in viewing
  • Configuring reward callbacks to grant in-game items after ad completion
  • Testing rewarded ad flow across different mobile platforms
Who it's for
  • Android developers
  • iOS developers
  • Unity game developers
  • Mobile app monetization specialists

google-mobile-ads-rewarded FAQ

What's the difference between rewarded ads and rewarded interstitial ads?

Rewarded ads are full-screen ads that users explicitly opt in to view. Rewarded interstitial ads are a different ad format not covered by this skill.

Do I need different code for Android, iOS, and Unity?

Yes, each platform has platform-specific implementation details. The skill provides separate guides for Android, iOS, and Unity.

What happens if a user closes the ad before completion?

The reward is typically not granted if the user exits early. Your callback handlers determine the exact behavior based on the ad event.

Can I test rewarded ads before publishing?

Yes, use test Ad Unit IDs provided by Google Mobile Ads SDK during development and testing.

Full instructions (SKILL.md)

Source of truth, from google/skills.


name: google-mobile-ads-rewarded 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. metadata: version: "1.1.0" category: GoogleAds

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