Chuyển đến nội dung
Skillpedia
Mạng xã hội22k · #10182

data-manager-api-audience-ingestion

Skill này làm gì

Skill này chỉ cách tải lên, xóa hoặc xóa sạch thành viên của một đối tượng, như danh sách Customer Match, qua Data Manager API. Dành cho lập trình viên và người làm marketing quản lý đối tượng quảng cáo.

Khi nào nên dùng

  • ✓Khi bạn muốn tải lên danh sách khách hàng để tạo hoặc mở rộng một đối tượng quảng cáo.
  • ✓Khi bạn cần xóa những người cụ thể khỏi một đối tượng.
  • ✓Khi bạn muốn thay thế hoặc xóa sạch toàn bộ một đối tượng và bắt đầu lại.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/ads/data-manager-api-audience-ingestion/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi tải danh sách email khách hàng lên một đối tượng Customer Match trong Google Ads bằng Data Manager API.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill trước tiên xác nhận dữ liệu thuộc sản phẩm Google nào, đọc hướng dẫn tương ứng, rồi viết code tải lên, xóa hoặc xóa sạch cho đích đó.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Nó có giả định tôi dùng sản phẩm quảng cáo nào không?

Không. Nó hỏi bạn làm rõ đích đến trước khi viết bất kỳ code nào.

Tôi có cần thiết lập API trước không?

Skill có thể chỉ bạn đến một skill thiết lập riêng về quyền truy cập và thư viện client.

Nó có giúp tôi tạo một đối tượng mới không?

Có. Nếu bạn chưa có đối tượng nào, nó có thể giúp bạn tạo một cái trước.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10182
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự