data-manager-api-setup
>-
Works with
Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: data-manager-api-setup
description: >-
license: Apache-2.0
---
# Data Manager API Setup
## Setup Authentication
Refer to [Set up API access](https://developers.google.com/data-manager/api/devguides/quickstart/set-up-access.md.txt)
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](https://developers.google.com/data-manager/api/devguides/quickstart/install-library.md.txt)
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](references/python.md) (packages: `google-ads-datamanager` and `google-ads-datamanager-util`)
* [Java Setup Reference](references/java.md) (packages: `com.google.api-ads:data-manager` and `data-manager-util`)
* [Node Setup Reference](references/node.md) (packages: `@google-ads/datamanager` and `@google-ads/data-manager-util`)
* [PHP Setup Reference](references/php.md) (packages: `googleads/data-manager` and `googleads/data-manager-util`)
* [.NET Setup Reference](references/dotnet.md) (packages: `Google.Ads.DataManager.V1` and `Google.Ads.DataManager.Util.csproj`)More General & Other skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
1.5M
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
972.7k
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
828.8k

