Skip to content

feat(creative): identify seller-created creatives and return seller IDs on reads - #8175

Merged
bokelley merged 7 commits into
mainfrom
bokelley/creative-identity-source
Oct 15, 2026
Merged

bokelley merged 7 commits into
mainfrom
bokelley/creative-identity-source

Conversation

@bokelley

@bokelley bokelley commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

list_creatives is already source-neutral: sellers MUST list creatives that entered their library outside sync_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 their creative_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 the sync_creatives response.

Class: Normative (additive, opt-in). The first version of this PR made these guarantees MUSTs for every 3.3 seller and changed delete_missing for everyone. WG feedback (Constantine Mirin): that would make 3.2-conformant sellers non-compliant within 3.x. This version follows the account.stable_account_id precedent from #8123 instead.

Changes (x-added-in: 3.3.0)

  • New capability creative.stable_creative_ids (requires has_creative_library: true). A seller that declares it:

    • MUST keep seller-assigned creative IDs stable for the creative's lifetime and unique within the account;
    • MUST NOT reuse a buyer's creative_id;
    • MUST NOT archive seller-created creatives under sync_creatives delete_missing.

    Without it, sellers SHOULD follow the same rules, buyers MUST NOT rely on them, and delete_missing keeps its 3.2 behavior.

  • list_creatives creatives[].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 by creative_id. The sync_creatives platform_id description now reads "the seller's identifier in its source of truth" instead of "platform-specific".

  • Clarifications:

    • A sync of an existing creative_id updates that creative under the normal upsert rules, whatever created it.
    • Buyers SHOULD use UUIDs or a stable prefix, and detect a collision from action: updated where they expected created.
    • Sellers MUST NOT mint revision_id for seller-created creatives.

Dropped after review: creative_id_source and assignment_platform_id. creative_id stays 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-nav
  • per-file JSON-schema checks on the touched docs, build:compliance, changeset scope

🤖 Generated with Claude Code


Open workspace in Conductor

bokelley and others added 2 commits October 13, 2026 10:25
…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]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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. new enums/creative-id-source.json) while review_decision is REVIEW_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) matches static/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matches static/schemas/source/**; static/schemas/source/creative/sync-creatives-response.json (modified) matches static/schemas/source/**; static/schemas/source/enums/creative-id-source.json (added) matches static/schemas/source/**; static/schemas/source/index.json (modified) matches static/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matches static/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.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Oct 13, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/** while review_decision is REVIEW_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) matches static/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matches static/schemas/source/**; static/schemas/source/creative/sync-creatives-response.json (modified) matches static/schemas/source/**; static/schemas/source/enums/creative-id-source.json (added) matches static/schemas/source/**; static/schemas/source/index.json (modified) matches static/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matches static/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.

Copy link
Copy Markdown
Contributor Author

Resolving the open question in the description: keeping it as written for 3.3. delete_missing never archives seller-created creatives, including ones a buyer has taken over. The cleaner fix later is an explicit archive-by-ID that works on any creative the buyer manages, with delete_missing still never touching seller-created ones. That will be a separate post-3.3 change.

bokelley and others added 2 commits October 13, 2026 19:51
…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]>
bokelley and others added 2 commits October 15, 2026 17:38
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
@bokelley
bokelley enabled auto-merge (squash) October 15, 2026 17:54
…ntity-source

# Conflicts:
#	docs/creative/specification.mdx
@bokelley
bokelley merged commit 1c22d31 into main Oct 15, 2026
64 checks passed
@bokelley
bokelley deleted the bokelley/creative-identity-source branch October 15, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant