All skills
google avatar

/google-mobile-ads-interstitial

@329fa26
by googlegoogle/skills21k stars
1,698

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.

Use this Skill: https://skilld.dev/gh/google/skills/google-mobile-ads-interstitial

This session only. Nothing lands on disk.

referencesios-interstitial.md

≈318 tokens on demand. Your agent reads this file only when SKILL.md points to it.

AI Integration Agent Instructions for Interstitial Ads

Gotchas

Google Mobile Ads SDK uses NS_SWIFT_NAME macros to provide idiomatic Swift names.

Interstitial ad workflow

  1. Load the ad

    • For Swift code, use async/await instead of a completion handler.
  2. Register for ad event callbacks

    • Set the fullScreenContentDelegate on the InterstitialAd object.
      • Drop the reference to the interstitial ad when the ad is dismissed or fails to show.
  3. Show the ad

    • ViewController Parameter: The rootViewController parameter in the present(from:) method is an optional parameter and can be set to nil.
  4. Verify the implementation: Verify the build to ensure there are no compile errors:

    • If xcodebuild is available: Run xcodebuild to programmatically verify that the iOS project compiles properly with the GMA SDK. Resolve any GMA-SDK related compile errors.
    • If xcodebuild is NOT available: Output instructions directing the user to build the project in Xcode and manually verify there are no compile errors.

Links

Additional documentation:

Source: SKILL.md on GitHub

No alerts8d3 checks · Risk SAFE
  • Gen Agent Trust Hub8d

    This skill provides instructions for integrating mobile ad components into Android, iOS, and Unity projects. It follows standard development practices, including build verification steps and references to official developer documentation.

  • Socket8d

    No alerts

  • Snyk8d

    Risk: LOW · No issues

Signed by skilld at 329fa26. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
metadata
{
  "version": "1.1.0",
  "category": "GoogleAds"
}

README badge

README badge for google/skills/google-mobile-ads-interstitial