Data Manager Api Setup

by google55b4e13eba6dNo license21K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

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

FeaturedInstructions onlySoftware Development
AI-generated overview

Guides developers through installing client libraries and setting up authentication for the Data Manager API.

What it does
This skill walks developers through the initial setup of the Data Manager API: enabling the API in a Google Cloud project, generating Application Default Credentials with the required scopes, and configuring service account impersonation. It then points to language-specific reference files for installing the client and companion utility libraries in Python, Java, Node, PHP, or .NET. The utility libraries help format, hash, and encrypt user identifiers before ingestion.
When to use it
Use it when a developer is getting started with the Data Manager API and needs to prepare a local environment, install a client library, or set up API access. It is not intended for implementing audience or event ingestion logic.
Requirements
Requires a Google Cloud project with the Data Manager API enabled, the gcloud CLI for Application Default Credentials, and the appropriate OAuth scopes. Service account use requires the Service Usage Consumer IAM role and the Token Creator role for impersonation. Network access is needed to install packages and reach Google documentation. No scripts are shipped; the skill is instructions plus reference files.

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)

Source and attribution

Source:google/skillsinskills/ads/data-manager-api-setupat commit55b4e13

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

More from google/skills

Dpop Adoption

google

Featured

Guides implementation of OAuth 2.0 DPoP (RFC 9449) sender-constrained refresh tokens for Google's OAuth platform.

Security21Kupdated today

Finding Google Skills

google

Featured

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.

Awaiting classification21Kupdated today

Spanner Basics

google

Featured

Guides Google Cloud Spanner administration, schema design, querying and performance diagnosis.

Data & Analytics21Kupdated today

Secops Triage

google

Featured

Guides SOC analysts through triaging Google SecOps security alerts, from investigation to closure or escalation.

Security21Kupdated today

Secops Investigate

google

Featured

Guides SOC analysts through deep security incident and entity investigations in Google SecOps using UDM queries and timelines.

Security21Kupdated today

Secops Hunt

google

Featured

Guides proactive threat hunting in Google SecOps using UDM queries, IoC lookback, prevalence and outlier analysis.

Security21Kupdated today