adcp 2.7.0__py3-none-any.whl → 2.9.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/types/__init__.py CHANGED
@@ -10,24 +10,80 @@ 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,
15
- CreatedPackageReference,
29
+ # Build creative responses
30
+ BuildCreativeErrorResponse,
31
+ BuildCreativeSuccessResponse,
32
+ # Create media buy responses
33
+ CreateMediaBuyErrorResponse,
34
+ CreateMediaBuySuccessResponse,
35
+ # Deployment union
36
+ Deployment,
37
+ # Destination union
38
+ Destination,
39
+ # Preview renders
16
40
  HtmlPreviewRender,
41
+ # Asset aliases
17
42
  InlineDaastAsset,
18
43
  InlineVastAsset,
44
+ # SubAsset aliases
19
45
  MediaSubAsset,
46
+ # Platform deployment
47
+ PlatformDeployment,
48
+ PlatformDestination,
49
+ # Preview requests
50
+ PreviewCreativeFormatRequest,
51
+ PreviewCreativeInteractiveResponse,
52
+ PreviewCreativeManifestRequest,
53
+ PreviewCreativeStaticResponse,
54
+ # Property types
20
55
  PropertyId,
56
+ PropertyIdActivationKey,
21
57
  PropertyTag,
58
+ PropertyTagActivationKey,
59
+ # Performance feedback
60
+ ProvidePerformanceFeedbackErrorResponse,
61
+ ProvidePerformanceFeedbackSuccessResponse,
62
+ # Publisher properties variants
63
+ PublisherProperties,
22
64
  PublisherPropertiesAll,
23
65
  PublisherPropertiesById,
24
66
  PublisherPropertiesByTag,
67
+ # Sync creatives
68
+ SyncCreativesErrorResponse,
69
+ SyncCreativesSuccessResponse,
70
+ # Text assets
25
71
  TextSubAsset,
72
+ # Update media buy
73
+ UpdateMediaBuyErrorResponse,
74
+ UpdateMediaBuyPackagesRequest,
75
+ UpdateMediaBuyPropertiesRequest,
76
+ UpdateMediaBuySuccessResponse,
77
+ # URL assets
26
78
  UrlDaastAsset,
27
79
  UrlPreviewRender,
28
80
  UrlVastAsset,
29
81
  )
82
+
83
+ # Import base types
30
84
  from adcp.types.base import AdCPBaseModel
