OpenParable
Skip to content
← Back to skills

Google Mobile Ads Interstitial

Development
google-mobile-ads-interstitial

Google Mobile Ads Interstitial is an Agent Skill for development published in the google/skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/google/skills/blob/HEAD/skills/ads/google-mobile-ads-interstitial/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/google-mobile-ads-interstitial, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

  1. Determine the user's platform: Identify if the project is Android or iOS. If unclear, ask before proceeding.

  2. Read the platform guide for implementation details:

    • Android: references/android-interstitial.md
    • iOS: references/ios-interstitial.md
  3. Follow these steps in order:

    • Load the ad
    • Register for ad event callbacks
    • Show the ad
    • Verify the implementation