@adcp/client API Reference - v4.19.0
    Preparing search index...

    Interface EventCustomData

    Event-specific data (value, currency, items, etc.)

    interface EventCustomData {
        value?: number;
        currency?: string;
        order_id?: string;
        content_ids?: string[];
        content_type?: string;
        content_name?: string;
        content_category?: string;
        num_items?: number;
        search_string?: string;
        contents?: {
            id: string;
            quantity?: number;
            price?: number;
            brand?: string;
        }[];
        ext?: ExtensionObject;
    }
    Index

    Properties

    value?: number

    Monetary value of the event (should be accompanied by currency)

    currency?: string

    ISO 4217 currency code

    order_id?: string

    Unique order or transaction identifier

    content_ids?: string[]

    Item identifiers for catalog attribution. Values are matched against catalog items using the identifier type declared by the catalog's content_id_type field (e.g., SKUs, GTINs, or vertical-specific IDs like job_id).

    content_type?: string

    Category of content associated with the event (e.g., 'product', 'job', 'hotel'). Corresponds to the catalog type when used for catalog attribution.

    content_name?: string

    Name of the product or content

    content_category?: string

    Category of the product or content

    num_items?: number

    Number of items in the event

    search_string?: string

    Search query for search events

    contents?: { id: string; quantity?: number; price?: number; brand?: string }[]

    Per-item details for e-commerce events

    Type Declaration

    • id: string

      Product or content identifier

    • Optionalquantity?: number

      Quantity of this item

    • Optionalprice?: number

      Price per unit of this item

    • Optionalbrand?: string

      Brand name of this item

    ext?: ExtensionObject