Back to Skills

google-mobile-ads-interstitial

Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK interstitial ads in Android, iOS, or Unity mobile applications. Use when the task involves setting up interstitial ads. Don't use for "rewarded interstitial" ads.

18,550stars1,470forksUpdated 8/20/2026

Security Assessment

Safe(95/100)
Security Score95/100

About google-mobile-ads-interstitial

This skill instructs an AI agent on implementing Google Mobile Ads (GMA) SDK interstitial ads — full-page ads shown between content at natural transition points — in Android, iOS, or Unity applications. It solves the problem of correctly loading, showing, and managing the lifecycle of full-screen interstitial ads, including the event callbacks and threading requirements specific to each platform.

The SKILL.md defines an ordered workflow: load the ad, register for ad event callbacks, show the ad, and verify the implementation, with platform detail in android-interstitial.md, ios-interstitial.md, and unity-interstitial.md. The reference guides supply the required imports, method signatures (AdRequest.Builder, InterstitialAd.load with AdLoadCallback), and test ad unit IDs per platform. They emphasize dropping the ad reference when it is dismissed or fails to show, reloading a fresh ad after dismissal, and the critical threading rule that GMA callbacks run on a background thread so UI operations must be marshalled to the main thread. The Unity guide shows the static InterstitialAd.Load pattern with per-platform test IDs and MobileAdsEventExecutor.ExecuteInUpdate for main-thread scheduling; iOS recommends async/await and treating rootViewController as optional.

Target users are mobile developers and AI agents adding interstitial monetization to Android, iOS, or Unity apps. Use cases include placing full-page ads at level transitions or between screens and verifying a clean build. The skill is explicitly scoped to standard interstitials and excludes 'rewarded interstitial' ads.

FAQ

What are interstitial ads used for?

Full-page ads placed between content at natural app transition points, such as between game levels or screens.

Which platforms are supported?

Android, iOS, and Unity, each with a dedicated reference guide covering imports, method signatures, and callbacks.

How should the ad reference be managed?

Drop the reference to the interstitial ad when it is dismissed or fails to show, and reload a fresh ad so one is ready for the next transition point.

Does it use real ad unit IDs?

No. It uses Google test ad unit IDs during implementation, which should be replaced with real ones before publishing.

Does this skill cover rewarded interstitial ads?

No. It is scoped to standard interstitial ads and explicitly excludes rewarded interstitials.

All Files

4 files
references/ios-interstitial.md1.2 KB
View
SKILL.md1.1 KB
View
references/android-interstitial.md2.1 KB
View
references/unity-interstitial.md3.3 KB
View

Install google-mobile-ads-interstitial

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

google/skills