85
+
86
+ # Import core types (non-generated)
31
87
  from adcp.types.core import (
32
88
  Activity,
33
89
  ActivityType,
@@ -41,34 +97,209 @@ from adcp.types.core import (
41
97
  TaskStatus as CoreTaskStatus,
42
98
  )
43
99
 
44
- # Import stable public API types
100
+ # Import all stable public API types
45
101
  from adcp.types.stable import (
102
+ Action,
103
+ ActivateSignalRequest,
104
+ ActivateSignalResponse,
105
+ AggregatedTotals,
106
+ Asset,
107
+ AssetSelectors,
108
+ AssetsRequired,
109
+ AssetType,
110
+ AssignedPackage,
111
+ Assignments,
112
+ AudioAsset,
113
+ Authentication,
114
+ AuthorizedAgents,
115
+ AuthorizedSalesAgents,
116
+ AvailableMetric,
117
+ AvailableReportingFrequency,
46
118
  BrandManifest,
47
- # Pricing options
119
+ BuildCreativeRequest,
120
+ BuildCreativeResponse,
121
+ ByPackageItem,
122
+ Capability,
123
+ CatalogType,
124
+ CoBranding,
125
+ Colors,
126
+ Contact,
127
+ Country,
48
128
  CpcPricingOption,
49
129
  CpcvPricingOption,
50
130
  CpmAuctionPricingOption,
51
131
  CpmFixedRatePricingOption,
52
132
  CppPricingOption,
53
133
  CpvPricingOption,
134
+ CreateMediaBuyRequest,
135
+ CreateMediaBuyResponse,
54
136
  Creative,
137
+ CreativeAgent,
138
+ CreativeAsset,
139
+ CreativeAssignment,
140
+ CreativeManifest,
141
+ CreativePolicy,
55
142
  CreativeStatus,
143
+ CssAsset,
144
+ DaastVersion,
145
+ DailyBreakdownItem,
146
+ DeliverTo,
147
+ DeliveryMeasurement,
148
+ DeliveryMetrics,
149
+ DeliveryType,
150
+ Details,
151
+ Direction,
152
+ Disclaimer,
153
+ Domain,
154
+ DomainBreakdown,
155
+ DoohMetrics,
156
+ Embedding,
56
157
  Error,
158
+ FeedbackSource,
159
+ FeedFormat,
160
+ FieldModel,
161
+ Filters,
57
162
  FlatRatePricingOption,
163
+ Fonts,
58
164
  Format,
165
+ FormatCard,
166
+ FormatCardDetailed,
167
+ FormatId,
168
+ FormatType,
169
+ FrequencyCap,
170
+ FrequencyCapScope,
171
+ GeoCountryAnyOfItem,
172
+ GetMediaBuyDeliveryRequest,
173
+ GetMediaBuyDeliveryResponse,
174
+ GetProductsRequest,
175
+ GetProductsResponse,
176
+ GetSignalsRequest,
177
+ GetSignalsResponse,
178
+ HistoryItem,
179
+ HtmlAsset,
180
+ Identifier,
181
+ ImageAsset,
182
+ Input,
183
+ JavascriptAsset,
184
+ LandingPage,
185
+ ListAuthorizedPropertiesRequest,
186
+ ListAuthorizedPropertiesResponse,
187
+ ListCreativeFormatsRequest,
188
+ ListCreativeFormatsResponse,
189
+ ListCreativesRequest,
190
+ ListCreativesResponse,
191
+ Logo,
192
+ MarkdownAsset,
193
+ MarkdownFlavor,
194
+ Measurement,
195
+ MeasurementPeriod,
59
196
  MediaBuy,
197
+ MediaBuyDelivery,
60
198
  MediaBuyStatus,
199
+ Metadata,
200
+ Method,
201
+ MetricType,
202
+ ModuleType,
203
+ NotificationType,
204
+ Offering,
205
+ OutputFormat,
206
+ Pacing,
61
207
  Package,
208
+ PackageRequest,
209
+ Packages,
62
210
  PackageStatus,
211
+ Pagination,
212
+ Parameters,
213
+ Performance,
214
+ PerformanceFeedback,
215
+ Placement,
216
+ Preview,
217
+ PreviewCreativeRequest,
218
+ PreviewCreativeResponse,
219
+ PreviewRender,
220
+ PriceGuidance,
221
+ Pricing,
63
222
  PricingModel,
223
+ PrimaryCountry,
64
224
  Product,
225
+ ProductCard,
226
+ ProductCardDetailed,
227
+ ProductCatalog,
228
+ Progress,
229
+ PromotedOfferings,
230
+ PromotedProducts,
65
231
  Property,
232
+ PropertyIdentifierTypes,
233
+ PropertyType,
234
+ ProtocolEnvelope,
235
+ ProtocolResponse,
236
+ ProvidePerformanceFeedbackRequest,
237
+ ProvidePerformanceFeedbackResponse,
238
+ PublisherDomain,
239
+ PublisherIdentifierTypes,
240
+ PushNotificationConfig,
241
+ QuartileData,
242
+ QuerySummary,
243
+ Render,
244
+ ReportingCapabilities,
245
+ ReportingFrequency,
246
+ ReportingPeriod,
247
+ ReportingWebhook,
248
+ Request,
249
+ RequestedMetric,
250
+ Response,
251
+ ResponseType,
252
+ Responsive,
253
+ Results,
254
+ Scheme,
255
+ Security,
256
+ Signal,
257
+ SignalType,
258
+ Sort,
259
+ SortApplied,
260
+ StandardFormatIds,
261
+ Status,
262
+ StatusFilter,
263
+ StatusFilterEnum,
264
+ StatusSummary,
265
+ SyncCreativesRequest,
266
+ SyncCreativesResponse,
267
+ Tag,
268
+ Tags,
269
+ TargetingOverlay,
270
+ Task,
271
+ TasksGetRequest,
272
+ TasksGetResponse,
273
+ TasksListRequest,
274
+ TasksListResponse,
275
+ TaskType,
276
+ TextAsset,
277
+ Totals,
278
+ TrackingEvent,
279
+ Type,
280
+ Unit,
281
+ UpdateFrequency,
282
+ UpdateMediaBuyRequest,
283
+ UpdateMediaBuyResponse,
284
+ UrlAsset,
285
+ UrlType,
286
+ ValidationMode,
287
+ VastVersion,
66
288
  VcpmAuctionPricingOption,
67
289
  VcpmFixedRatePricingOption,
290
+ VenueBreakdownItem,
291
+ VideoAsset,
292
+ ViewThreshold,
293
+ WebhookAsset,
294
+ WebhookPayload,
295
+ )
296
+ from adcp.types.stable import (
297
+ TaskStatus as GeneratedTaskStatus,
68
298
  )
69
299
 
70
300
  # Note: CoreTaskStatus is for internal task tracking
71
- # Generated TaskStatus from AdCP schema is available via adcp.types.stable
301
+ # GeneratedTaskStatus from AdCP schema is available via adcp.types.stable
302
+ # We export CoreTaskStatus as "TaskStatus" for backward compatibility
72
303
  TaskStatus = CoreTaskStatus
73
304
 
74
305
  __all__ = [
@@ -78,50 +309,249 @@ __all__ = [
78
309
  "Protocol",
79
310
  "TaskResult",
80
311
  "TaskStatus",
312
+ "GeneratedTaskStatus",
81
313
  "WebhookMetadata",
82
314
  "Activity",
83
315
  "ActivityType",
84
316
  "DebugInfo",
85
- # Semantic aliases for discriminated unions
317
+ # All stable types
318
+ "Action",
319
+ "ActivateSignalErrorResponse",
320
+ "ActivateSignalRequest",
321
+ "ActivateSignalResponse",
322
+ "ActivateSignalSuccessResponse",
323
+ "AgentDeployment",
324
+ "AgentDestination",
325
+ "AggregatedTotals",
326
+ "Asset",
327
+ "AssetSelectors",
328
+ "AssetType",
329
+ "AssetsRequired",
330
+ "AssignedPackage",
331
+ "Assignments",
332
+ "AudioAsset",
333
+ "Authentication",
334
+ "AuthorizedAgent",
335
+ "AuthorizedAgents",
336
+ "AuthorizedAgentsByInlineProperties",
337
+ "AuthorizedAgentsByPropertyId",
338
+ "AuthorizedAgentsByPropertyTag",
339
+ "AuthorizedAgentsByPublisherProperties",
340
+ "AuthorizedSalesAgents",
341
+ "AvailableMetric",
342
+ "AvailableReportingFrequency",
86
343
  "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
344
  "BrandManifest",
345
+ "BuildCreativeErrorResponse",
346
+ "BuildCreativeRequest",
347
+ "BuildCreativeResponse",
348
+ "BuildCreativeSuccessResponse",
349
+ "ByPackageItem",
350
+ "Capability",
351
+ "CatalogType",
352
+ "CoBranding",
353
+ "Colors",
354
+ "Contact",
355
+ "Country",
356
+ "CpcPricingOption",
357
+ "CpcvPricingOption",
358
+ "CpmAuctionPricingOption",
359
+ "CpmFixedRatePricingOption",
360
+ "CppPricingOption",
361
+ "CpvPricingOption",
362
+ "CreateMediaBuyErrorResponse",
363
+ "CreateMediaBuyRequest",
364
+ "CreateMediaBuyResponse",
365
+ "CreateMediaBuySuccessResponse",
106
366
  "Creative",
367
+ "CreativeAgent",
368
+ "CreativeAsset",
369
+ "CreativeAssignment",
370
+ "CreativeManifest",
371
+ "CreativePolicy",
107
372
  "CreativeStatus",
373
+ "CssAsset",
374
+ "DaastVersion",
375
+ "DailyBreakdownItem",
376
+ "DeliverTo",
377
+ "DeliveryMeasurement",
378
+ "DeliveryMetrics",
379
+ "DeliveryType",
380
+ "Deployment",
381
+ "Destination",
382
+ "Details",
383
+ "Direction",
384
+ "Disclaimer",
385
+ "Domain",
386
+ "DomainBreakdown",
387
+ "DoohMetrics",
388
+ "Embedding",
108
389
  "Error",
390
+ "FeedFormat",
391
+ "FeedbackSource",
392
+ "FieldModel",
393
+ "Filters",
394
+ "FlatRatePricingOption",
395
+ "Fonts",
109
396
  "Format",
397
+ "FormatCard",
398
+ "FormatCardDetailed",
399
+ "FormatId",
400
+ "FormatType",
401
+ "FrequencyCap",
402
+ "FrequencyCapScope",
403
+ "GeoCountryAnyOfItem",
404
+ "GetMediaBuyDeliveryRequest",
405
+ "GetMediaBuyDeliveryResponse",
406
+ "GetProductsRequest",
407
+ "GetProductsResponse",
408
+ "GetSignalsRequest",
409
+ "GetSignalsResponse",
410
+ "HistoryItem",
411
+ "HtmlAsset",
412
+ "HtmlPreviewRender",
413
+ "Identifier",
414
+ "ImageAsset",
415
+ "InlineDaastAsset",
416
+ "InlineVastAsset",
417
+ "Input",
418
+ "JavascriptAsset",
419
+ "LandingPage",
420
+ "ListAuthorizedPropertiesRequest",
421
+ "ListAuthorizedPropertiesResponse",
422
+ "ListCreativeFormatsRequest",
423
+ "ListCreativeFormatsResponse",
424
+ "ListCreativesRequest",
425
+ "ListCreativesResponse",
426
+ "Logo",
427
+ "MarkdownAsset",
428
+ "MarkdownFlavor",
429
+ "Measurement",
430
+ "MeasurementPeriod",
110
431
  "MediaBuy",
432
+ "MediaBuyDelivery",
111
433
  "MediaBuyStatus",
434
+ "MediaSubAsset",
435
+ "Metadata",
436
+ "Method",
437
+ "MetricType",
438
+ "ModuleType",
439
+ "NotificationType",
440
+ "Offering",
441
+ "OutputFormat",
442
+ "Pacing",
112
443
  "Package",
444
+ "PackageRequest",
113
445
  "PackageStatus",
446
+ "Packages",
447
+ "Pagination",
448
+ "Parameters",
449
+ "Performance",
450
+ "PerformanceFeedback",
451
+ "Placement",
452
+ "PlatformDeployment",
453
+ "PlatformDestination",
454
+ "Preview",
455
+ "PreviewCreativeFormatRequest",
456
+ "PreviewCreativeInteractiveResponse",
457
+ "PreviewCreativeManifestRequest",
458
+ "PreviewCreativeRequest",
459
+ "PreviewCreativeResponse",
460
+ "PreviewCreativeStaticResponse",
461
+ "PreviewRender",
462
+ "PriceGuidance",
463
+ "Pricing",
114
464
  "PricingModel",
465
+ "PrimaryCountry",
115
466
  "Product",
467
+ "ProductCard",
468
+ "ProductCardDetailed",
469
+ "ProductCatalog",
470
+ "Progress",
471
+ "PromotedOfferings",
472
+ "PromotedProducts",
116
473
  "Property",
117
- # Pricing options
118
- "CpcPricingOption",
119
- "CpcvPricingOption",
120
- "CpmAuctionPricingOption",
121
- "CpmFixedRatePricingOption",
122
- "CppPricingOption",
123
- "CpvPricingOption",
124
- "FlatRatePricingOption",
474
+ "PropertyId",
475
+ "PropertyIdActivationKey",
476
+ "PropertyIdentifierTypes",
477
+ "PropertyTag",
478
+ "PropertyTagActivationKey",
479
+ "PropertyType",
480
+ "ProtocolEnvelope",
481
+ "ProtocolResponse",
482
+ "ProvidePerformanceFeedbackErrorResponse",
483
+ "ProvidePerformanceFeedbackRequest",
484
+ "ProvidePerformanceFeedbackResponse",
485
+ "ProvidePerformanceFeedbackSuccessResponse",
486
+ "PublisherDomain",
487
+ "PublisherIdentifierTypes",
488
+ "PublisherProperties",
489
+ "PublisherPropertiesAll",
490
+ "PublisherPropertiesById",
491
+ "PublisherPropertiesByTag",
492
+ "PushNotificationConfig",
493
+ "QuartileData",
494
+ "QuerySummary",
495
+ "Render",
496
+ "ReportingCapabilities",
497
+ "ReportingFrequency",
498
+ "ReportingPeriod",
499
+ "ReportingWebhook",
500
+ "Request",
501
+ "RequestedMetric",
502
+ "Response",
503
+ "ResponseType",
504
+ "Responsive",
505
+ "Results",
506
+ "Scheme",
507
+ "Security",
508
+ "Signal",
509
+ "SignalType",
510
+ "Sort",
511
+ "SortApplied",
512
+ "StandardFormatIds",
513
+ "Status",
514
+ "StatusFilter",
515
+ "StatusFilterEnum",
516
+ "StatusSummary",
517
+ "SyncCreativesErrorResponse",
518
+ "SyncCreativesRequest",
519
+ "SyncCreativesResponse",
520
+ "SyncCreativesSuccessResponse",
521
+ "Tag",
522
+ "Tags",
523
+ "TargetingOverlay",
524
+ "Task",
525
+ "TaskType",
526
+ "TasksGetRequest",
527
+ "TasksGetResponse",
528
+ "TasksListRequest",
529
+ "TasksListResponse",
530
+ "TextAsset",
531
+ "TextSubAsset",
532
+ "Totals",
533
+ "TrackingEvent",
534
+ "Type",
535
+ "Unit",
536
+ "UpdateFrequency",
537
+ "UpdateMediaBuyErrorResponse",
538
+ "UpdateMediaBuyPackagesRequest",
539
+ "UpdateMediaBuyPropertiesRequest",
540
+ "UpdateMediaBuyRequest",
541
+ "UpdateMediaBuyResponse",
542
+ "UpdateMediaBuySuccessResponse",
543
+ "UrlAsset",
544
+ "UrlDaastAsset",
545
+ "UrlPreviewRender",
546
+ "UrlType",
547
+ "UrlVastAsset",
548
+ "ValidationMode",
549
+ "VastVersion",
125
550
  "VcpmAuctionPricingOption",
126
551
  "VcpmFixedRatePricingOption",
552
+ "VenueBreakdownItem",
553
+ "VideoAsset",
554
+ "ViewThreshold",
555
+ "WebhookAsset",
556
+ "WebhookPayload",
127
557
  ]