adcp 2.6.0__py3-none-any.whl → 2.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- adcp/__init__.py +51 -43
- adcp/client.py +11 -9
- adcp/simple.py +1 -1
- adcp/types/__init__.py +479 -30
- adcp/types/_generated.py +15 -9
- adcp/types/aliases.py +257 -20
- adcp/types/generated_poc/adagents.py +34 -77
- adcp/types/generated_poc/product.py +9 -76
- adcp/types/generated_poc/publisher_property_selector.py +81 -0
- adcp/types/stable.py +282 -5
- adcp/utils/preview_cache.py +7 -7
- {adcp-2.6.0.dist-info → adcp-2.8.0.dist-info}/METADATA +1 -1
- {adcp-2.6.0.dist-info → adcp-2.8.0.dist-info}/RECORD +17 -16
- {adcp-2.6.0.dist-info → adcp-2.8.0.dist-info}/WHEEL +0 -0
- {adcp-2.6.0.dist-info → adcp-2.8.0.dist-info}/entry_points.txt +0 -0
- {adcp-2.6.0.dist-info → adcp-2.8.0.dist-info}/licenses/LICENSE +0 -0
- {adcp-2.6.0.dist-info → adcp-2.8.0.dist-info}/top_level.txt +0 -0
adcp/types/__init__.py
CHANGED
|
@@ -10,24 +10,82 @@ schema evolution.
|
|
|
10
10
|
adcp.types or adcp.types.stable for stable, versioned types.
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
+
# Import all semantic aliases from aliases module
|
|
13
14
|
from adcp.types.aliases import (
|
|
15
|
+
# Activation responses
|
|
16
|
+
ActivateSignalErrorResponse,
|
|
17
|
+
ActivateSignalSuccessResponse,
|
|
18
|
+
# Agent deployment aliases
|
|
19
|
+
AgentDeployment,
|
|
20
|
+
AgentDestination,
|
|
21
|
+
# Authorized agent variants
|
|
22
|
+
AuthorizedAgent,
|
|
23
|
+
AuthorizedAgentsByInlineProperties,
|
|
24
|
+
AuthorizedAgentsByPropertyId,
|
|
25
|
+
AuthorizedAgentsByPropertyTag,
|
|
26
|
+
AuthorizedAgentsByPublisherProperties,
|
|
27
|
+
# Preview/render aliases
|
|
14
28
|
BothPreviewRender,
|
|
29
|
+
# Build creative responses
|
|
30
|
+
BuildCreativeErrorResponse,
|
|
31
|
+
BuildCreativeSuccessResponse,
|
|
32
|
+
# Package aliases
|
|
15
33
|
CreatedPackageReference,
|
|
34
|
+
# Create media buy responses
|
|
35
|
+
CreateMediaBuyErrorResponse,
|
|
36
|
+
CreateMediaBuySuccessResponse,
|
|
37
|
+
# Deployment union
|
|
38
|
+
Deployment,
|
|
39
|
+
# Destination union
|
|
40
|
+
Destination,
|
|
41
|
+
# Preview renders
|
|
16
42
|
HtmlPreviewRender,
|
|
43
|
+
# Asset aliases
|
|
17
44
|
InlineDaastAsset,
|
|
18
45
|
InlineVastAsset,
|
|
46
|
+
# SubAsset aliases
|
|
19
47
|
MediaSubAsset,
|
|
48
|
+
# Platform deployment
|
|
49
|
+
PlatformDeployment,
|
|
50
|
+
PlatformDestination,
|
|
51
|
+
# Preview requests
|
|
52
|
+
PreviewCreativeFormatRequest,
|
|
53
|
+
PreviewCreativeInteractiveResponse,
|
|
54
|
+
PreviewCreativeManifestRequest,
|
|
55
|
+
PreviewCreativeStaticResponse,
|
|
56
|
+
# Property types
|
|
20
57
|
PropertyId,
|
|
58
|
+
PropertyIdActivationKey,
|
|
21
59
|
PropertyTag,
|
|
60
|
+
PropertyTagActivationKey,
|
|
61
|
+
# Performance feedback
|
|
62
|
+
ProvidePerformanceFeedbackErrorResponse,
|
|
63
|
+
ProvidePerformanceFeedbackSuccessResponse,
|
|
64
|
+
# Publisher properties variants
|
|
65
|
+
PublisherProperties,
|
|
22
66
|
PublisherPropertiesAll,
|
|
23
67
|
PublisherPropertiesById,
|
|
24
68
|
PublisherPropertiesByTag,
|
|
69
|
+
# Sync creatives
|
|
70
|
+
SyncCreativesErrorResponse,
|
|
71
|
+
SyncCreativesSuccessResponse,
|
|
72
|
+
# Text assets
|
|
25
73
|
TextSubAsset,
|
|
74
|
+
# Update media buy
|
|
75
|
+
UpdateMediaBuyErrorResponse,
|
|
76
|
+
UpdateMediaBuyPackagesRequest,
|
|
77
|
+
UpdateMediaBuyPropertiesRequest,
|
|
78
|
+
UpdateMediaBuySuccessResponse,
|
|
79
|
+
# URL assets
|
|
26
80
|
UrlDaastAsset,
|
|
27
81
|
UrlPreviewRender,
|
|
28
82
|
UrlVastAsset,
|
|
29
83
|
)
|
|
84
|
+
|
|
85
|
+
# Import base types
|
|
30
86
|
from adcp.types.base import AdCPBaseModel
|
|
87
|
+
|
|
88
|
+
# Import core types (non-generated)
|
|
31
89
|
from adcp.types.core import (
|
|
32
90
|
Activity,
|
|
33
91
|
ActivityType,
|
|
@@ -41,34 +99,217 @@ from adcp.types.core import (
|
|
|
41
99
|
TaskStatus as CoreTaskStatus,
|
|
42
100
|
)
|
|
43
101
|
|
|
44
|
-
# Import stable public API types
|
|
102
|
+
# Import all stable public API types
|
|
45
103
|
from adcp.types.stable import (
|
|
104
|
+
Action,
|
|
105
|
+
ActivateSignalRequest,
|
|
106
|
+
ActivateSignalResponse,
|
|
107
|
+
AffectedPackage,
|
|
108
|
+
AggregatedTotals,
|
|
109
|
+
Asset,
|
|
110
|
+
AssetSelectors,
|
|
111
|
+
AssetsRequired,
|
|
112
|
+
AssetType,
|
|
113
|
+
AssetTypeSchema,
|
|
114
|
+
AssignedPackage,
|
|
115
|
+
Assignments,
|
|
116
|
+
AudioAsset,
|
|
117
|
+
Authentication,
|
|
118
|
+
AuthorizedAgents,
|
|
119
|
+
AuthorizedSalesAgents,
|
|
120
|
+
AvailableMetric,
|
|
121
|
+
AvailableReportingFrequency,
|
|
46
122
|
BrandManifest,
|
|
47
|
-
|
|
123
|
+
BuildCreativeRequest,
|
|
124
|
+
BuildCreativeResponse,
|
|
125
|
+
ByPackageItem,
|
|
126
|
+
Capability,
|
|
127
|
+
CatalogType,
|
|
128
|
+
CoBranding,
|
|
129
|
+
Colors,
|
|
130
|
+
Contact,
|
|
131
|
+
ContentLength,
|
|
132
|
+
Country,
|
|
48
133
|
CpcPricingOption,
|
|
49
134
|
CpcvPricingOption,
|
|
50
135
|
CpmAuctionPricingOption,
|
|
51
136
|
CpmFixedRatePricingOption,
|
|
52
137
|
CppPricingOption,
|
|
53
138
|
CpvPricingOption,
|
|
139
|
+
CreateMediaBuyRequest,
|
|
140
|
+
CreateMediaBuyResponse,
|
|
54
141
|
Creative,
|
|
142
|
+
CreativeAgent,
|
|
143
|
+
CreativeAsset,
|
|
144
|
+
CreativeAssignment,
|
|
145
|
+
CreativeManifest,
|
|
146
|
+
CreativePolicy,
|
|
55
147
|
CreativeStatus,
|
|
148
|
+
CssAsset,
|
|
149
|
+
DaastVersion,
|
|
150
|
+
DailyBreakdownItem,
|
|
151
|
+
DeliverTo,
|
|
152
|
+
DeliveryMeasurement,
|
|
153
|
+
DeliveryMetrics,
|
|
154
|
+
DeliveryType,
|
|
155
|
+
Details,
|
|
156
|
+
Dimensions,
|
|
157
|
+
Direction,
|
|
158
|
+
Disclaimer,
|
|
159
|
+
Domain,
|
|
160
|
+
DomainBreakdown,
|
|
161
|
+
DoohMetrics,
|
|
162
|
+
Duration,
|
|
163
|
+
Embedding,
|
|
56
164
|
Error,
|
|
165
|
+
FeedbackSource,
|
|
166
|
+
FeedFormat,
|
|
167
|
+
FieldModel,
|
|
168
|
+
FileSize,
|
|
169
|
+
Filters,
|
|
57
170
|
FlatRatePricingOption,
|
|
171
|
+
Fonts,
|
|
58
172
|
Format,
|
|
173
|
+
FormatCard,
|
|
174
|
+
FormatCardDetailed,
|
|
175
|
+
FormatId,
|
|
176
|
+
FormatType,
|
|
177
|
+
FrequencyCap,
|
|
178
|
+
FrequencyCapScope,
|
|
179
|
+
GeoCountryAnyOfItem,
|
|
180
|
+
GetMediaBuyDeliveryRequest,
|
|
181
|
+
GetMediaBuyDeliveryResponse,
|
|
182
|
+
GetProductsRequest,
|
|
183
|
+
GetProductsResponse,
|
|
184
|
+
GetSignalsRequest,
|
|
185
|
+
GetSignalsResponse,
|
|
186
|
+
HistoryItem,
|
|
187
|
+
HtmlAsset,
|
|
188
|
+
Identifier,
|
|
189
|
+
ImageAsset,
|
|
190
|
+
Input,
|
|
191
|
+
JavascriptAsset,
|
|
192
|
+
LandingPage,
|
|
193
|
+
ListAuthorizedPropertiesRequest,
|
|
194
|
+
ListAuthorizedPropertiesResponse,
|
|
195
|
+
ListCreativeFormatsRequest,
|
|
196
|
+
ListCreativeFormatsResponse,
|
|
197
|
+
ListCreativesRequest,
|
|
198
|
+
ListCreativesResponse,
|
|
199
|
+
Logo,
|
|
200
|
+
MarkdownAsset,
|
|
201
|
+
MarkdownFlavor,
|
|
202
|
+
Measurement,
|
|
203
|
+
MeasurementPeriod,
|
|
59
204
|
MediaBuy,
|
|
205
|
+
MediaBuyDelivery,
|
|
60
206
|
MediaBuyStatus,
|
|
207
|
+
Metadata,
|
|
208
|
+
Method,
|
|
209
|
+
MetricType,
|
|
210
|
+
ModuleType,
|
|
211
|
+
NotificationType,
|
|
212
|
+
Offering,
|
|
213
|
+
OutputFormat,
|
|
214
|
+
Pacing,
|
|
61
215
|
Package,
|
|
216
|
+
PackageRequest,
|
|
217
|
+
Packages,
|
|
62
218
|
PackageStatus,
|
|
219
|
+
Pagination,
|
|
220
|
+
Parameters,
|
|
221
|
+
Performance,
|
|
222
|
+
PerformanceFeedback,
|
|
223
|
+
Placement,
|
|
224
|
+
Preview,
|
|
225
|
+
PreviewCreativeRequest,
|
|
226
|
+
PreviewCreativeResponse,
|
|
227
|
+
PreviewRender,
|
|
228
|
+
PriceGuidance,
|
|
229
|
+
Pricing,
|
|
63
230
|
PricingModel,
|
|
231
|
+
PrimaryCountry,
|
|
64
232
|
Product,
|
|
233
|
+
ProductCard,
|
|
234
|
+
ProductCardDetailed,
|
|
235
|
+
ProductCatalog,
|
|
236
|
+
Progress,
|
|
237
|
+
PromotedOfferings,
|
|
238
|
+
PromotedProducts,
|
|
65
239
|
Property,
|
|
240
|
+
PropertyIdentifierTypes,
|
|
241
|
+
PropertyType,
|
|
242
|
+
ProtocolEnvelope,
|
|
243
|
+
ProtocolResponse,
|
|
244
|
+
ProvidePerformanceFeedbackRequest,
|
|
245
|
+
ProvidePerformanceFeedbackResponse,
|
|
246
|
+
PublisherDomain,
|
|
247
|
+
PublisherIdentifierTypes,
|
|
248
|
+
PushNotificationConfig,
|
|
249
|
+
Quality,
|
|
250
|
+
QuartileData,
|
|
251
|
+
QuerySummary,
|
|
252
|
+
Render,
|
|
253
|
+
ReportingCapabilities,
|
|
254
|
+
ReportingFrequency,
|
|
255
|
+
ReportingPeriod,
|
|
256
|
+
ReportingWebhook,
|
|
257
|
+
Request,
|
|
258
|
+
RequestedMetric,
|
|
259
|
+
Requirements,
|
|
260
|
+
Response,
|
|
261
|
+
ResponseType,
|
|
262
|
+
Responsive,
|
|
263
|
+
Results,
|
|
264
|
+
Scheme,
|
|
265
|
+
Security,
|
|
266
|
+
Signal,
|
|
267
|
+
SignalType,
|
|
268
|
+
Sort,
|
|
269
|
+
SortApplied,
|
|
270
|
+
StandardFormatIds,
|
|
271
|
+
Status,
|
|
272
|
+
StatusFilter,
|
|
273
|
+
StatusFilterEnum,
|
|
274
|
+
StatusSummary,
|
|
275
|
+
SyncCreativesRequest,
|
|
276
|
+
SyncCreativesResponse,
|
|
277
|
+
Tag,
|
|
278
|
+
Tags,
|
|
279
|
+
TargetingOverlay,
|
|
280
|
+
Task,
|
|
281
|
+
TasksGetRequest,
|
|
282
|
+
TasksGetResponse,
|
|
283
|
+
TasksListRequest,
|
|
284
|
+
TasksListResponse,
|
|
285
|
+
TaskType,
|
|
286
|
+
TextAsset,
|
|
287
|
+
Totals,
|
|
288
|
+
TrackingEvent,
|
|
289
|
+
Type,
|
|
290
|
+
Unit,
|
|
291
|
+
UpdateFrequency,
|
|
292
|
+
UpdateMediaBuyRequest,
|
|
293
|
+
UpdateMediaBuyResponse,
|
|
294
|
+
UrlAsset,
|
|
295
|
+
UrlType,
|
|
296
|
+
ValidationMode,
|
|
297
|
+
VastVersion,
|
|
66
298
|
VcpmAuctionPricingOption,
|
|
67
299
|
VcpmFixedRatePricingOption,
|
|
300
|
+
VenueBreakdownItem,
|
|
301
|
+
VideoAsset,
|
|
302
|
+
ViewThreshold,
|
|
303
|
+
WebhookAsset,
|
|
304
|
+
WebhookPayload,
|
|
305
|
+
)
|
|
306
|
+
from adcp.types.stable import (
|
|
307
|
+
TaskStatus as GeneratedTaskStatus,
|
|
68
308
|
)
|
|
69
309
|
|
|
70
310
|
# Note: CoreTaskStatus is for internal task tracking
|
|
71
|
-
#
|
|
311
|
+
# GeneratedTaskStatus from AdCP schema is available via adcp.types.stable
|
|
312
|
+
# We export CoreTaskStatus as "TaskStatus" for backward compatibility
|
|
72
313
|
TaskStatus = CoreTaskStatus
|
|
73
314
|
|
|
74
315
|
__all__ = [
|
|
@@ -78,50 +319,258 @@ __all__ = [
|
|
|
78
319
|
"Protocol",
|
|
79
320
|
"TaskResult",
|
|
80
321
|
"TaskStatus",
|
|
322
|
+
"GeneratedTaskStatus",
|
|
81
323
|
"WebhookMetadata",
|
|
82
324
|
"Activity",
|
|
83
325
|
"ActivityType",
|
|
84
326
|
"DebugInfo",
|
|
85
|
-
#
|
|
327
|
+
# All stable types
|
|
328
|
+
"Action",
|
|
329
|
+
"ActivateSignalErrorResponse",
|
|
330
|
+
"ActivateSignalRequest",
|
|
331
|
+
"ActivateSignalResponse",
|
|
332
|
+
"ActivateSignalSuccessResponse",
|
|
333
|
+
"AffectedPackage",
|
|
334
|
+
"AgentDeployment",
|
|
335
|
+
"AgentDestination",
|
|
336
|
+
"AggregatedTotals",
|
|
337
|
+
"Asset",
|
|
338
|
+
"AssetSelectors",
|
|
339
|
+
"AssetType",
|
|
340
|
+
"AssetTypeSchema",
|
|
341
|
+
"AssetsRequired",
|
|
342
|
+
"AssignedPackage",
|
|
343
|
+
"Assignments",
|
|
344
|
+
"AudioAsset",
|
|
345
|
+
"Authentication",
|
|
346
|
+
"AuthorizedAgent",
|
|
347
|
+
"AuthorizedAgents",
|
|
348
|
+
"AuthorizedAgentsByInlineProperties",
|
|
349
|
+
"AuthorizedAgentsByPropertyId",
|
|
350
|
+
"AuthorizedAgentsByPropertyTag",
|
|
351
|
+
"AuthorizedAgentsByPublisherProperties",
|
|
352
|
+
"AuthorizedSalesAgents",
|
|
353
|
+
"AvailableMetric",
|
|
354
|
+
"AvailableReportingFrequency",
|
|
86
355
|
"BothPreviewRender",
|
|
87
|
-
"HtmlPreviewRender",
|
|
88
|
-
"InlineDaastAsset",
|
|
89
|
-
"InlineVastAsset",
|
|
90
|
-
"MediaSubAsset",
|
|
91
|
-
"TextSubAsset",
|
|
92
|
-
"UrlDaastAsset",
|
|
93
|
-
"UrlPreviewRender",
|
|
94
|
-
"UrlVastAsset",
|
|
95
|
-
# Package type aliases
|
|
96
|
-
"CreatedPackageReference",
|
|
97
|
-
# Publisher properties types
|
|
98
|
-
"PropertyId",
|
|
99
|
-
"PropertyTag",
|
|
100
|
-
# Publisher properties aliases
|
|
101
|
-
"PublisherPropertiesAll",
|
|
102
|
-
"PublisherPropertiesById",
|
|
103
|
-
"PublisherPropertiesByTag",
|
|
104
|
-
# Stable API types (commonly used)
|
|
105
356
|
"BrandManifest",
|
|
357
|
+
"BuildCreativeErrorResponse",
|
|
358
|
+
"BuildCreativeRequest",
|
|
359
|
+
"BuildCreativeResponse",
|
|
360
|
+
"BuildCreativeSuccessResponse",
|
|
361
|
+
"ByPackageItem",
|
|
362
|
+
"Capability",
|
|
363
|
+
"CatalogType",
|
|
364
|
+
"CoBranding",
|
|
365
|
+
"Colors",
|
|
366
|
+
"Contact",
|
|
367
|
+
"ContentLength",
|
|
368
|
+
"Country",
|
|
369
|
+
"CpcPricingOption",
|
|
370
|
+
"CpcvPricingOption",
|
|
371
|
+
"CpmAuctionPricingOption",
|
|
372
|
+
"CpmFixedRatePricingOption",
|
|
373
|
+
"CppPricingOption",
|
|
374
|
+
"CpvPricingOption",
|
|
375
|
+
"CreateMediaBuyErrorResponse",
|
|
376
|
+
"CreateMediaBuyRequest",
|
|
377
|
+
"CreateMediaBuyResponse",
|
|
378
|
+
"CreateMediaBuySuccessResponse",
|
|
379
|
+
"CreatedPackageReference",
|
|
106
380
|
"Creative",
|
|
381
|
+
"CreativeAgent",
|
|
382
|
+
"CreativeAsset",
|
|
383
|
+
"CreativeAssignment",
|
|
384
|
+
"CreativeManifest",
|
|
385
|
+
"CreativePolicy",
|
|
107
386
|
"CreativeStatus",
|
|
387
|
+
"CssAsset",
|
|
388
|
+
"DaastVersion",
|
|
389
|
+
"DailyBreakdownItem",
|
|
390
|
+
"DeliverTo",
|
|
391
|
+
"DeliveryMeasurement",
|
|
392
|
+
"DeliveryMetrics",
|
|
393
|
+
"DeliveryType",
|
|
394
|
+
"Deployment",
|
|
395
|
+
"Destination",
|
|
396
|
+
"Details",
|
|
397
|
+
"Dimensions",
|
|
398
|
+
"Direction",
|
|
399
|
+
"Disclaimer",
|
|
400
|
+
"Domain",
|
|
401
|
+
"DomainBreakdown",
|
|
402
|
+
"DoohMetrics",
|
|
403
|
+
"Duration",
|
|
404
|
+
"Embedding",
|
|
108
405
|
"Error",
|
|
406
|
+
"FeedFormat",
|
|
407
|
+
"FeedbackSource",
|
|
408
|
+
"FieldModel",
|
|
409
|
+
"FileSize",
|
|
410
|
+
"Filters",
|
|
411
|
+
"FlatRatePricingOption",
|
|
412
|
+
"Fonts",
|
|
109
413
|
"Format",
|
|
414
|
+
"FormatCard",
|
|
415
|
+
"FormatCardDetailed",
|
|
416
|
+
"FormatId",
|
|
417
|
+
"FormatType",
|
|
418
|
+
"FrequencyCap",
|
|
419
|
+
"FrequencyCapScope",
|
|
420
|
+
"GeoCountryAnyOfItem",
|
|
421
|
+
"GetMediaBuyDeliveryRequest",
|
|
422
|
+
"GetMediaBuyDeliveryResponse",
|
|
423
|
+
"GetProductsRequest",
|
|
424
|
+
"GetProductsResponse",
|
|
425
|
+
"GetSignalsRequest",
|
|
426
|
+
"GetSignalsResponse",
|
|
427
|
+
"HistoryItem",
|
|
428
|
+
"HtmlAsset",
|
|
429
|
+
"HtmlPreviewRender",
|
|
430
|
+
"Identifier",
|
|
431
|
+
"ImageAsset",
|
|
432
|
+
"InlineDaastAsset",
|
|
433
|
+
"InlineVastAsset",
|
|
434
|
+
"Input",
|
|
435
|
+
"JavascriptAsset",
|
|
436
|
+
"LandingPage",
|
|
437
|
+
"ListAuthorizedPropertiesRequest",
|
|
438
|
+
"ListAuthorizedPropertiesResponse",
|
|
439
|
+
"ListCreativeFormatsRequest",
|
|
440
|
+
"ListCreativeFormatsResponse",
|
|
441
|
+
"ListCreativesRequest",
|
|
442
|
+
"ListCreativesResponse",
|
|
443
|
+
"Logo",
|
|
444
|
+
"MarkdownAsset",
|
|
445
|
+
"MarkdownFlavor",
|
|
446
|
+
"Measurement",
|
|
447
|
+
"MeasurementPeriod",
|
|
110
448
|
"MediaBuy",
|
|
449
|
+
"MediaBuyDelivery",
|
|
111
450
|
"MediaBuyStatus",
|
|
451
|
+
"MediaSubAsset",
|
|
452
|
+
"Metadata",
|
|
453
|
+
"Method",
|
|
454
|
+
"MetricType",
|
|
455
|
+
"ModuleType",
|
|
456
|
+
"NotificationType",
|
|
457
|
+
"Offering",
|
|
458
|
+
"OutputFormat",
|
|
459
|
+
"Pacing",
|
|
112
460
|
"Package",
|
|
461
|
+
"PackageRequest",
|
|
113
462
|
"PackageStatus",
|
|
463
|
+
"Packages",
|
|
464
|
+
"Pagination",
|
|
465
|
+
"Parameters",
|
|
466
|
+
"Performance",
|
|
467
|
+
"PerformanceFeedback",
|
|
468
|
+
"Placement",
|
|
469
|
+
"PlatformDeployment",
|
|
470
|
+
"PlatformDestination",
|
|
471
|
+
"Preview",
|
|
472
|
+
"PreviewCreativeFormatRequest",
|
|
473
|
+
"PreviewCreativeInteractiveResponse",
|
|
474
|
+
"PreviewCreativeManifestRequest",
|
|
475
|
+
"PreviewCreativeRequest",
|
|
476
|
+
"PreviewCreativeResponse",
|
|
477
|
+
"PreviewCreativeStaticResponse",
|
|
478
|
+
"PreviewRender",
|
|
479
|
+
"PriceGuidance",
|
|
480
|
+
"Pricing",
|
|
114
481
|
"PricingModel",
|
|
482
|
+
"PrimaryCountry",
|
|
115
483
|
"Product",
|
|
484
|
+
"ProductCard",
|
|
485
|
+
"ProductCardDetailed",
|
|
486
|
+
"ProductCatalog",
|
|
487
|
+
"Progress",
|
|
488
|
+
"PromotedOfferings",
|
|
489
|
+
"PromotedProducts",
|
|
116
490
|
"Property",
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
491
|
+
"PropertyId",
|
|
492
|
+
"PropertyIdActivationKey",
|
|
493
|
+
"PropertyIdentifierTypes",
|
|
494
|
+
"PropertyTag",
|
|
495
|
+
"PropertyTagActivationKey",
|
|
496
|
+
"PropertyType",
|
|
497
|
+
"ProtocolEnvelope",
|
|
498
|
+
"ProtocolResponse",
|
|
499
|
+
"ProvidePerformanceFeedbackErrorResponse",
|
|
500
|
+
"ProvidePerformanceFeedbackRequest",
|
|
501
|
+
"ProvidePerformanceFeedbackResponse",
|
|
502
|
+
"ProvidePerformanceFeedbackSuccessResponse",
|
|
503
|
+
"PublisherDomain",
|
|
504
|
+
"PublisherIdentifierTypes",
|
|
505
|
+
"PublisherProperties",
|
|
506
|
+
"PublisherPropertiesAll",
|
|
507
|
+
"PublisherPropertiesById",
|
|
508
|
+
"PublisherPropertiesByTag",
|
|
509
|
+
"PushNotificationConfig",
|
|
510
|
+
"Quality",
|
|
511
|
+
"QuartileData",
|
|
512
|
+
"QuerySummary",
|
|
513
|
+
"Render",
|
|
514
|
+
"ReportingCapabilities",
|
|
515
|
+
"ReportingFrequency",
|
|
516
|
+
"ReportingPeriod",
|
|
517
|
+
"ReportingWebhook",
|
|
518
|
+
"Request",
|
|
519
|
+
"RequestedMetric",
|
|
520
|
+
"Requirements",
|
|
521
|
+
"Response",
|
|
522
|
+
"ResponseType",
|
|
523
|
+
"Responsive",
|
|
524
|
+
"Results",
|
|
525
|
+
"Scheme",
|
|
526
|
+
"Security",
|
|
527
|
+
"Signal",
|
|
528
|
+
"SignalType",
|
|
529
|
+
"Sort",
|
|
530
|
+
"SortApplied",
|
|
531
|
+
"StandardFormatIds",
|
|
532
|
+
"Status",
|
|
533
|
+
"StatusFilter",
|
|
534
|
+
"StatusFilterEnum",
|
|
535
|
+
"StatusSummary",
|
|
536
|
+
"SyncCreativesErrorResponse",
|
|
537
|
+
"SyncCreativesRequest",
|
|
538
|
+
"SyncCreativesResponse",
|
|
539
|
+
"SyncCreativesSuccessResponse",
|
|
540
|
+
"Tag",
|
|
541
|
+
"Tags",
|
|
542
|
+
"TargetingOverlay",
|
|
543
|
+
"Task",
|
|
544
|
+
"TaskType",
|
|
545
|
+
"TasksGetRequest",
|
|
546
|
+
"TasksGetResponse",
|
|
547
|
+
"TasksListRequest",
|
|
548
|
+
"TasksListResponse",
|
|
549
|
+
"TextAsset",
|
|
550
|
+
"TextSubAsset",
|
|
551
|
+
"Totals",
|
|
552
|
+
"TrackingEvent",
|
|
553
|
+
"Type",
|
|
554
|
+
"Unit",
|
|
555
|
+
"UpdateFrequency",
|
|
556
|
+
"UpdateMediaBuyErrorResponse",
|
|
557
|
+
"UpdateMediaBuyPackagesRequest",
|
|
558
|
+
"UpdateMediaBuyPropertiesRequest",
|
|
559
|
+
"UpdateMediaBuyRequest",
|
|
560
|
+
"UpdateMediaBuyResponse",
|
|
561
|
+
"UpdateMediaBuySuccessResponse",
|
|
562
|
+
"UrlAsset",
|
|
563
|
+
"UrlDaastAsset",
|
|
564
|
+
"UrlPreviewRender",
|
|
565
|
+
"UrlType",
|
|
566
|
+
"UrlVastAsset",
|
|
567
|
+
"ValidationMode",
|
|
568
|
+
"VastVersion",
|
|
125
569
|
"VcpmAuctionPricingOption",
|
|
126
570
|
"VcpmFixedRatePricingOption",
|
|
571
|
+
"VenueBreakdownItem",
|
|
572
|
+
"VideoAsset",
|
|
573
|
+
"ViewThreshold",
|
|
574
|
+
"WebhookAsset",
|
|
575
|
+
"WebhookPayload",
|
|
127
576
|
]
|
adcp/types/_generated.py
CHANGED
|
@@ -10,7 +10,7 @@ Auto-generated by datamodel-code-generator from JSON schemas.
|
|
|
10
10
|
DO NOT EDIT MANUALLY.
|
|
11
11
|
|
|
12
12
|
Generated from: https://github.com/adcontextprotocol/adcp/tree/main/schemas
|
|
13
|
-
Generation date: 2025-11-
|
|
13
|
+
Generation date: 2025-11-19 02:03:09 UTC
|
|
14
14
|
"""
|
|
15
15
|
# ruff: noqa: E501, I001
|
|
16
16
|
from __future__ import annotations
|
|
@@ -19,7 +19,7 @@ from __future__ import annotations
|
|
|
19
19
|
from adcp.types.generated_poc.activate_signal_request import ActivateSignalRequest
|
|
20
20
|
from adcp.types.generated_poc.activate_signal_response import ActivateSignalResponse, ActivateSignalResponse1, ActivateSignalResponse2
|
|
21
21
|
from adcp.types.generated_poc.activation_key import ActivationKey1, ActivationKey2
|
|
22
|
-
from adcp.types.generated_poc.adagents import AuthorizedAgents, AuthorizedAgents1, AuthorizedAgents2, AuthorizedAgents3, AuthorizedSalesAgents, Contact, PropertyId, PropertyTag,
|
|
22
|
+
from adcp.types.generated_poc.adagents import AuthorizedAgents, AuthorizedAgents1, AuthorizedAgents2, AuthorizedAgents3, AuthorizedSalesAgents, Contact, PropertyId, PropertyTag, Tags
|
|
23
23
|
from adcp.types.generated_poc.asset_type import AssetTypeSchema, ContentLength, Dimensions, Duration, FileSize, Quality, Requirements, Type
|
|
24
24
|
from adcp.types.generated_poc.audio_asset import AudioAsset
|
|
25
25
|
from adcp.types.generated_poc.brand_manifest import Asset, AssetType, BrandManifest, Colors, Disclaimer, FeedFormat, Fonts, Logo, Metadata, ProductCatalog, UpdateFrequency
|
|
@@ -33,7 +33,7 @@ from adcp.types.generated_poc.cpm_fixed_option import CpmFixedRatePricingOption
|
|
|
33
33
|
from adcp.types.generated_poc.cpp_option import CppPricingOption, Parameters
|
|
34
34
|
from adcp.types.generated_poc.cpv_option import CpvPricingOption, ViewThreshold, ViewThreshold1
|
|
35
35
|
from adcp.types.generated_poc.create_media_buy_request import CreateMediaBuyRequest, ReportingFrequency, ReportingWebhook, RequestedMetric
|
|
36
|
-
from adcp.types.generated_poc.create_media_buy_response import CreateMediaBuyResponse, CreateMediaBuyResponse1, CreateMediaBuyResponse2
|
|
36
|
+
from adcp.types.generated_poc.create_media_buy_response import CreateMediaBuyResponse, CreateMediaBuyResponse1, CreateMediaBuyResponse2
|
|
37
37
|
from adcp.types.generated_poc.creative_asset import CreativeAsset, Input
|
|
38
38
|
from adcp.types.generated_poc.creative_assignment import CreativeAssignment
|
|
39
39
|
from adcp.types.generated_poc.creative_manifest import CreativeManifest
|
|
@@ -80,7 +80,7 @@ from adcp.types.generated_poc.preview_creative_request import Input2, OutputForm
|
|
|
80
80
|
from adcp.types.generated_poc.preview_creative_response import Input4, Preview, Preview1, Preview2, PreviewCreativeResponse, PreviewCreativeResponse1, PreviewCreativeResponse2, Response, Response1, Results, Results1
|
|
81
81
|
from adcp.types.generated_poc.preview_render import Embedding, PreviewRender, PreviewRender1, PreviewRender2, PreviewRender3
|
|
82
82
|
from adcp.types.generated_poc.pricing_model import PricingModel
|
|
83
|
-
from adcp.types.generated_poc.product import DeliveryMeasurement, Product, ProductCard, ProductCardDetailed
|
|
83
|
+
from adcp.types.generated_poc.product import DeliveryMeasurement, Product, ProductCard, ProductCardDetailed
|
|
84
84
|
from adcp.types.generated_poc.promoted_offerings import AssetSelectors, Offering, PromotedOfferings
|
|
85
85
|
from adcp.types.generated_poc.promoted_products import PromotedProducts
|
|
86
86
|
from adcp.types.generated_poc.property import Identifier, Property, PropertyType, Tag
|
|
@@ -88,6 +88,7 @@ from adcp.types.generated_poc.protocol_envelope import ProtocolEnvelope
|
|
|
88
88
|
from adcp.types.generated_poc.provide_performance_feedback_request import ProvidePerformanceFeedbackRequest
|
|
89
89
|
from adcp.types.generated_poc.provide_performance_feedback_response import ProvidePerformanceFeedbackResponse, ProvidePerformanceFeedbackResponse1, ProvidePerformanceFeedbackResponse2
|
|
90
90
|
from adcp.types.generated_poc.publisher_identifier_types import PublisherIdentifierTypes
|
|
91
|
+
from adcp.types.generated_poc.publisher_property_selector import PublisherPropertySelector1, PublisherPropertySelector2, PublisherPropertySelector3
|
|
91
92
|
from adcp.types.generated_poc.push_notification_config import Authentication, PushNotificationConfig, Scheme
|
|
92
93
|
from adcp.types.generated_poc.reporting_capabilities import AvailableMetric, AvailableReportingFrequency, ReportingCapabilities
|
|
93
94
|
from adcp.types.generated_poc.response import ProtocolResponse
|
|
@@ -113,6 +114,10 @@ from adcp.types.generated_poc.video_asset import VideoAsset
|
|
|
113
114
|
from adcp.types.generated_poc.webhook_asset import Method, Method1, ResponseType, Security, WebhookAsset
|
|
114
115
|
from adcp.types.generated_poc.webhook_payload import WebhookPayload
|
|
115
116
|
|
|
117
|
+
# Special imports for name collisions (qualified names for types defined in multiple modules)
|
|
118
|
+
from adcp.types.generated_poc.create_media_buy_response import Package as _PackageFromCreateMediaBuyResponse
|
|
119
|
+
from adcp.types.generated_poc.package import Package as _PackageFromPackage
|
|
120
|
+
|
|
116
121
|
# Backward compatibility aliases for renamed types
|
|
117
122
|
Channels = AdvertisingChannels
|
|
118
123
|
|
|
@@ -146,9 +151,9 @@ __all__ = [
|
|
|
146
151
|
"ListCreativesResponse", "Logo", "MarkdownAsset", "MarkdownFlavor", "Measurement",
|
|
147
152
|
"MeasurementPeriod", "MediaBuy", "MediaBuyDelivery", "MediaBuyStatus", "Metadata", "Method",
|
|
148
153
|
"Method1", "MetricType", "ModuleType", "NotificationType", "Offering", "OutputFormat",
|
|
149
|
-
"Pacing", "
|
|
150
|
-
"
|
|
151
|
-
"
|
|
154
|
+
"Pacing", "PackageRequest", "PackageStatus", "Packages", "Packages1", "Packages2", "Packages3",
|
|
155
|
+
"Pagination", "Parameters", "Performance", "PerformanceFeedback", "Placement", "Preview",
|
|
156
|
+
"Preview1", "Preview2", "PreviewCreativeRequest", "PreviewCreativeRequest1",
|
|
152
157
|
"PreviewCreativeRequest2", "PreviewCreativeResponse", "PreviewCreativeResponse1",
|
|
153
158
|
"PreviewCreativeResponse2", "PreviewRender", "PreviewRender1", "PreviewRender2",
|
|
154
159
|
"PreviewRender3", "PriceGuidance", "Pricing", "PricingModel", "PrimaryCountry", "Product",
|
|
@@ -157,7 +162,7 @@ __all__ = [
|
|
|
157
162
|
"PropertyType", "ProtocolEnvelope", "ProtocolResponse", "ProvidePerformanceFeedbackRequest",
|
|
158
163
|
"ProvidePerformanceFeedbackResponse", "ProvidePerformanceFeedbackResponse1",
|
|
159
164
|
"ProvidePerformanceFeedbackResponse2", "PublisherDomain", "PublisherIdentifierTypes",
|
|
160
|
-
"
|
|
165
|
+
"PublisherPropertySelector1", "PublisherPropertySelector2", "PublisherPropertySelector3",
|
|
161
166
|
"PushNotificationConfig", "Quality", "QuartileData", "QuerySummary", "Render",
|
|
162
167
|
"ReportingCapabilities", "ReportingFrequency", "ReportingPeriod", "ReportingWebhook",
|
|
163
168
|
"Request", "RequestedMetric", "Requirements", "Response", "Response1", "ResponseType",
|
|
@@ -171,5 +176,6 @@ __all__ = [
|
|
|
171
176
|
"UpdateMediaBuyResponse", "UpdateMediaBuyResponse1", "UpdateMediaBuyResponse2", "UrlAsset",
|
|
172
177
|
"UrlType", "ValidationMode", "VastAsset1", "VastAsset2", "VastVersion",
|
|
173
178
|
"VcpmAuctionPricingOption", "VcpmFixedRatePricingOption", "VenueBreakdownItem", "VideoAsset",
|
|
174
|
-
"ViewThreshold", "ViewThreshold1", "WebhookAsset", "WebhookPayload"
|
|
179
|
+
"ViewThreshold", "ViewThreshold1", "WebhookAsset", "WebhookPayload",
|
|
180
|
+
"_PackageFromCreateMediaBuyResponse", "_PackageFromPackage"
|
|
175
181
|
]
|