Skip to main content
POST /api/v2/buyer/advertisers/{advertiserId}/log-event Sends up to 10,000 outcome or marketing events in a single call, scoped to an event_source_id previously registered via Sync event sources. Events are deduplicated by event_id + event_type + event_source_id, so retries are safe.
Never send raw PII. Use only pre-hashed identifiers (SHA-256, lowercase, 64-char hex) or pre-resolved identity tokens. See the Conversion API guide for hashing rules.

Request

Parameters

Response

A 200 with partial_failures is normal — bad events are rejected individually while the rest succeed. Each failure carries event_id, code, and message. Treat a failure as something to fix at source, not a transient error.

Errors

  • 400 VALIDATION_ERROR — empty events, more than 10,000 events, or missing custom_event_name on a custom event.
  • 404 NOT_FOUNDadvertiserId does not exist, or event_source_id is not registered on the advertiser.
See Errors for the full error contract.

Event source tasks

All event source operations

Log Events guide

Event types, identity fields, and best practices

Conversion API

Identity-hashing rules and attribution methods

Sync event sources

Register a source before logging