Skip to content

v7.0.0

Choose a tag to compare

@aao-ipr-bot aao-ipr-bot released this 16 Aug 16:53
a2169b8

ADCP Python SDK 7.0

ADCP Python SDK 7.0 is the stable release of the new canonical creative API,
with updated AdCP 3.1.13 schemas and substantial security and concurrency
hardening for production agents.

Highlights

  • Canonical creatives are now the primary API. Format,
    Product.format_options, format_kind, and format_option_refs replace
    legacy named-format identity in normal application code. Explicit
    Legacy* types and *_legacy methods remain as migration escape hatches.
  • AdCP 3.1.13 support. The verified schema bundle, generated models,
    canonical mapping registry, and request-signing vectors are updated to the
    current protocol release.
  • Stronger production security. Version 7 tightens tenant and credential
    isolation, validates callback destinations with a fail-closed policy, hardens
    auth transports and request signing, and contains failures at external sink
    boundaries.
  • Safer bounded execution. Timed synchronous decisioning work is supervised
    and admission-limited, and PostgreSQL idempotency uses a dedicated advisory-
    lock pool to avoid deadlocks under saturation.

Breaking changes

  • FormatId leaves the normal root API. Creative build, preview, and format
    discovery compatibility APIs use Legacy* request/response types and
    methods ending in _legacy.
  • create_roster_account_store(...) requires an authorize callback.
  • A custom decisioning executor= requires an explicit positive
    timed_sync_get_products_limit=.
  • PgBackend(...) requires a distinct lock_pool= in addition to its normal
    connection pool.
  • auto_emit_completion_webhooks now defaults to False; synchronous terminal
    results should be consumed inline.

See the SDK 6 to 7 migration guide
for code examples, compatibility options, and a staged rollout checklist.

Upgrade

pip install --upgrade "adcp>=7,<8"

Full changes from 6.6.0 to 7.0.0