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

    Interface ListProposalsRequest

    Read the seller's current proposals for an account, optionally narrowed to opportunities or proposal IDs. Experimental (media_buy.open_opportunities): sellers implementing it MUST list the feature id in experimental_features. Each invocation completes synchronously and never mutates proposal or opportunity state. It is the authoritative current-state and repair read for proposal.created notifications, for proposal.offered notifications (the buy-scoped sibling for seller offers against accepted media buys, defined with media_buy.seller_offers), and for proposal records in list_account_changes; buyers use the notification or the change feed to learn that something changed, not routine polling. Results are visible to every principal the seller authorizes for the account, the same as other account-scoped reads, and never cross accounts.

    interface ListProposalsRequest {
        adcp_version?: string;
        adcp_major_version?: number;
        idempotency_key?: string;
        context_id?: string;
        context?: ContextObject;
        governance_context?: string;
        push_notification_config?: PushNotificationConfig;
        account: CanonicalAccountReference;
        opportunity_ids?: string[];
        media_buy_ids?: string[];
        proposal_ids?: string[];
        dispositions?: ProposalDisposition[];
        cursor?: string;
        max_results?: number;
        ext?: ExtensionObject;
    }
    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 subscription; proposal.created subscribers are registered through sync_accounts notification_configs.

    account: CanonicalAccountReference

    Account whose proposals to read.

    opportunity_ids?: string[]

    Return only proposals associated with these opportunities. Proposals created without an opportunity are returned only when no opportunity_ids filter is supplied.

    50

    media_buy_ids?: string[]

    Return only proposals whose snapshot media_buy_id is one of these buys: seller offers and other amendments against those buys, plus the accepted snapshots that created them. Proposals with no media_buy_id are returned only when no media_buy_ids filter is supplied. Unknown or inaccessible IDs are omitted, not errors. Combines with the other filters as an AND.

    50

    proposal_ids?: string[]

    Return only these proposals. Unknown or inaccessible IDs are omitted, not errors.

    100

    dispositions?: ProposalDisposition[]

    Return only proposals in these dispositions. Defaults to every disposition. Terminal snapshots are retained for at least 30 days after their disposition changed.

    cursor?: string

    1

    max_results?: number

    1

    100

    int