Skip to content

Commit 5580279

Browse files
authored
feat(protocol): adopt AdCP 3.2 beta.9
Adopt the signed beta.9 schema bundle, regenerate public types, expose list_account_changes end to end, and retain local reporting compatibility patches.
1 parent a8ea8f7 commit 5580279

1,691 files changed

Lines changed: 2426800 additions & 11734 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Override these in your `ADCPHandler` subclass. Unimplemented methods return `not
3333
| `get_creative_features` | governance | GetCreativeFeaturesRequest | Get creative feature definitions |
3434
| `get_signals` | signals | GetSignalsRequest | Discover audience signals |
3535
| `activate_signal` | signals | ActivateSignalRequest | Activate a signal |
36+
| `list_account_changes` | media_buy | ListAccountChangesRequest | Read the durable account change feed |
3637
| `list_accounts` | media_buy | ListAccountsRequest | List advertiser accounts |
3738
| `sync_accounts` | media_buy | SyncAccountsRequest | Sync account data |
3839
| `get_account_financials` | media_buy | GetAccountFinancialsRequest | Get financial details |

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ recursive-include src/adcp py.typed
1010
recursive-include src/adcp/_schemas/2.5 *.json
1111
recursive-include src/adcp/_schemas/3.0 *.json
1212
recursive-include src/adcp/_schemas/3.1 *.json
13-
recursive-include src/adcp/_schemas/3.2.0-beta.6 *.json
13+
recursive-include src/adcp/_schemas/3.2.0-beta.9 *.json
1414
prune src/adcp/_schemas/3.1.0-*

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ adcp = [
193193
"_schemas/2.5/**/*.json",
194194
"_schemas/3.0/**/*.json",
195195
"_schemas/3.1/**/*.json",
196-
"_schemas/3.2.0-beta.6/**/*.json",
196+
"_schemas/3.2.0-beta.9/**/*.json",
197197
# Vendored canonical-formats reference fixtures (14 v2 products +
198198
# 50-entry v1 catalog) so :mod:`adcp.canonical_formats.fixtures`
199199
# can serve them to adopter test suites without forcing each
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "A2UI Bound Value",
4+
"description": "A value that can be a literal or bound to a path in the data model",
5+
"oneOf": [
6+
{
7+
"type": "object",
8+
"description": "Literal string value",
9+
"properties": {
10+
"literalString": {
11+
"type": "string",
12+
"description": "Static string value"
13+
}
14+
},
15+
"required": [
16+
"literalString"
17+
],
18+
"additionalProperties": false
19+
},
20+
{
21+
"type": "object",
22+
"description": "Literal number value",
23+
"properties": {
24+
"literalNumber": {
25+
"type": "number",
26+
"description": "Static number value"
27+
}
28+
},
29+
"required": [
30+
"literalNumber"
31+
],
32+
"additionalProperties": false
33+
},
34+
{
35+
"type": "object",
36+
"description": "Literal boolean value",
37+
"properties": {
38+
"literalBoolean": {
39+
"type": "boolean",
40+
"description": "Static boolean value"
41+
}
42+
},
43+
"required": [
44+
"literalBoolean"
45+
],
46+
"additionalProperties": false
47+
},
48+
{
49+
"type": "object",
50+
"description": "Path to data model value",
51+
"properties": {
52+
"path": {
53+
"type": "string",
54+
"description": "JSON pointer path to value in data model (e.g., '/products/0/title')"
55+
}
56+
},
57+
"required": [
58+
"path"
59+
],
60+
"additionalProperties": false
61+
},
62+
{
63+
"type": "object",
64+
"description": "Literal with path binding (sets default and binds)",
65+
"properties": {
66+
"literalString": {
67+
"type": "string"
68+
},
69+
"path": {
70+
"type": "string"
71+
}
72+
},
73+
"required": [
74+
"literalString",
75+
"path"
76+
],
77+
"additionalProperties": false
78+
}
79+
]
80+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "A2UI Component",
4+
"description": "A component in an A2UI surface",
5+
"type": "object",
6+
"properties": {
7+
"id": {
8+
"type": "string",
9+
"description": "Unique identifier for this component within the surface"
10+
},
11+
"parentId": {
12+
"type": "string",
13+
"description": "ID of the parent component (null for root)"
14+
},
15+
"component": {
16+
"type": "object",
17+
"description": "Component definition (keyed by component type)",
18+
"minProperties": 1,
19+
"maxProperties": 1,
20+
"additionalProperties": {
21+
"type": "object",
22+
"description": "Component properties"
23+
}
24+
}
25+
},
26+
"required": [
27+
"id",
28+
"component"
29+
],
30+
"additionalProperties": true
31+
}

0 commit comments

Comments
 (0)