v7.0.0
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, andformat_option_refsreplace
legacy named-format identity in normal application code. Explicit
Legacy*types and*_legacymethods 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
FormatIdleaves the normal root API. Creative build, preview, and format
discovery compatibility APIs useLegacy*request/response types and
methods ending in_legacy.create_roster_account_store(...)requires anauthorizecallback.- A custom decisioning
executor=requires an explicit positive
timed_sync_get_products_limit=. PgBackend(...)requires a distinctlock_pool=in addition to its normal
connection pool.auto_emit_completion_webhooksnow defaults toFalse; 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"