Data Manager Api Setup

作者 google55b4e13eba6d無授權條款21K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

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).

精選僅含說明Software Development
AI 產生的概覽

引導開發人員安裝用戶端程式庫並設定 Data Manager API 的驗證。

功能
此技能會引導開發人員完成 Data Manager API 的初始設定:在 Google Cloud 專案中啟用 API、使用所需範圍產生應用程式預設憑證,以及設定服務帳戶模擬。接著會指向各語言的參考檔案,用於安裝 Python、Java、Node、PHP 或 .NET 的用戶端程式庫與配套公用程式庫。這些公用程式庫可在資料匯入前協助格式化、雜湊及加密使用者識別碼。
適用情境
當開發人員剛開始使用 Data Manager API,需要準備本機環境、安裝用戶端程式庫或設定 API 存取權時使用。此技能不適用於實作目標對象或事件匯入邏輯。
執行需求
需要一個已啟用 Data Manager API 的 Google Cloud 專案、用於應用程式預設憑證的 gcloud CLI,以及相應的 OAuth 範圍。使用服務帳戶時需要 Service Usage Consumer IAM 角色,以及用於模擬的 Token Creator 角色。安裝套件與存取 Google 文件需要網路連線。此技能不隨附指令碼,僅包含指示與參考檔案。

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:

  • Python Setup Reference [blocked] (packages: google-ads-datamanager and google-ads-datamanager-util)
  • Java Setup Reference [blocked] (packages: com.google.api-ads:data-manager and com.google.api-ads:data-manager-util)
  • Node Setup Reference [blocked] (packages: @google-ads/datamanager and @google-ads/datamanager-util)
  • PHP Setup Reference [blocked] (packages: googleads/data-manager and googleads/data-manager-util)
  • .NET Setup Reference [blocked] (packages: Google.Ads.DataManager.V1 and Google.Ads.DataManager.Util)

來源與署名

來源:google/skills位於skills/ads/data-manager-api-setup提交55b4e13

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 google/skills 的技能

Dpop Adoption

google

精選

指導為 Google OAuth 平台實作 OAuth 2.0 DPoP(RFC 9449)傳送方約束的更新權杖。

Security21K今天更新

Finding Google Skills

google

精選

Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or setting up part of their stack, such as where to run a service, a database, storage, messaging, authentication, analytics, ads, or AI model serving, and a Google product is a reasonable candidate - whether or not a vendor is named - or when a request names a Google product or API. Brings in the matching Google skill so the answer can weigh Google options, their trade-offs, and when they are not the right fit. Skip when the stack is already settled on another provider and no Google product is named, or the task involves no platform choice.

待分類21K今天更新

Spanner Basics

google

精選

指導 Google Cloud Spanner 的執行個體與資料庫管理、結構定義設計、查詢與效能診斷。

Data & Analytics21K今天更新

Secops Triage

google

精選

引導 SOC 分析師對 Google SecOps 安全警示進行分診,從調查到結案或升級。

Security21K今天更新

Secops Investigate

google

精選

指導 SOC 分析師在 Google SecOps 中使用 UDM 查詢與時間軸進行深入的安全事件與實體調查。

Security21K今天更新

Secops Hunt

google

精選

指導在 Google SecOps 中使用 UDM 查詢、IoC 回溯、普遍性與異常分析進行主動威脅狩獵。

Security21K今天更新