data-manager-api-event-ingestion
FreeNo executable scriptsNot checkedGuides developers through implementing event and conversion ingestion to Google products using the Data Manager API /v1/events:ingest endpoint and its…
by google★ 25,380 GitHub starsAbout this skill
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-setupskill.
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_typefield of theoperating_accountin theDestination, and also determines valid event identifiers and requirements. - Identify User Intent:
- Answering questions about requirements or implementing ingestion code: Retrieve the full contents of the relevant implementation guide for the destination and use case in the Implementation guide column below before answering or writing code. Use its Event field requirements, Identifier requirements, and How Google handles multi-source data sections as the source of truth for destination configuration, event and identifier requirements, and deduplication or update behavior.
- Checking request status or inspecting errors: Use the
data-manager-api-troubleshootingskill. - 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 Ads (GOOGLE_ADS) |
Call 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
- Offline conversions, enhanced conversions for leads (migrating from the Google Ads API): Google Ads Offline Conversions Migration Field Mappings
- Store sales conversions (migrating from the Google Ads API): [Google Ads Store Sales
Install data-manager-api-event-ingestion in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the data-manager-api-event-ingestion skill do?
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, call 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), or for debugging errors, checking request status, or investigating missing conversions (use the data-manager-api-troubleshooting skill).
How do I install the data-manager-api-event-ingestion skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the data-manager-api-event-ingestion skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic