google-mobile-ads-get-started
它能做什么
它会逐步说明如何在应用中添加 Google Mobile Ads SDK、设置应用标识符、初始化 SDK,并验证设置是否正确。适合首次接入广告的开发者。
适用场景
- ✓当你要为新的移动应用接入 AdMob 或 Ad Manager 时。
- ✓当你需要在 Android、iOS 或 Unity 项目中初始化广告 SDK 时。
- ✓当安装完成,你想继续选择广告形式时。
技能链接
https://github.com/google/skills/blob/main/skills/ads/google-mobile-ads-get-started/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我的 iOS 应用中安装 Google Mobile Ads SDK,并设置应用 ID。”
每周 5 个新技能,1 分钟读完。
工作原理
它会确定你的平台,阅读平台指南,添加 SDK 依赖,设置应用标识符,初始化 SDK,并验证集成是否成功。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Google Mobile Ads SDK - Install
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-get-started.md - iOS:
references/ios-get-started.md - Unity:
references/unity-get-started.md
- Android:
Follow these steps in order:
- Add the SDK dependency
- Set the application identifier
- Initialize the SDK
- Verify the integration
After the SDK is successfully installed, ask the user to select an ad format to continue the integration.
常见问题
它支持哪些平台?
Android、iOS 和 Unity。
设置完成后会怎样?
它会询问你接下来想添加哪种广告形式。
它涵盖 Next-Gen SDK 吗?
涵盖。说明中写明它也包括 GMA Next-Gen SDK。
详情
作者的原始描述
Provides instructions for integrating the Google Mobile Ads (GMA) SDK. Use this skill when the user wants to get started with, install, integrate, set up, or configure the SDK for AdMob or Ad Manager, GMA Next-Gen SDK or mobile ads framework in an Android, iOS, or Unity application.
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10190
- 许可证
- 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 上的第一步,包括选择项目、关联计费,以及部署第一个资源。