google-ads-api-quickstart
覆盖常见错误与多平台示例,帮助开发者快速上手 Ads API。
需开发者令牌与账号权限,凭证配置不当可能导致泄露风险。
从零开始引导用户配置凭证并用客户端库或 REST 运行 Google Ads API 示例请求。
手把手从零带你配置 Google Ads API 的凭证、选择官方客户端库或直接用 REST,并运行第一个“检索 campaigns”示例,覆盖环境与权限设置。适合刚接入 Ads API 或遇到 USER_PERMISSION_DENIED、login_customer_id、DEVELOPER_TOKEN_NOT_APPROVED 等常见错误时使用。特点是同时支持多语言示例并包含常见故障排查要点,能快速让请求跑通。
▸ 展开 SKILL.md 英文原文
Guides developers through Google Ads API quickstart: credential setup, choosing from 6 client libraries/REST, configuring environments, and running a "retrieve campaigns" script. Troubleshoots common setup errors: USER_PERMISSION_DENIED, login_customer_id issues, and DEVELOPER_TOKEN_NOT_APPROVED. Use this skill when: - The user asks how to get started with the Google Ads API. - The user needs to set up Google Ads credentials or developer tokens. - The user wants to write a quickstart/example script for Google Ads. - The user encounters errors like USER_PERMISSION_DENIED or DEVELOPER_TOKEN_NOT_APPROVED.
帮我安装这个 skill:https://raw.githubusercontent.com/google/skills/main/skills/ads/google-ads-api-quickstart/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/google/skills/main/skills/ads/google-ads-api-quickstart/SKILL.md"# Google Ads API Quickstart This skill guides you from absolute zero to running your first successful request to retrieve campaigns. ## Supported Tracks You can choose to use this skill with: 1. **Official Client Libraries:** Python, Java, .NET, PHP, Ruby, or Perl. 2. **Direct REST:** Raw HTTP REST requests. --- ## Crucial Requirement: Dynamic Version Resolution & Runtime Resolution > [!IMPORTANT] > To ensure the integration is secure, stable, and up-to-date, you must resolve all API and runtime versions dynamically. Do not rely on hardcoded defaults. ### Strict Constraints: * **DO NOT Hardcode:** Never use hardcoded Google Ads API versions (e.g., `v24`) or language runtime versions