Skip to content
Back to skills

Google Mobile Ads Rewarded

ASecurity

Use when implementing Google Mobile Ads rewarded ads in Android/iOS apps.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentsgokotlin

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill google-mobile-ads-rewarded --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Google Mobile Ads Rewarded?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Google Mobile Ads Rewarded
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-google-mobile-ads-rewarded/badge)](https://www.skillsdirectory.com/skills/loopyluci-google-mobile-ads-rewarded)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: google-mobile-ads-rewarded
description: Use when implementing Google Mobile Ads rewarded ads in Android/iOS apps.
tags: [android, ios, google-mobile-ads, rewarded-ads, monetization]
related_skills: [google-mobile-ads-get-started, google-mobile-ads-banner, google-mobile-ads-interstitial]
---

# Google Mobile Ads SDK — Rewarded Ads

Rewarded ads reward users with in-app items for interacting with full-screen ads. Users must explicitly opt in to view a rewarded ad.

## Ad Placement Guidelines

- Identify target file where the ad should be placed
- Add an opt-in UI element that users can tap to start the rewarded ad

## Implementation Steps

1. Determine the platform (Android / iOS)
2. Load the ad
3. Register for ad event callbacks
4. Add an opt-in UI element
5. Show the ad
6. Grant the reward to the user
7. Verify the implementation

## Code Example (Android — Kotlin)

```kotlin
import com.google.android.gms.ads.rewarded.RewardedAd
import com.google.android.gms.ads.AdRequest

class MainActivity : AppCompatActivity() {
    private var rewardedAd: RewardedAd? = null

    fun loadRewardedAd() {
        val adRequest = AdRequest.Builder().build()
        RewardedAd.load(this, "ca-app-pub-3940256099942544/5224354917",
            adRequest, object : RewardedAdLoadCallback() {
                override fun onAdLoaded(ad: RewardedAd) {
                    rewardedAd = ad
                }
                override fun onAdFailedToLoad(loadAdError: LoadAdError) {
                    rewardedAd = null
                }
            })
    }

    fun showRewardedAd() {
        rewardedAd?.show(this, OnUserEarnedRewardListener { rewardItem ->
            val rewardAmount = rewardItem.amount
            val rewardType = rewardItem.type
            // Grant reward to user
        })
    }
}
```

## Common Pitfalls

- **No opt-in UI**: Users must explicitly choose to watch a rewarded ad
- **Missing reward grant**: Always grant the reward after successful ad completion
- **Ad not ready**: Preload the ad before showing the opt-in button

## Verification Checklist

- [ ] Opt-in UI element added for user consent
- [ ] Test ad unit ID used during development
- [ ] Ad loads successfully
- [ ] Reward granted after ad completion
- [ ] Production ad unit ID configured before release

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.