Перейти к содержанию
Skillpedia
Соцсети22k · #10182

data-manager-api-audience-ingestion

Что он делает

Показывает, как загружать, удалять или очищать участников аудитории, например списки Customer Match, через Data Manager API. Скилл нужен разработчикам и маркетологам, которые управляют рекламными аудиториями.

Когда использовать

  • ✓Когда вы хотите загрузить список клиентов, чтобы создать или расширить рекламную аудиторию.
  • ✓Когда нужно удалить конкретных людей из аудитории.
  • ✓Когда вы хотите заменить или полностью очистить аудиторию и начать заново.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/google/skills/blob/main/skills/ads/data-manager-api-audience-ingestion/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Помоги загрузить мой список email-адресов клиентов в аудиторию Customer Match в Google Ads через Data Manager API.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл сначала уточняет, для какого продукта Google предназначены данные, читает подходящее руководство и затем пишет код загрузки, удаления или очистки для этого назначения.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с 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
Частые вопросы

Он предполагает, каким рекламным продуктом я пользуюсь?

Нет. Он просит уточнить назначение, прежде чем писать код.

Нужно ли сначала настроить API?

Скилл может указать на отдельный скилл настройки доступа и клиентских библиотек.

Может ли он помочь создать новую аудиторию?

Да. Если аудитории ещё нет, он может помочь сначала создать её.

Подробности

Оригинальное описание автора

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

Популярность

Звёзды на GitHub
22k
Место в рейтинге
#10182
Лицензия
Apache-2.0
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы