[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVTM8AY28CRTCBSP18TRY1":3,"skill-same:01M7CVTM8AY28CRTCBSP18TRY1":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7CVTM8AY28CRTCBSP18TRY1","data-manager-api-event-ingestion",null,"Guides developers through implementing event and conversion ingestion to Google products using the Data Manager API \u002Fv1\u002Fevents\u002Fingest 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).","Henrique1601\u002FSkiilsToIAs","Henrique1601","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F92006691?v=4","01M7CRXVT0GVXVK80JT1GR687S","Henrique Bezerra Dos Santos","01M7CRXVTN5Y8TMWJ1MDSKCQ1T",0,"MIT","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fmarketing\u002Fdata-manager-api-event-ingestion\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: data-manager-api-event-ingestion\ndescription: >-\n  Guides developers through implementing event and conversion ingestion to\n  Google products using the Data Manager API \u002Fv1\u002Fevents\u002Fingest endpoint\n  and its associated client libraries. Use this skill when the user wants to upload\n  offline conversions, enhanced conversions for leads, click conversions, Google\n  Analytics web or app events, or any other event ingestion use case supported by\n  the Data Manager API. Don't use for uploading audience members (use the\n  data-manager-api-audience-ingestion skill).\nmetadata:\n  version: \"1.2.0\"\n  category: GoogleAds\n---\n# Data Manager API Event Ingestion\n\n## Implementation Workflow\n\n### Prerequisites\n\n-   **Authentication & Library Installation**: If you need to set up access to\n    the Data Manager API or install the client and utility libraries, refer to\n    the `data-manager-api-setup` skill.\n\n### Step 1: Identify Use Case & Read Documentation\n\n-   **Determine Destination Account Type**: [CRITICAL] If it can't be determined\n    from the user's context, consider clarifying which destination events are\n    being ingested to before generating any code. This maps to the\n    `account_type` field of the `operating_account` in the `Destination`,\n    and also determines valid event identifiers and requirements.\n-   **Identify User Intent**:\n    -   **Implementing ingestion code**: Follow the relevant\n        implementation guide for the destination and use case in the\n        **Implementation guide** column below. This is critical to ensure field\n        requirements are met and destinations are correctly configured.\n    -   **Checking request status or inspecting errors**: Refer to the\n        [Error Handling & Troubleshooting](#error-handling-troubleshooting)\n        section below.\n    -   **Migrating from another Google API**: Refer to\n        [Step 3: Retrieve Migration Guides](#step-3-retrieve-migration-guides)\n        below to extract the full contents of the relevant field mapping guide.\n\n| Destination (`operating_account.account_type`) | Use case | Implementation guide |\n| :--- | :--- | :--- |\n| **Google Ads** (`GOOGLE_ADS`) | Offline conversions, enhanced conversions for leads | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Foffline\u002Fsend-events.md.txt) |\n| **Google Ads** (`GOOGLE_ADS`) | Multi-source conversions supplementing the Google tag | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Fonline\u002Fsend-events.md.txt) |\n| **Google Ads** (`GOOGLE_ADS`) | Store sales conversions | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Fstore-sales\u002Fsend-events.md.txt) |\n| **Google Analytics** (`GOOGLE_ANALYTICS_PROPERTY`) | Recommended and custom GA4 events | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fanalytics\u002Frecommended-custom-events\u002Fsend-events.md.txt) |\n| **Google Analytics** (`GOOGLE_ANALYTICS_PROPERTY`) | Multi-source events with a transaction ID | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fanalytics\u002Fonline\u002Fsend-events.md.txt) |\n| **Floodlight** (`FLOODLIGHT_CONFIG`) | Floodlight offline conversions | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fcm360\u002Foffline\u002Fsend-events.md.txt) |\n| **Floodlight** (`FLOODLIGHT_CONFIG`) | Multi-source conversions supplementing the Google or Floodlight tag | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fcm360\u002Fonline\u002Fsend-events.md.txt) |\n\nIf the request doesn't match any row, fetch the\n[Events overview](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents.md.txt)\nto find the right guide rather than guessing.\n\n### Step 2: Retrieve Code Sample\n\n> [!IMPORTANT]\n> If writing or updating an ingestion script, ALWAYS retrieve the\n> relevant code sample to use as a reference:\n\n| Language | Sample |\n| :--- | :--- |\n| **Python** | [`ingest_events.py`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-python\u002Fblob\u002Fmain\u002Fsamples\u002Fevents\u002Fingest_events.py) |\n| **Java** | [`IngestEvents.java`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-java\u002Fblob\u002Fmain\u002Fdata-manager-samples\u002Fsrc\u002Fmain\u002Fjava\u002Fcom\u002Fgoogle\u002Fads\u002Fdatamanager\u002Fsamples\u002FIngestEvents.java) |\n| **PHP** | [`ingest_events.php`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-php\u002Fblob\u002Fmain\u002Fsamples\u002Fevents\u002Fingest_events.php) |\n| **Node** | [`ingest_events.ts`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-node\u002Fblob\u002Fmain\u002Fsamples\u002Fevents\u002Fingest_events.ts) |\n| **.NET**| [`IngestEvents.cs`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-dotnet\u002Fblob\u002Fmain\u002Fsamples\u002FIngestEvents.cs) |\n\n### Step 3: Retrieve Migration Guides\n\n> [!IMPORTANT]\n> If refactoring code to upgrade from another Google API, ALWAYS\n> extract the full contents of the relevant field mapping guide.\n\n#### Google Ads\n\n*   **Offline conversions, enhanced conversions for leads** (migrating from the Google Ads API):\n    [Google Ads Offline Conversions Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Foffline\u002Fupgrade\u002Ffield-mappings.md.txt)\n*   **Store sales conversions** (migrating from the Google Ads API):\n    [Google Ads Store Sales Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Fstore-sales\u002Fupgrade\u002Ffield-mappings.md.txt)\n\n#### Google Analytics\n\n*   **Recommended and custom GA4 events** (migrating from the Google Analytics Measurement Protocol):\n    [Google Analytics Measurement Protocol Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fanalytics\u002Fmeasurement-protocol\u002Fupgrade\u002Ffield-mappings.md.txt)\n\n#### Floodlight\n\n*   **Floodlight offline conversions** (migrating from the Campaign Manager 360 API):\n    [Campaign Manager 360 Offline Conversions Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fcm360\u002Foffline\u002Fupgrade\u002Ffield-mappings.md.txt)\n\n### Step 4: Implementation\n\nImplement the ingestion logic using the following checkpoints:\n\n-   [ ] **Initialize Client**: Instantiate the Data Manager client\n    (`IngestionServiceClient`).\n-   [ ] **Define Destinations**: Build the `Destination` object using the\n    `product_destination_id` and the appropriate account configurations:\n    `operating_account` (target account receiving data), `login_account` (if\n    authenticating using a manager account or a data partner account), and\n    `linked_account` (if you're a data partner accessing the account via a\n    partner link to a manager account). **STRONGLY RECOMMENDED**: Refer to the\n    [Configure destinations and headers](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fconcepts\u002Fdestinations.md.txt)\n    guide for more details on configuring destinations.\n-   [ ] **Prepare Event Data**: Use the utility library helpers to format and\n    normalize user identifiers correctly.\n-   [ ] **Construct Payload**: Build the request payload\n    (`IngestEventsRequest`) containing the destinations, event records, and\n    consent permissions.\n-   [ ] **Support Validation**: Support sending the `validate_only` boolean\n    option on the `IngestEventsRequest` to allow developers to validate schemas\n    without actually uploading data.\n-   [ ] **Send Request**: Execute `ingest_events` and record the returned\n    `request_id` for later diagnostics.\n-   [ ] **Check for Ingestion Warnings**: If any non-required field had a\n    validation failure, the response from `ingest_events` will also\n    include `field_warnings`, a list of `FieldWarning` objects detailing the\n    issues.\n-   [ ] **Retrieve Request Status**: Check the status of the ingestion request\n    using diagnostics. Since request processing is asynchronous, a\n    successful ingestion response (HTTP 200 OK returning a `request_id`) only\n    indicates the payload was received. To check if the records actually\n    succeeded, partially succeeded, or failed to process, query the\n    `client.retrieve_request_status` endpoint using the `request_id`. Skipping\n    this step is a common user mistake.\n\n## Formatting\n\n*   Fetch the [Format user data](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fconcepts\u002Fformatting.md.txt)\n    guide and use that as the source of truth for formatting and\n    normalization rules.\n\n*   Use the utility library to format, hash, and encrypt user data\n    (emails, phone numbers, addresses).\n\n    **Python Example:**\n\n    ```python\n    from google.ads.datamanager_util import Formatter\n    from google.ads.datamanager_util.format import Encoding\n\n    formatter: Formatter = Formatter()\n\n    processed_email: str = formatter.process_email_address(\n        email, Encoding.HEX\n    )\n    ```\n\n## Critical Gotchas\n\n*   Format `product_destination_id` as a numeric string. It is NOT a resource\n    name path.\n*   Format `event_timestamp` strictly in RFC 3339 format. Use the SDK's typed\n    timestamp object instead of a raw string where available.\n*   Nest click identifiers (`gclid`, `gbraid`, `wbraid`) inside the\n    `ad_identifiers` block, not directly on the base event payload.\n*   The enum values for `ConsentStatus` are `CONSENT_GRANTED` and\n    `CONSENT_DENIED`. Do not use the values `GRANTED` and `DENIED`.\n*   Note that `consent` can be set globally on the `IngestEventsRequest` or on\n    individual `Event`s.\n*   Verify that `UserIdentifier` uses `email_address` and `phone_number`.\n    Do not use the Google Ads API fields `hashed_email` and\n    `hashed_phone_number`.\n*   Ensure the currency field on the event is named `currency`, not\n    `currency_code`.\n*   Do not call the diagnostics endpoint (`retrieve_request_status`) if\n    `validate_only` is set to `true`.\n\n## Error Handling & Troubleshooting\n\n### Inspecting Error Payloads & Ingestion Warnings\n\n> [!IMPORTANT]\n> Refer to [Understand API Errors](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fconcepts\u002Funderstand-errors.md.txt)\n> for a detailed guide on how to understand the structure of errors and warnings\n> returned by the API.\n\n### Retrieving Request Status (Diagnostics)\n\nPeriodically poll for status using exponential backoff, starting at least\n30 minutes after sending the `IngestEventsRequest`.\n\n1.  Call `client.retrieve_request_status` using\n    `RetrieveRequestStatusRequest(request_id=...)`.\n2.  Loop through `request_status_per_destination` in the response to inspect\n    each target's `request_status`.\n3.  If processing is complete and `request_status` is `SUCCESS`,\n    `PARTIAL_SUCCESS`, or `FAILED`, inspect diagnostic values:\n    *   **Event Record Counts**: Check `events_ingestion_status.record_count`\n        (includes both success and failure).\n    *   **Error Details**: If status is `FAILED` or `PARTIAL_SUCCESS`, inspect\n        each error's `reason` and `record_count` under\n        `error_info.error_counts`.\n    *   **Warning Details**: Inspect each warning's `reason` and `record_count`\n        under `warning_info.warning_counts` (even if the destination status is\n        `SUCCESS`).\n\n## API Reference\n\n*   [REST API Reference](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Freference\u002Frest\u002Fv1\u002Fevents\u002Fingest.md.txt)\n*   [Diagnostics Guide](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fdiagnostics.md.txt)\n","# Data Manager API Event Ingestion\n\n## Implementation Workflow\n\n### Prerequisites\n\n-   **Authentication & Library Installation**: If you need to set up access to\n    the Data Manager API or install the client and utility libraries, refer to\n    the `data-manager-api-setup` skill.\n\n### Step 1: Identify Use Case & Read Documentation\n\n-   **Determine Destination Account Type**: [CRITICAL] If it can't be determined\n    from the user's context, consider clarifying which destination events are\n    being ingested to before generating any code. This maps to the\n    `account_type` field of the `operating_account` in the `Destination`,\n    and also determines valid event identifiers and requirements.\n-   **Identify User Intent**:\n    -   **Implementing ingestion code**: Follow the relevant\n        implementation guide for the destination and use case in the\n        **Implementation guide** column below. This is critical to ensure field\n        requirements are met and destinations are correctly configured.\n    -   **Checking request status or inspecting errors**: Refer to the\n        [Error Handling & Troubleshooting](#error-handling-troubleshooting)\n        section below.\n    -   **Migrating from another Google API**: Refer to\n        [Step 3: Retrieve Migration Guides](#step-3-retrieve-migration-guides)\n        below to extract the full contents of the relevant field mapping guide.\n\n| Destination (`operating_account.account_type`) | Use case | Implementation guide |\n| :--- | :--- | :--- |\n| **Google Ads** (`GOOGLE_ADS`) | Offline conversions, enhanced conversions for leads | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Foffline\u002Fsend-events.md.txt) |\n| **Google Ads** (`GOOGLE_ADS`) | Multi-source conversions supplementing the Google tag | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Fonline\u002Fsend-events.md.txt) |\n| **Google Ads** (`GOOGLE_ADS`) | Store sales conversions | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Fstore-sales\u002Fsend-events.md.txt) |\n| **Google Analytics** (`GOOGLE_ANALYTICS_PROPERTY`) | Recommended and custom GA4 events | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fanalytics\u002Frecommended-custom-events\u002Fsend-events.md.txt) |\n| **Google Analytics** (`GOOGLE_ANALYTICS_PROPERTY`) | Multi-source events with a transaction ID | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fanalytics\u002Fonline\u002Fsend-events.md.txt) |\n| **Floodlight** (`FLOODLIGHT_CONFIG`) | Floodlight offline conversions | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fcm360\u002Foffline\u002Fsend-events.md.txt) |\n| **Floodlight** (`FLOODLIGHT_CONFIG`) | Multi-source conversions supplementing the Google or Floodlight tag | [Send events](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fcm360\u002Fonline\u002Fsend-events.md.txt) |\n\nIf the request doesn't match any row, fetch the\n[Events overview](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents.md.txt)\nto find the right guide rather than guessing.\n\n### Step 2: Retrieve Code Sample\n\n> [!IMPORTANT]\n> If writing or updating an ingestion script, ALWAYS retrieve the\n> relevant code sample to use as a reference:\n\n| Language | Sample |\n| :--- | :--- |\n| **Python** | [`ingest_events.py`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-python\u002Fblob\u002Fmain\u002Fsamples\u002Fevents\u002Fingest_events.py) |\n| **Java** | [`IngestEvents.java`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-java\u002Fblob\u002Fmain\u002Fdata-manager-samples\u002Fsrc\u002Fmain\u002Fjava\u002Fcom\u002Fgoogle\u002Fads\u002Fdatamanager\u002Fsamples\u002FIngestEvents.java) |\n| **PHP** | [`ingest_events.php`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-php\u002Fblob\u002Fmain\u002Fsamples\u002Fevents\u002Fingest_events.php) |\n| **Node** | [`ingest_events.ts`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-node\u002Fblob\u002Fmain\u002Fsamples\u002Fevents\u002Fingest_events.ts) |\n| **.NET**| [`IngestEvents.cs`](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fdata-manager-dotnet\u002Fblob\u002Fmain\u002Fsamples\u002FIngestEvents.cs) |\n\n### Step 3: Retrieve Migration Guides\n\n> [!IMPORTANT]\n> If refactoring code to upgrade from another Google API, ALWAYS\n> extract the full contents of the relevant field mapping guide.\n\n#### Google Ads\n\n*   **Offline conversions, enhanced conversions for leads** (migrating from the Google Ads API):\n    [Google Ads Offline Conversions Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Foffline\u002Fupgrade\u002Ffield-mappings.md.txt)\n*   **Store sales conversions** (migrating from the Google Ads API):\n    [Google Ads Store Sales Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fgoogle-ads\u002Fstore-sales\u002Fupgrade\u002Ffield-mappings.md.txt)\n\n#### Google Analytics\n\n*   **Recommended and custom GA4 events** (migrating from the Google Analytics Measurement Protocol):\n    [Google Analytics Measurement Protocol Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fanalytics\u002Fmeasurement-protocol\u002Fupgrade\u002Ffield-mappings.md.txt)\n\n#### Floodlight\n\n*   **Floodlight offline conversions** (migrating from the Campaign Manager 360 API):\n    [Campaign Manager 360 Offline Conversions Migration Field Mappings](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fevents\u002Fcm360\u002Foffline\u002Fupgrade\u002Ffield-mappings.md.txt)\n\n### Step 4: Implementation\n\nImplement the ingestion logic using the following checkpoints:\n\n-   [ ] **Initialize Client**: Instantiate the Data Manager client\n    (`IngestionServiceClient`).\n-   [ ] **Define Destinations**: Build the `Destination` object using the\n    `product_destination_id` and the appropriate account configurations:\n    `operating_account` (target account receiving data), `login_account` (if\n    authenticating using a manager account or a data partner account), and\n    `linked_account` (if you're a data partner accessing the account via a\n    partner link to a manager account). **STRONGLY RECOMMENDED**: Refer to the\n    [Configure destinations and headers](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fconcepts\u002Fdestinations.md.txt)\n    guide for more details on configuring destinations.\n-   [ ] **Prepare Event Data**: Use the utility library helpers to format and\n    normalize user identifiers correctly.\n-   [ ] **Construct Payload**: Build the request payload\n    (`IngestEventsRequest`) containing the destinations, event records, and\n    consent permissions.\n-   [ ] **Support Validation**: Support sending the `validate_only` boolean\n    option on the `IngestEventsRequest` to allow developers to validate schemas\n    without actually uploading data.\n-   [ ] **Send Request**: Execute `ingest_events` and record the returned\n    `request_id` for later diagnostics.\n-   [ ] **Check for Ingestion Warnings**: If any non-required field had a\n    validation failure, the response from `ingest_events` will also\n    include `field_warnings`, a list of `FieldWarning` objects detailing the\n    issues.\n-   [ ] **Retrieve Request Status**: Check the status of the ingestion request\n    using diagnostics. Since request processing is asynchronous, a\n    successful ingestion response (HTTP 200 OK returning a `request_id`) only\n    indicates the payload was received. To check if the records actually\n    succeeded, partially succeeded, or failed to process, query the\n    `client.retrieve_request_status` endpoint using the `request_id`. Skipping\n    this step is a common user mistake.\n\n## Formatting\n\n*   Fetch the [Format user data](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fconcepts\u002Fformatting.md.txt)\n    guide and use that as the source of truth for formatting and\n    normalization rules.\n\n*   Use the utility library to format, hash, and encrypt user data\n    (emails, phone numbers, addresses).\n\n    **Python Example:**\n\n    ```python\n    from google.ads.datamanager_util import Formatter\n    from google.ads.datamanager_util.format import Encoding\n\n    formatter: Formatter = Formatter()\n\n    processed_email: str = formatter.process_email_address(\n        email, Encoding.HEX\n    )\n    ```\n\n## Critical Gotchas\n\n*   Format `product_destination_id` as a numeric string. It is NOT a resource\n    name path.\n*   Format `event_timestamp` strictly in RFC 3339 format. Use the SDK's typed\n    timestamp object instead of a raw string where available.\n*   Nest click identifiers (`gclid`, `gbraid`, `wbraid`) inside the\n    `ad_identifiers` block, not directly on the base event payload.\n*   The enum values for `ConsentStatus` are `CONSENT_GRANTED` and\n    `CONSENT_DENIED`. Do not use the values `GRANTED` and `DENIED`.\n*   Note that `consent` can be set globally on the `IngestEventsRequest` or on\n    individual `Event`s.\n*   Verify that `UserIdentifier` uses `email_address` and `phone_number`.\n    Do not use the Google Ads API fields `hashed_email` and\n    `hashed_phone_number`.\n*   Ensure the currency field on the event is named `currency`, not\n    `currency_code`.\n*   Do not call the diagnostics endpoint (`retrieve_request_status`) if\n    `validate_only` is set to `true`.\n\n## Error Handling & Troubleshooting\n\n### Inspecting Error Payloads & Ingestion Warnings\n\n> [!IMPORTANT]\n> Refer to [Understand API Errors](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fconcepts\u002Funderstand-errors.md.txt)\n> for a detailed guide on how to understand the structure of errors and warnings\n> returned by the API.\n\n### Retrieving Request Status (Diagnostics)\n\nPeriodically poll for status using exponential backoff, starting at least\n30 minutes after sending the `IngestEventsRequest`.\n\n1.  Call `client.retrieve_request_status` using\n    `RetrieveRequestStatusRequest(request_id=...)`.\n2.  Loop through `request_status_per_destination` in the response to inspect\n    each target's `request_status`.\n3.  If processing is complete and `request_status` is `SUCCESS`,\n    `PARTIAL_SUCCESS`, or `FAILED`, inspect diagnostic values:\n    *   **Event Record Counts**: Check `events_ingestion_status.record_count`\n        (includes both success and failure).\n    *   **Error Details**: If status is `FAILED` or `PARTIAL_SUCCESS`, inspect\n        each error's `reason` and `record_count` under\n        `error_info.error_counts`.\n    *   **Warning Details**: Inspect each warning's `reason` and `record_count`\n        under `warning_info.warning_counts` (even if the destination status is\n        `SUCCESS`).\n\n## API Reference\n\n*   [REST API Reference](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Freference\u002Frest\u002Fv1\u002Fevents\u002Fingest.md.txt)\n*   [Diagnostics Guide](https:\u002F\u002Fdevelopers.google.com\u002Fdata-manager\u002Fapi\u002Fdevguides\u002Fdiagnostics.md.txt)\n",{"name":5,"metadata":24,"description":7},{"version":25,"category":26},"1.2.0","GoogleAds","main","a73152352c0612252131e5cf84e91312a6cf17dc","marketing\u002Fdata-manager-api-event-ingestion","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs","https:\u002F\u002Fgithub.com\u002FHenrique1601","https:\u002F\u002Fbezerraportifolio.netlify.app\u002F","Full Stack Developer | React, Next.js, TypeScript, Node.js & IA | Construindo produtos digitais e soluções SaaS","2026-11-15 02:56:04",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Henrique1601\u002FSkiilsToIAs --skill data-manager-api-event-ingestion",{"tool":41,"command":42},"bunx","bunx skills add Henrique1601\u002FSkiilsToIAs --skill data-manager-api-event-ingestion",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Henrique1601\u002FSkiilsToIAs --skill data-manager-api-event-ingestion","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fmarketing\u002Fdata-manager-api-event-ingestion\u002FSKILL.md",true,[],[50,57,64,72,79,86],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7E2ANBW9V6AVX5JXNCEAWF8","rag-architect-agent","Agente Arquiteto de RAG, Embeddings & Busca Vetorial. Especialista em design e implementação de pipelines de Retrieval-Augmented Generation de alta fidelidade: chunking semântico, modelagem pgvector no PostgreSQL (Neon\u002FSupabase), busca híbrida (cosseno + BM25), reranking, validação via TypeSafe AI e filosofia Ponytail (anti-overengineering).","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fcustom-agents\u002Frag-architect-agent\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E29KKF8R02ZRGYE2MJM67G","rag-architecture-patterns","Padrões arquiteturais e implementação de pipelines RAG (Retrieval-Augmented Generation) de alta fidelidade para qualquer projeto ou sistema. Cobre chunking semântico, embeddings, busca híbrida (pgvector + BM25), reranking, validação via TypeSafe AI e filosofia Ponytail (anti-overengineering).","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fai-agents\u002Frag-architecture-patterns\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7CWRA8E3BJ7CPY8N8EG28J1","skill-repair","Use this to fix and re-install agent skills that have failed installation.\nThis skill provides the necessary context and permissions to surgically update\nthe `manifest.json` after a fix has been applied.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fskill-repair\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CWR66FZP8FA47WVZ4Z2EXC","security-scan","Scan your Claude Code configuration (.claude\u002F directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Checks CLAUDE.md, settings.json, MCP servers, hooks, and agent definitions.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-scan\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CWR0QPY58QPTR1P759TFNG","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-review\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7CWQXCE40XWT4FZ3VWZFGDP","security-bounty-hunter","Hunt for exploitable, bounty-worthy security issues in repositories. Focuses on remotely reachable vulnerabilities that qualify for real reports instead of noisy local-only findings.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-bounty-hunter\u002FSKILL.md",[],[]]