此注册表固定版本所收录的最新上游作者日期。

data-manager-api-setup

已同步 v1.0.0 许可证: Apache-2.0 来源: google/skills/skills/ads/data-manager-api-setup 提交: 99c871e 收录的最新变更:

Guides developers through client library installation and authentication setup steps for the Data Manager API. Use this skill when a user is getting started with the Data Manager API and needs to setup their local environment, install the client library, or setup access to the API. Don't use for implementing audience or event ingestion logic (use the data-manager-api-audience-ingestion or data-manager-api-event-ingestion skills instead).

摘要

用途
说明如何准备 Data Manager API 的本机访问环境,并安装其用户端与辅助程序库。
使用时机
当你需要确认 ADC 范围或服务帐户模拟设置,或查找所用语言的用户端与辅助套件时使用。
输出结果
提供激活 API 与设置验证的步骤,以及 Python、Java、Node.js、PHP 和 .NET 安装指南链接与套件名称。
上游变更(5 条,最新收录 2026-09-25)
72ae9f9 Update utility library install steps to install from each package manager 更新技能的中继数据版本,并修正 Java 与 .NET 公用程序套件名称。
5401dca Update Data Manager API setup skill for @google-ads/datamanager-util npm release. 提升技能中继数据版本,并将 Node 公用程序套件名称修正为 `@google-ads/datamanager-util`。
329fa26 Standardize version formatting in Ads skills metadata 将中继数据版本从 `1.0` 改为加上引号的 `1.0.0` 格式。
703f8d2 Move ads skills from per-product subdirectories to top-level skills/ads/ directory. 将内容未变的设置技能从 `skills/ads/data-manager-api/data-manager-api-setup/SKILL.md` 移至 `skills/ads/data-manager-api-setup/SKILL.md`。
e1ac3d0 feat: Introduce a new data-manager-api-setup skill for getting started, auth setup, and client/utility library installation feat: Add guidance to ingestion skills for retrieving diagnostics and using the validate_only flag 添加 Data Manager API 设置技能,提供 API 访问与 ADC 验证指引,以及用户端和各语言公用程序库的安装参考。
npx skills add "lettucebo/Skills#v2.2.0@data-manager-api-setup" --full-depth

⚠ v2.2.0 发布后即可使用

Data Manager API Setup

Setup Authentication

Refer to Set up API access for more details.

  1. Enable API (Prerequisite): Check that the user has enabled the Data Manager API in their Google Cloud project.
  2. Generate ADC: Authenticate the local workspace using Application Default Credentials (ADC) via gcloud auth application-default login.
    • Required Scopes: Include scopes https://www.googleapis.com/auth/datamanager and https://www.googleapis.com/auth/cloud-platform.
    • Multi-API Scopes: If using the same credentials for other APIs, append their scopes (e.g., https://www.googleapis.com/auth/adwords).
    • Service Accounts: Ensure the Service Account has the Service Usage Consumer IAM role, and the user executing gcloud has the Token Creator role (roles/iam.serviceAccountTokenCreator) on that Service Account for impersonation.

Install Client & Utility Libraries

Refer to Install a client library for more details.

The companion utility libraries provide pre-built helper classes and functions to correctly format, hash, and encrypt user identifiers (such as emails, phone numbers, and physical addresses) prior to API ingestion. Use of these libraries is highly recommended to ensure that user identifier formatting matches the API's specifications.

Select the language-specific installation guide below:

历史

v1.0.0 mapping-added 99c871e