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

    Interface Duration

    A time duration expressed as an interval and unit. Used for frequency cap windows, attribution windows, reach optimization windows, time budgets, and other time-based settings. When unit is 'campaign', interval must be 1 — the window spans the full campaign flight.

    interface Duration {
        interval: number;
        unit: "seconds" | "minutes" | "hours" | "days" | "campaign";
    }
    Index

    Properties

    Properties

    interval: number

    Number of time units. Must be 1 when unit is 'campaign'.

    unit: "seconds" | "minutes" | "hours" | "days" | "campaign"

    Time unit. 'seconds' for sub-minute precision. 'campaign' spans the full campaign flight.