本文へスキップ
Skillpedia
分析とスプレッドシート22k · #10183

data-manager-api-event-ingestion

できること

広告や分析の結果をより完全にするために、コンバージョンとイベントのデータをGoogleの製品に送る方法を説明します。売上やリードを追跡する開発者とアナリスト向けです。

使う場面

  • ✓オフラインの売上やリードのコンバージョンを、Google Adsに送りたいとき。
  • ✓WebやアプリのイベントをGoogle Analyticsに送る必要があるとき。
  • ✓ほかのGoogleのコンバージョンAPIから移行し、フィールドの対応が必要なとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/skills/blob/main/skills/ads/data-manager-api-event-ingestion/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Data Manager APIを使って、オフラインの売上コンバージョンをGoogle Adsに送ってください。コードも見せてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはまず送信先とイベントの種類を確認し、適切な実装ガイドを読んでから、必要なフィールドを含む取り込みのコードを書くか、エラーの確認を手伝います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

よくある質問

送信先は明確である必要がありますか?

はい。明確でない場合、コードを書く前に、イベントがどの送信先向けかを尋ねます。

失敗したリクエストを手伝えますか?

はい。リクエストの状態を確認し、エラーをトラブルシューティングするための項目があります。

ほかのAPIからの移行を手伝えますか?

はい。移行のために、フィールドの対応ガイドを取得する手順が含まれています。

詳細

作者による元の説明

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

人気

GitHubのスター
22k
ランキング
#10183
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル