Skip to content
Skillpedia
Analysis & spreadsheets22k · #10183

data-manager-api-event-ingestion

What it does

It explains how to send conversion and event data to Google products so that ad and analytics results are more complete. It is for developers and analysts who track sales or leads.

When to use it

  • ✓When you want to send offline sales or lead conversions to Google Ads.
  • ✓When you need to send web or app events to Google Analytics.
  • ✓When you are moving from another Google conversion API and need the field mapping.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/google/skills/blob/main/skills/ads/data-manager-api-event-ingestion/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Send my offline sales conversions to Google Ads using the Data Manager API and show me the code.”

5 new skills a week. 1 minute to read.

How it works

It first confirms the destination and event type, reads the right implementation guide, and then writes ingestion code with the required fields, or helps check errors.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Does the destination need to be clear?

Yes. If it is not clear, the skill asks which destination the events are for before writing code.

Can it help with failed requests?

Yes. It has a section for checking request status and troubleshooting errors.

Can it help with migration from another API?

Yes. It includes a step to retrieve the field mapping guide for a migration.

Details

Original description by the author

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

Popularity

GitHub stars
22k
Ranking position
#10183
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills