@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface ListProductsRequest

    Read seller offers with structured discovery criteria. When criteria includes catalog, provide exactly one brand source: top-level brand or a natural-key account containing brand and operator. Each invocation completes synchronously, while durable wholesale product-feed webhooks registered through sync_accounts keep buyer mirrors current without polling. list_products is the authoritative bootstrap and repair read for those subscriptions; proposal creation is handled by request_proposals.

    interface ListProductsRequest {
        adcp_version?: string;
        adcp_major_version?: number;
        idempotency_key?: string;
        context_id?: string;
        context?: ContextObject;
        governance_context?: string;
        push_notification_config?: PushNotificationConfig;
        account?: CanonicalAccountReference;
        brand?: BrandKey;
        criteria?: ProductDiscoveryCriteria;
        fields?: ProductResponseFields;
        include_collections?: boolean;
        include_execution_readiness?: boolean;
        cursor?: string;
        max_results?: number;
        if_feed_version?: string;
        if_pricing_version?: string;
    }
    Index
    adcp_version?: string

    Release-precision AdCP version (VERSION.RELEASE, e.g. "3.0", "3.1", "3.1-beta"). On a request: the buyer's release pin — the seller validates against its supported_versions and returns VERSION_UNSUPPORTED on cross-major mismatch, or downshifts to the highest supported release within the same major. On a response: the release the seller actually served — clients SHOULD validate the response against that release's schema, not against their pin. Patches are not negotiated; surface them as build_version on capabilities for operational visibility. When omitted, falls back to adcp_major_version (deprecated) or server default. Buyers SHOULD emit both adcp_version and adcp_major_version through 3.x to remain compatible with sellers that only read the legacy field. NORMALIZATION: SDKs that read full-semver values from bundle metadata (e.g. ComplianceIndex.published_version = "3.1.0-beta.1") MUST normalize to release-precision ("3.1-beta.1") before emitting on the wire — meta-field values are NOT valid wire values.

    adcp_major_version?: number

    DEPRECATED in favor of adcp_version (release-precision string). Servers MUST continue to honor this field through 3.x. Removed in 4.0. Original semantics: 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.

    idempotency_key?: string

    Optional replay key accepted uniformly on read calls.

    16

    255

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

    context_id?: string

    MCP compatibility field: servers ignore this value; A2A uses transport-native Message/Task contextId.

    1

    context?: ContextObject
    governance_context?: string

    1

    4096

    push_notification_config?: PushNotificationConfig

    Uniform per-call envelope field accepted for SDK compatibility. This does not register a wholesale feed subscription; durable product.* and wholesale_feed.bulk_change subscribers are registered through sync_accounts notification_configs.

    account?: CanonicalAccountReference

    Account scope for pricing and availability. A natural-key account is the single brand source and MUST NOT be combined with top-level brand.

    brand?: BrandKey
    criteria?: ProductDiscoveryCriteria
    fields?: ProductResponseFields
    include_collections?: boolean

    Experimental (media_buy.collection_cards). When true, asks the seller to return the response-level collections array: the full object for each collection referenced by the collections selectors of products on the page. Sellers MUST NOT return collections unless this is true, and when it is true they SHOULD include every referenced collection. The 3.2 schema of this request rejects unknown fields, so a seller validating against it rejects the flag; send it only to a seller that lists media_buy.collection_cards in experimental_features. Part of the feed_version scope: without it collection copies are outside the version, and with it the version also changes when any returned collection copy changes. Buyers detect omitted collections by comparing product selectors with the returned array and resolve those from the publisher's adagents.json.

    include_execution_readiness?: boolean

    Experimental (media_buy.execution_readiness). With account, asks for the response-level execution_readiness map for the page's products. Ignored without account; an unresolved account still returns ACCOUNT_NOT_FOUND. Outside the feed_version, pricing_version and cache_scope selection. Schemas before 3.2.8 reject unknown fields here, so send it only to a seller listing media_buy.execution_readiness in experimental_features.

    cursor?: string

    1

    max_results?: number

    1

    100

    int

    if_feed_version?: string

    Opaque feed version returned by a prior list_products response or wholesale product-feed webhook for the same cache scope and canonicalized selection. include_collections is part of the selection (absent and false are the same scope; webhook versions belong to the scope without it), so a token issued under the other include_collections setting is a mismatch and gets a full listed response. Used for repair and conditional reconciliation, not routine polling when webhooks are active.

    if_pricing_version?: string

    Opaque pricing version returned by a prior list_products response. Valid only with if_feed_version.