Repository navigation
Conversation
…delivery Adds experimental breakdown_composition (request), by_package[].by_composition (response), and reporting_capabilities.supports_breakdown_composition for cross-tabulated delivery cells, with cursor pagination, truncated/suppressed flags, a gated marginal-consistency rule, two BREAKDOWN_* error codes, and conformance vectors. Draft for WG review of #6208. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ery-breakdowns-6208
…ispositions Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…thub.com/adcontextprotocol/adcp into feat/composable-delivery-breakdowns-6208
5 tasks done
Contributor
Author
|
A seller-side use case and commitment for It raises two small points for this diff:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft schema and normative-doc diff for #6208, scoped to a bounded, additive, experimental 3.3 slice (feature id
media_buy.delivery_composition).breakdown_composition: 2 to 3 ofdate,geo(country/region/metro; metro requiressystem),device_type,device_platform,placement,creative,property;limit,sort_by($ref enums/sort-metric.json),sort_direction,cursor.by_package[].by_composition:dimensions,rows[{key, metrics}],truncated,suppressed,sorted_by,sort_direction,pagination(sharedcore/pagination-response.json, as feat(media-buy): add cursor pagination for bounded delivery breakdowns #7298). Rowkeymembers reuse theby_*row identity names (creative_id,placement_id,geo_level+geo_code+system,publisher_domain+identifier, ...).reporting_capabilities.supports_breakdown_composition(max_dimensions2..3,composable_dimensions).BREAKDOWN_COMPOSITION_UNSUPPORTED,BREAKDOWN_DIMENSION_NOT_COMPOSABLE(both onenumDescriptionsandenumMetadata, DR-0003);CURSOR_EXPIREDdescription widened to composition cursors; a changed cursor request isINVALID_REQUEST.static/compliance/source/test-vectors/breakdown-composition/(6 positive, 17 negative) executed bytests/breakdown-composition-contract.test.cjs.get_media_buy_delivery.mdx, row inoptimization-reporting.mdx, feature id inexperimental-status.mdx. Changeset: minor.Pre-vote fixlist from the triage is applied (sort enum ref, key vocabulary, truncated qualifier, SCREAMING_SNAKE codes).
WG decision brief: see the
## WG decision brief (3.3)comment on #6208.Alternatives not picked
max_cells-only truncation (the RFC's original shape): a dead end like the pre-feat(media-buy): add cursor pagination for bounded delivery breakdowns #7298*_truncatedflags. Replaced by cursor.next_cursorin 3.2 and populate in 3.3: moot; 3.2 is shipped.max_dimensionsonly: raising a schema cap later is additive, lowering one is breaking, so the protocol caps at 3.datealways composable: rejected; listed explicitly like any dimension (some sellers have no daily data at cell grain; alifetime_onlyproduct never lists it).postal_areaallowed: the use case needs geo, so country/region/metro are in; postal grain is a bulk-export shape and waits for export work.by_*rows) instead ofkey/metrics: composition keys are dynamic.audience,keyword,catalog_item(overlapping membership, non-partitioning),demographic,format,collection,installment; the fixed*_propertyintersections are unchanged.BREAKDOWN_DIMENSION_NOT_COMPOSABLEand names it inerror.details; a declaredunsupported_combinationslist can be added later.Notes for reviewers
system, closed key per composed dimension, total ordering, zero-delivery cells omitted,datelisting.tests/mcp-schema-projection.test.cjsfrom 443 to 444 KiB (measured 454,058 bytes), following that file's practice of bounding to the measured amount. The parity compile limit is untouched; see test(schema): raise MCP parity compile limit after DOOH placement fields #7951.--no-verify) becausetests/fixed-trace-rollout-typecheck-wiring.test.tstimes out at 30s only under the hook's parallel load; it passes alone in about 22s. CI is the authoritative gate.Test plan
node --test tests/breakdown-composition-contract.test.cjsnpm run test:schemas,npm run test:mcp-schema-projection,npm run build:compliance -- --checkpass locally🤖 Generated with Claude Code
Draft disposition — 2026-10-09
This draft is retained for the stated workstream. Continue on this existing branch; no parallel PR is needed. This disposition does not waive CI, review, migration, or release gates.