Skip to content

Google Mobile Ads Rewarded Ads

Guides an agent through implementing Google rewarded ads in Android, iOS, or Unity apps.

Repository
google/skills
Stars
21,782
Licence
Apache-2.0
Files
4 files

What it does

This skill gives an AI coding agent step-by-step instructions for adding rewarded video ads from Google's Mobile Ads SDK to a mobile app. Rewarded ads are full-screen ads that a user chooses to watch in exchange for an in-app item or currency. The agent first confirms whether the project is Android, iOS, or Unity, then reads the matching platform guide and works through loading the ad, registering event callbacks, adding a button to show it, showing the ad, and verifying the result. It does not run code itself; it guides the agent's edits to your project.

Great for

  • Mobile developers adding rewarded ads to an Android, iOS, or Unity game or app
  • Teams using Google AdMob or the Google Mobile Ads SDK who want consistent, platform-specific setup steps

Skip it if

  • Rewarded interstitial ads, which the skill explicitly excludes; the agent should use other guidance for those
  • Web, desktop, or non-Google ad networks, since the skill only covers the Google Mobile Ads SDK

Try asking

  • “Add a rewarded ad button to my Android game that gives players coins after they watch the video”
  • “Set up rewarded ads in my Unity project using the Google Mobile Ads SDK”
  • “Help me load and show a rewarded ad in my SwiftUI iOS app and handle the reward callback”
Step-by-step guide: how to use Google Mobile Ads Rewarded AdsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 4 original files, the Apache-2.0 licence and an attribution note.

    google-mobile-ads-rewarded.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip google-mobile-ads-rewarded.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip google-mobile-ads-rewarded.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Tell the agent your platform (Android, iOS, or Unity) up front so it reads the correct reference file
  • Use Google's test ad unit IDs during development to avoid invalid-traffic issues with real ads
  • Ask the agent to verify the implementation step, then test on a device before releasing

What's inside

  • references/android-rewarded.md
  • references/ios-rewarded.md
  • references/unity-rewarded.md
  • SKILL.md

Redistributed unmodified from google/skills under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.