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:
- **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-troubleshooting skill.
- 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
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 |
| :--- | :--- |