Skip to content

Guide · Agent skill

How to use the Google Mobile Ads Rewarded Ads agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The google-mobile-ads-rewarded skill is a set of written instructions that an AI coding agent reads before it edits a mobile project. It covers adding rewarded video ads from Google's Mobile Ads SDK to an Android, iOS or Unity app, where a user chooses to watch an ad in exchange for an in-app item or currency. This guide explains what the skill does, how to install it, how to trigger it, and what to check before you rely on it, so you can get a correct rewarded ad setup without knowing the SDK in depth.

Google Mobile Ads Rewarded Adsgoogle/skills · Apache-2.0

Quick start

  1. 1Download and unzip the skill. Download the skill ZIP from this page and unzip it so the skill folder contains SKILL.md and the references folder.
  2. 2Place it where your agent looks. Copy the folder into ~/.claude/skills/ for personal use, into your project's .claude/skills/ folder, or upload it under Settings → Capabilities → Skills in the Claude apps.
  3. 3Confirm your platform and SDK. Make sure your project is Android, iOS or Unity and that the Google Mobile Ads SDK is already added to it.
  4. 4Ask for rewarded ads in plain language. Describe what you want, such as a button that lets players watch a video for a reward, and name your platform.
  5. 5Let the agent follow the workflow. The agent reads the matching platform guide and works through loading the ad, registering callbacks, adding the button, showing the ad and verifying.
  6. 6Review and test. Read the code changes, replace any test ad unit IDs with your own, and test the reward flow on a device.

What is an agent skill and what does this one do?

An agent skill is a folder of instructions that an AI coding agent can load when a task matches the skill's description. This skill is for adding rewarded ads from the Google Mobile Ads (GMA) SDK to a mobile app.

The agent first determines whether your project is Android, iOS or Unity. If it cannot tell, it is instructed to ask you before continuing. It then reads the matching platform guide and follows five steps in order: load the ad, register for ad event callbacks, add a UI element that shows the ad for a reward, show the ad, and verify the implementation.

Install the google-mobile-ads-rewarded skill

Download the ZIP of the skill from this page and unzip it. The skill folder should contain SKILL.md and a references folder with three platform guides: android-rewarded.md, ios-rewarded.md and unity-rewarded.md.

Choose one of these locations:

  • Personal use: unzip into ~/.claude/skills/
  • Single project: unzip into your project's .claude/skills/ folder
  • Claude apps: upload the skill under Settings → Capabilities → Skills

How do you trigger the skill with a natural request?

You do not need a special command. The skill's description tells the agent to use it when a task involves setting up rewarded ads in Android, iOS or Unity apps. Ask for the outcome you want in plain language, and name your platform if you know it so the agent does not have to ask.

  • Add a rewarded ad to my Android game so players can get extra coins for watching a video.
  • Set up a rewarded ad button in my iOS app using the Google Mobile Ads SDK.
  • In my Unity project, add a rewarded ad that gives the player an extra life.

What do you need before you start?

The skill edits code but does not add the SDK for you. Your target project needs the Google Mobile Ads (GMA) SDK for its platform already added. For production use, you also need an AdMob account and your own ad unit IDs. The SKILL.md file does not spell out the AdMob setup, so check Google's SDK documentation for those steps.

The guide for Unity uses Google's test ad unit IDs as placeholders and tells the agent to replace them with your own IDs.

What does the agent actually change in your project?

The skill does not run code itself. It guides the agent's edits to your project. The Android guide lists the imports and method signatures for loading a RewardedAd with an AdRequest built from an ad unit ID. The iOS guide tells the agent to set the fullScreenContentDelegate on the RewardedAd and to drop the reference when the ad is dismissed or fails to show. The Unity guide loads the ad with RewardedAd.Load() and a completion callback.

The guides also state that rewarded ads must never be shown automatically. The agent should add a button or similar control that the user taps to view the ad.

  • Use the platform guide that matches your project, not a mix of them.
  • Replace any test ad unit IDs before release.
  • Review the edits the agent makes, especially around ad display and reward handling.

Safety notes: scripts and network access

According to the skill's listing, it runs no scripts and uses no network access. It consists of instructions and reference documents only.

Because the agent edits your code, you should still review every change, as you would with any AI-generated code, and test the ad flow on a device before publishing.

  • Runs scripts: no
  • Uses network: no
  • Licence: Apache-2.0

Tips for better results

Name the platform in your request to avoid a clarifying question. Ask the agent to follow the workflow steps in order and to verify the implementation at the end. If you need rewarded interstitial ads, this skill is not the right guide, because it explicitly excludes them.

  • Give the agent your framework or language version if it is unusual.
  • Use test ad unit IDs during development to avoid invalid clicks on real ads.
  • Ask the agent to explain each edit so you can check it against the platform guide.

What people use it for

  • Adding a 'watch a video for extra lives' button to a Unity mobile game
  • Giving players in-app currency for watching a rewarded ad in an Android app
  • Adding a rewarded ad option to a paid-feature screen in an iOS app
  • Checking an existing rewarded ad integration against the platform guide during a code review

Frequently asked questions

How do I install the google-mobile-ads-rewarded skill?

Download the skill ZIP from this page and unzip it into ~/.claude/skills/ for personal use or into your project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings → Capabilities → Skills.

What do I need to use this skill?

Your Android, iOS or Unity project needs the Google Mobile Ads (GMA) SDK added. For production you also need an AdMob account and ad unit IDs, which the SKILL.md does not detail.

Is the google-mobile-ads-rewarded skill free?

The skill is licensed under Apache-2.0, as listed on this page. Check the licence file in the source repository for full terms.

Does this skill support rewarded interstitial ads?

No. The skill explicitly excludes rewarded interstitial ads, so the agent should use other guidance for those.

Can the skill work with ad networks other than Google?

No. The skill only covers the Google Mobile Ads SDK, so it does not apply to web, desktop or non-Google ad networks.

Does the skill run code or access the internet?

The listing says it runs no scripts and uses no network access. It guides the agent's edits to your project, and you should still review and test the changes.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits mobile developers who want an AI agent to follow consistent, platform-specific steps for rewarded ads in an Android, iOS or Unity app that uses Google's Mobile Ads SDK. It is not suitable for rewarded interstitial ads, web or desktop projects, or non-Google ad networks, so pick a different guide for those.

Download the skill