google-mobile-ads-interstitial
它能做什么
它会说明如何在移动应用中加载全屏插页广告、监听其事件并展示。适合希望在应用各部分之间展示广告的开发者。
适用场景
- ✓当你希望在应用的自然过渡处展示全屏广告时。
- ✓当你需要在展示插页广告之前先加载它时。
- ✓当你想在 Android、iOS 或 Unity 应用中加入插页广告时。
技能链接
https://github.com/google/skills/blob/main/skills/ads/google-mobile-ads-interstitial/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“当用户完成我 Android 应用中的一个章节时,请展示一个全屏广告。”
每周 5 个新技能,1 分钟读完。
工作原理
它会确定你的平台,阅读对应指南,加载广告,注册事件回调,展示广告,并验证结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
Workflow
Determine the user's platform: Identify if the project is Android, iOS, or Unity. If unclear, ask before proceeding.
Read the platform guide for implementation details:
- Android:
references/android-interstitial.md - iOS:
references/ios-interstitial.md - Unity:
references/unity-interstitial.md
- Android:
Follow these steps in order:
- Load the ad
- Register for ad event callbacks
- Show the ad
- Verify the implementation
常见问题
它涵盖激励插页广告吗?
不涵盖。激励插页广告被排除在外,需要另一种方法。
插页广告应该出现在哪里?
应出现在应用中的自然切换点。
它支持哪些平台?
Android、iOS 和 Unity。
详情
作者的原始描述
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.
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10191
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。