google-mobile-ads-get-started
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.
摘要
- 用途
- 引導開發者依平台設定 Google Mobile Ads SDK,從加入 SDK 到確認整合完成。
- 使用時機
- 在已確認 Android、iOS 或 Unity 專案的平台,且需要依序完成 SDK 安裝時使用。
- 輸出結果
- 完成並驗證 SDK 相依套件、應用程式識別碼與初始化設定,接著請使用者選擇廣告格式。
上游變更(6 筆,最新收錄 2026-09-22)
f36c9eb Inline SKAdNetworkIDs to google-mobile-ads-get-started skill 將技能描述改為折疊式 YAML 區塊,並將中繼資料版本從 1.1.0 更新為 1.2.0。 703f8d2 Move ads skills from per-product subdirectories to top-level skills/ads/ directory. 將內容未變的技能檔案從巢狀的 google-mobile-ads 目錄移至頂層 ads 技能目錄。 c75b500 Restructure the YAML frontmatter in all SKILL.md files to nest the 'category' field under the 'metadata:' block. The 'category' field is used to organize the skills in the README.md 在前置資料的 metadata 區塊中新增 GoogleAds 類別,並移除標題前的空白行。 c768bfa Add Unity support to the google-mobile-ads-get-started skill 此技能現在支援 Unity、在工作流程中加入 Unity 入門指南,並將中繼資料版本更新為 1.1.0。 b13a5a1 Add new skills for Google Advertising and Measurement. 新增初版 Google Mobile Ads 設定技能,提供 Android 與 iOS 指引及有順序的 SDK 整合工作流程。 npx skills add "lettucebo/Skills#v2.2.0@google-mobile-ads-get-started" --full-depth ⚠ v2.2.0 發布後即可使用
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.