data-manager-api-setup
Qué hace
Guía por la activación de la API, la creación de credenciales y la instalación de la biblioteca cliente para que puedan ejecutarse las demás skills de Data Manager. Es para desarrolladores que empiezan con la API de Data Manager.
Cuándo usarla
- ✓Cuando empiezas con la API de Data Manager y necesitas preparar tu entorno.
- ✓Cuando necesitas instalar la biblioteca cliente de la API de Data Manager.
- ✓Cuando necesitas credenciales para tu propia cuenta de Google o para una aplicación.
Link de la skill
https://github.com/google/skills/blob/main/skills/ads/data-manager-api-setup/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Prepárame para usar la API de Data Manager desde mi portátil, incluida su activación y la creación de credenciales.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Activa la API con gcloud, configura las application default credentials para tu escenario e instala la biblioteca cliente.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Data Manager API Setup
Setup Authentication
Refer to Set up API access for more details.
1. Enable the API
Prerequisites: A Google Cloud project, the Google Cloud CLI (gcloud), and
a Google Account with a project role that can enable APIs, such as Owner,
Editor, or Service Usage Admin. Always tell the user about the required
role. If gcloud isn't installed, prompt the user to install it first.
gcloud services enable datamanager.googleapis.com --project={project_id}
gcloud services list --enabled --project=PROJECT_ID --filter="datamanager.googleapis.com"
2. Generate Application Default Credentials (ADC)
Choose the method that matches the user's scenario:
User account (API calls are made as the user's own Google Account): The Data Manager API scopes are sensitive, so the user must first configure their project's Google Auth Platform:
Data Access page: Add the Data Manager API scopes.
Audience page: Set Publishing status to Testing. Use the Internal user type for a Google Workspace organization, or External with the user's account added as a Test user.
Create (or reuse) a Desktop app OAuth client and download its JSON configuration file.
The user runs the following command, which opens a browser login:
gcloud auth application-default login \ --scopes="https://www.googleapis.com/auth/datamanager,https://www.googleapis.com/auth/cloud-platform" \ --client-id-file="{client_id_file_path}"
Unverified app screen: This warning appears because the Data Manager API scopes are sensitive. During Testing, External test users still see it and can continue past it. Before other users can sign in, the app must complete OAuth app verification. Service accounts don't need verification.
Service account (API calls are made as an app identity instead of a person): For local development, use service account impersonation rather than a service account key, since keys are a security risk if not managed carefully.
Grant the Service Account the
Service Usage ConsumerIAM role (roles/serviceusage.serviceUsageConsumer) on the project.Grant the user executing
gcloudthe Token Creator role (roles/iam.serviceAccountTokenCreator) on that Service Account.Run:
gcloud auth application-default login \ --impersonate-service-account={service_account_email} \ --scopes="https://www.googleapis.com/auth/datamanager,https://www.googleapis.com/auth/cloud-platform"
Data partner creating partner links in advertiser accounts: Read Partner Links.
Multiple APIs: To use the same credentials for other APIs, append their
scopes to the --scopes list in the commands above (e.g.,
https://www.googleapis.com/auth/adwords for the Google Ads API or
https://www.googleapis.com/auth/display-video for the Display & Video 360
API).
Verify: gcloud auth application-default print-access-token prints an
access token when credentials are set up correctly.
Troubleshooting PERMISSION_DENIED with a valid token: Add the user or
service account to the destination account (for example, the Google Ads account
or its manager account). For service accounts, also confirm the
Service Usage Consumer role on the Cloud project.
Production: For production authentication (workloads in or outside Google Cloud, apps that act on behalf of other users, or partner links), see Deploy to production.
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 speci
Preguntas frecuentes
¿Escribe código de audiencias o de eventos?
No. Para eso se usan las skills aparte de ingesta de audiencias o de eventos.
¿Qué rol necesito?
Un rol de proyecto que pueda activar APIs, como Owner, Editor o Service Usage Admin.
¿Una cuenta personal necesita configuración extra?
Sí. Google Auth Platform debe configurarse con los ámbitos de la API y un usuario de prueba antes de iniciar sesión.
Detalles
Descripción original del autor
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).
repo: google/skills
Popularidad
- Estrellas en GitHub
- 22 mil
- Posición en el ranking
- #10184
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
finding-google-skills
22 milAyuda a tu agente a encontrar las guías de Google adecuadas para una tarea de configuración, como alojamiento, bases de datos, almacenamiento, inicio de sesión o servicio de modelos de IA.
gcloud
22 milAyuda a tu agente a escribir y comprobar comandos gcloud de Google Cloud, consultando la sintaxis exacta antes de ejecutar nada para no adivinar los parámetros.
google-cloud-recipe-auth
22 milGuía a tu agente por la identidad y el acceso en Google Cloud, incluido cómo inician sesión las personas y los servicios y qué permisos reciben.
google-cloud-recipe-onboarding
22 milGuía a un desarrollador nuevo en sus primeros pasos en Google Cloud, incluida la elección de un proyecto, la vinculación de la facturación y el despliegue de un primer recurso.
Skills parecidas
api-connector-builder
280 milHace que tu agente cree nuevas conexiones de API siguiendo el patrón existente. Úsalo para añadir una integración más sin inventar otra forma de hacer las cosas.
api-design
280 milAyuda a tu agente a diseñar APIs REST según las buenas prácticas. Es útil para definir cómo se comunican las APIs, cómo se muestran los errores y cómo organizar los datos.
backend-patterns
280 milAyuda a tu agente con patrones de arquitectura del lado del servidor y optimización de bases de datos. Es útil para crear o revisar código que se ejecuta en el servidor.