google-mobile-ads-interstitial
GitHub指导在Android和iOS应用中集成Google Mobile Ads SDK插屏广告。涵盖平台识别、广告加载、事件回调注册及展示流程,强调遵循放置规范,不适用于激励视频广告。
Trigger Scenarios
Install
npx skills add google/skills --skill google-mobile-ads-interstitial -g -y
SKILL.md
Frontmatter
{
"name": "google-mobile-ads-interstitial",
"metadata": {
"version": "1.0.0",
"category": "GoogleAds"
},
"description": "Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK interstitial ads in Android and iOS mobile applications. Use this skill when the task involves setting up interstitial ads. Don't use for \"rewarded interstitial\" ads."
}
Google Mobile Ads SDK - Interstitial Ads
Interstitial ads show full-page ads for users on mobile apps. Interstitial ads are designed to be placed between content and are best placed at natural app transition points.
Ad Placement Guidelines
CRITICAL: You MUST evaluate and apply the following Ad Placement Guidelines before proceeding with any interstitial ad implementation.
- Determine Ad Placement:
- Identify the target file where the ad should be placed. Ask if unsure.
Workflow
-
Determine the user's platform: Identify if the project is Android or iOS. If unclear, ask before proceeding.
-
Read the platform guide for implementation details:
- Android:
references/android-interstitial.md - iOS:
references/ios-interstitial.md
- Android:
-
Follow these steps in order:
- Load the ad
- Register for ad event callbacks
- Show the ad
- Verify the implementation
Version History
- 513a7a5 Current 2026-07-19 19:01


