Aller au contenu
Skillpedia
Réseaux sociaux22k · #10182

data-manager-api-audience-ingestion

Ce qu’il fait

Il montre comment importer, retirer ou vider les membres d'une audience, comme les listes Customer Match, grâce à l'API Data Manager. Il s'adresse aux développeurs et aux responsables marketing qui gèrent des audiences publicitaires.

Quand l’utiliser

  • ✓Quand vous voulez importer une liste de clients pour créer ou agrandir une audience publicitaire.
  • ✓Quand vous devez retirer certaines personnes d'une audience.
  • ✓Quand vous voulez remplacer ou vider une audience entière pour repartir de zéro.

Lien du skill

https://github.com/google/skills/blob/main/skills/ads/data-manager-api-audience-ingestion/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/google/skills/blob/main/skills/ads/data-manager-api-audience-ingestion/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Aide-moi à importer ma liste d'e-mails clients dans une audience Customer Match de Google Ads, en utilisant l'API Data Manager.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Il confirme d'abord le produit Google concerné par les données, lit le guide correspondant, puis rédige le code d'importation, de retrait ou de vidage pour cette destination.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Data Manager API Audience Ingestion

Implementation Workflow

Prerequisites

  • Authentication & Library Installation: If you need to set up access to the Data Manager API or install the client and utility libraries, refer to the data-manager-api-setup skill.
  • Audience Creation (if needed): If the user does not have an existing audience or needs to create a new one, use the Create an Audience reference. This step provides the product_destination_id needed for the ingestion or removal requests.

Step 1: Identify Use Case & Read Documentation

  • Determine Destination Account Type: [CRITICAL] If it's not clear where the data is being sent (e.g., Google Ads, Display & Video 360, etc.), STOP and CLARIFY with the user BEFORE generating any code. Do not assume Google Ads by default. This maps to the account_type field of the operating_account in the Destination.
  • Read the implementation guide: Read the relevant guide for your destination and use case. Do this before answering questions or writing code because each destination has unique payload structures, consent rules, and required fields.
Destination Audience Type Accepted Data Types Upload Guide Remove All/Replace All Guide
Google Ads Customer Match composite_data.user_data (contact info), mobile_data (device IDs), user_id_data (user IDs) Upload Data Remove All/Replace All
Display & Video 360 (DV360) Customer Match composite_data.user_data (contact info), mobile_data (device IDs) Upload Data Remove All/Replace All

Step 2: Retrieve Code Sample

[!IMPORTANT] If writing or updating an ingestion script, ALWAYS retrieve the relevant code sample to use as a reference:

Language Sample
Python ingest_audience_members.py
Java IngestAudienceMembers.java
PHP ingest_audience_members.php
Node ingest_audience_members.ts
.NET IngestAudienceMembers.cs

Step 3: Retrieve Migration Guides

[!IMPORTANT] If refactoring code to upgrade from another Google API, ALWAYS extract the full contents of the relevant field mapping guide.

Google Ads

Display & Video 360

Step 4: Implementation

Implement the ingestion logic using the following checkpoints:

  • Initialize Client: Instantiate the Data Manager client (IngestionServiceClient).
  • Define Destinations: Build the Destination object using the product_destination_id and the appropriate account configurations: operating_account (target account receiving data), login_account (if authenticating using a manager account or a data partner account), and linked_account (if you're a data partner accessing the account via a partner link to a manager account). **STR
Questions fréquentes

Suppose-t-il quel produit publicitaire j'utilise ?

Non. Il vous demande de préciser la destination avant d'écrire le moindre code.

Dois-je configurer l'API au préalable ?

La skill peut vous orienter vers une skill de configuration distincte pour les accès et les bibliothèques clientes.

Peut-il m'aider à créer une nouvelle audience ?

Oui. Si vous n'avez pas encore d'audience, il peut d'abord vous aider à en créer une.

Détails

Description originale de l’auteur

Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client libraries. Use this skill when the user wants to upload audience members, remove specific users, or clear/replace an entire audience for Customer Match, mobile device ID audiences, or any other audience use case supported by the Data Manager API. Don't use for uploading events or conversions (use the data-manager-api-event-ingestion skill).

repo: google/skills

Popularité

Étoiles GitHub
22k
Position au classement
#10182
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires