Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính22k · #10183

data-manager-api-event-ingestion

Skill này làm gì

Skill này giải thích cách gửi dữ liệu chuyển đổi và sự kiện đến các sản phẩm của Google để kết quả quảng cáo và phân tích đầy đủ hơn. Dành cho lập trình viên và nhà phân tích theo dõi doanh số hoặc khách hàng tiềm năng.

Khi nào nên dùng

  • ✓Khi bạn muốn gửi chuyển đổi bán hàng hoặc khách hàng tiềm năng ngoại tuyến đến Google Ads.
  • ✓Khi bạn cần gửi sự kiện web hoặc ứng dụng đến Google Analytics.
  • ✓Khi bạn đang chuyển từ một API chuyển đổi Google khác và cần ánh xạ trường.

Liên kết skill

https://github.com/google/skills/blob/main/skills/ads/data-manager-api-event-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-event-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

“Gửi các chuyển đổi bán hàng ngoại tuyến của tôi đến Google Ads bằng Data Manager API và cho tôi xem code.”

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 đích đến và loại sự kiện, đọc hướng dẫn triển khai phù hợp, rồi viết code nhập liệu với các trường bắt buộc, hoặc giúp kiểm tra lỗi.

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

Step 1: Identify Use Case & Read Documentation

  • Determine Destination Account Type: [CRITICAL] If it can't be determined from the user's context, consider clarifying which destination events are being ingested to before generating any code. This maps to the account_type field of the operating_account in the Destination, and also determines valid event identifiers and requirements.
  • Identify User Intent:
    • Implementing ingestion code: Follow the relevant implementation guide for the destination and use case in the Implementation guide column below. This is critical to ensure field requirements are met and destinations are correctly configured.
    • Checking request status or inspecting errors: Refer to the Error Handling & Troubleshooting section below.
    • Migrating from another Google API: Refer to Step 3: Retrieve Migration Guides below to extract the full contents of the relevant field mapping guide.
Destination (operating_account.account_type) Use case Implementation guide
Google Ads (GOOGLE_ADS) Offline conversions, enhanced conversions for leads Send events
Google Ads (GOOGLE_ADS) Multi-source conversions supplementing the Google tag Send events
Google Ads (GOOGLE_ADS) Store sales conversions Send events
Google Analytics (GOOGLE_ANALYTICS_PROPERTY) Recommended and custom GA4 events Send events
Google Analytics (GOOGLE_ANALYTICS_PROPERTY) Multi-source events with a transaction ID Send events
Floodlight (FLOODLIGHT_CONFIG) Floodlight offline conversions Send events
Floodlight (FLOODLIGHT_CONFIG) Multi-source conversions supplementing the Google or Floodlight tag Send events

If the request doesn't match any row, fetch the Events overview to find the right guide rather than guessing.

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_events.py
Java IngestEvents.java
PHP ingest_events.php
Node ingest_events.ts
.NET IngestEvents.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

Câu hỏi thường gặp

Đích đến có cần rõ ràng không?

Có. Nếu không rõ, skill hỏi các sự kiện dành cho đích đến nào trước khi viết code.

Nó có giúp với các yêu cầu thất bại không?

Có. Nó có một phần để kiểm tra trạng thái yêu cầu và khắc phục lỗi.

Nó có giúp chuyển từ API khác không?

Có. Nó bao gồm một bước lấy hướng dẫn ánh xạ trường để chuyển đổi.

Chi tiết

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

Guides developers through implementing event and conversion ingestion to Google products using the Data Manager API /v1/events/ingest endpoint and its associated client libraries. Use this skill when the user wants to upload offline conversions, enhanced conversions for leads, click conversions, Google Analytics web or app events, or any other event ingestion use case supported by the Data Manager API. Don't use for uploading audience members (use the data-manager-api-audience-ingestion skill).

repo: google/skills

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10183
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ự