@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface LogEventRequest

    Request parameters for logging marketing events

    interface LogEventRequest {
        adcp_major_version?: number;
        event_source_id: string;
        test_event_code?: string;
        events: Event[];
        idempotency_key: string;
        context?: ContextObject;
        ext?: ExtensionObject;
    }
    Index

    Properties

    adcp_major_version?: number

    The AdCP major version the buyer's payloads conform to. Sellers validate against their supported major_versions and return VERSION_UNSUPPORTED if unsupported. When omitted, the seller assumes its highest supported version.

    1

    99

    event_source_id: string

    Event source configured on the account via sync_event_sources

    test_event_code?: string

    Test event code for validation without affecting production data. Events with this code appear in the platform's test events UI.

    events: Event[]

    Events to log

    idempotency_key: string

    Client-generated unique key for this request. Prevents duplicate event logging on retries. MUST be unique per (seller, request) pair to prevent cross-seller correlation. Use a fresh UUID v4 for each request.

    16

    255

    ^[A-Za-z0-9_.:-]{16,255}$

    context?: ContextObject
    ext?: ExtensionObject