Repository navigation
feat(creative): identify seller-created creatives and return seller IDs on reads - #8175
Conversation
…Ds on reads list_creatives is source-neutral: sellers must list creatives created outside AdCP, and every row requires creative_id. The spec never said who assigns that ID for a creative that never came through sync_creatives, whether it is stable, how it avoids clashing with buyer IDs, or how a buyer tells the two apart. The seller's own identifier (platform_id) was only returned once, on the sync_creatives response, and could not express a seller that keeps a separate object per package. - New enum creative-id-source (buyer | seller), returned on list_creatives rows and get_media_buys creative_approvals rows. 3.3 sellers MUST include it; absent means unknown. It records the ID's origin and stays seller after a buyer updates the creative. - Seller-assigned creative_id rules: stable, unique in the account, never an ID a buyer already used, MAY equal platform_id, SHOULD use a stable prefix; no seller-minted revision_id. - Syncing a seller-assigned creative_id is an upsert under normal active-delivery protection; creation surface is never a reason to refuse. A colliding buyer sync is an upsert (action: updated). Buyers SHOULD namespace IDs. delete_missing never archives seller-assigned creatives. - list_creatives returns platform_id; assignment_platform_id on list_creatives assigned_packages and get_media_buys creative_approvals carries the seller's per-package object ID. Both are added to the cross-read agreement clause. Platform IDs are seller-opaque and never sent back on AdCP requests, so they carry an "x-entity deliberately omitted" $comment rather than x-entity. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths touched and required review is not yet satisfied.
This PR is an additive 3.3.0 spec change: a new creative-id-source enum (buyer|seller) plus optional creative_id_source, platform_id, and assignment_platform_id fields on list_creatives/get_media_buys reads, with normative rules for seller-assigned IDs and delete_missing. The reviewer verified schema↔docs coherence across all six touched schema files and their reference pages (all consistent), confirmed the new enum follows repo convention (enumDescriptions + x-added-in), confirmed a correctly-scoped minor changeset is present, no dist/** artifacts touched, no undiscriminated oneOf introduced, and all new fields optional so 3.2 payloads stay valid. No Critical/High/Medium findings.
The diff is mechanically clean, but it modifies files under static/schemas/source/**, which are under a hard, deterministic approval gate (gated_paths: true). review_decision is REVIEW_REQUIRED, not APPROVED, so per decision-table row 2 the gate is NOT satisfied and the outcome cannot be approve. Human/CODEOWNERS review of the protocol source-of-truth change is required.
No blocking findings exist; once a human/CODEOWNERS approval lands (review_decision: APPROVED), this would fall through to a clean approve.
Escalation reasons
- Modifies gated protocol-source files under
static/schemas/source/**(six schema files incl. newenums/creative-id-source.json) whilereview_decisionisREVIEW_REQUIRED; human/CODEOWNERS review required.
Why human review
- Modifies gated paths under static/schemas/source/** (6 files, incl. new enums/creative-id-source.json) while review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required before merge
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/creative/list-creatives-request.json (modified) matches
static/schemas/source/**; static/schemas/source/creative/list-creatives-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/sync-creatives-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/creative-id-source.json (added) matchesstatic/schemas/source/**; static/schemas/source/index.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated-paths hard gate not satisfied.
This PR modifies protocol source under static/schemas/source/** (7 files, incl. the new enums/creative-id-source.json), which is a hard, non-overridable approval gate. gated_paths: true and review_decision: REVIEW_REQUIRED (not APPROVED), so Row 2 of the decision table fires: Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
The change itself is a clean additive 3.3.0 minor: new optional creative_id_source/platform_id/assignment_platform_id fields and a new creative-id-source enum, all optional so existing 3.2 payloads stay valid, carried by a correct minor changeset. Schema↔docs coherence holds, no oneOf discriminator regression, no immutable-artifact edits, and the delta since the prior review is a single cosmetic markdown-link change in get_media_buys.mdx. Reviewer surfaced no Critical/High/Medium findings.
Escalation reasons:
- Modifies gated paths under
static/schemas/source/**whilereview_decisionisREVIEW_REQUIRED— human/CODEOWNERS approval required before merge.
No code-level blockers; the escalation is purely the unsatisfied approval gate. Once a human/CODEOWNERS approval lands, this is an approve.
Why human review
- Modifies gated paths under static/schemas/source/** (7 files, incl. new enums/creative-id-source.json) while review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge (hard gate, decision-table Row 2).
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/creative/list-creatives-request.json (modified) matches
static/schemas/source/**; static/schemas/source/creative/list-creatives-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/sync-creatives-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/creative-id-source.json (added) matchesstatic/schemas/source/**; static/schemas/source/index.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
|
Resolving the open question in the description: keeping it as written for 3.3. |
…exception delete_missing no longer archives seller-created creatives, and seller-assigned creative IDs must be stable, unique, and never reuse a buyer ID. 3.2 left both undefined, so a previously conformant seller can fail them. Classified Breaking under the WG constitution and recorded in the 3.3 exceptions table and the 3.2-to-3.3 migration guide. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
WG feedback: requiring stable seller-assigned IDs and changing what delete_missing archives would make 3.2-conformant sellers non-compliant within 3.x. Following the account.stable_account_id precedent, sellers now opt in with creative.stable_creative_ids; without it the rules are SHOULD and delete_missing keeps its 3.2 behavior. Simplify the identifiers: creative_id stays the only key. Drop creative_id_source (only the seller needs a creative's origin; buyers know which IDs they synced) and assignment_platform_id (per-package seller objects can come later). Keep platform_id readback on list_creatives for matching the seller's own UI and reports. Remove the 3.3 compatibility-exception entries; the change is additive. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ntity-source # Conflicts: # docs/protocol/get_adcp_capabilities.mdx
…ntity-source # Conflicts: # docs/creative/specification.mdx
Summary
list_creativesis already source-neutral: sellers MUST list creatives that entered their library outsidesync_creatives. Typically these existed before the buyer connected to an advertiser with live buys and creatives. They have no buyer-assigned ID, so the seller assigns theircreative_id, and the buyer needs that ID to reference them later in assignments, merges and reporting. The spec doesn't say whether that ID is stable. The seller's own identifier (platform_id) is also only returned once, in thesync_creativesresponse.Class: Normative (additive, opt-in). The first version of this PR made these guarantees MUSTs for every 3.3 seller and changed
delete_missingfor everyone. WG feedback (Constantine Mirin): that would make 3.2-conformant sellers non-compliant within 3.x. This version follows theaccount.stable_account_idprecedent from #8123 instead.Changes (
x-added-in: 3.3.0)New capability
creative.stable_creative_ids(requireshas_creative_library: true). A seller that declares it:creative_id;sync_creativesdelete_missing.Without it, sellers SHOULD follow the same rules, buyers MUST NOT rely on them, and
delete_missingkeeps its 3.2 behavior.list_creativescreatives[].platform_id: the seller's own identifier, readable after the sync response is gone. It lets operators match a creative to the seller's UI and reports. Buyers still address creatives bycreative_id. Thesync_creativesplatform_iddescription now reads "the seller's identifier in its source of truth" instead of "platform-specific".Clarifications:
creative_idupdates that creative under the normal upsert rules, whatever created it.action: updatedwhere they expectedcreated.revision_idfor seller-created creatives.Dropped after review:
creative_id_sourceandassignment_platform_id.creative_idstays the only key. Only the seller needs to know where a creative came from, and a buyer knows which IDs it synced. Per-package seller IDs can come later if a seller needs them.Decided: a buyer can't archive a seller-created creative it has taken over. That's fine for 3.3. The later fix is an explicit archive-by-ID.
Related 3.3 PRs: #8174 (how current creative state is), #8178 (merge a seller-created copy; stacked on this PR, requires
stable_creative_ids).Test plan
test:schemas,test:composed,test:mcp-schema-projection,test:examples,test:error-codes,test:platform-agnostic,test:owned-links,test:docs-navbuild:compliance, changeset scope🤖 Generated with Claude Code
Open workspace in Conductor