adcp 2.7.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 +1 -1
- adcp/types/__init__.py +479 -30
- adcp/types/aliases.py +241 -3
- adcp/types/stable.py +269 -3
- {adcp-2.7.0.dist-info → adcp-2.8.0.dist-info}/METADATA +1 -1
- {adcp-2.7.0.dist-info → adcp-2.8.0.dist-info}/RECORD +10 -10
- {adcp-2.7.0.dist-info → adcp-2.8.0.dist-info}/WHEEL +0 -0
- {adcp-2.7.0.dist-info → adcp-2.8.0.dist-info}/entry_points.txt +0 -0
- {adcp-2.7.0.dist-info → adcp-2.8.0.dist-info}/licenses/LICENSE +0 -0
- {adcp-2.7.0.dist-info → adcp-2.8.0.dist-info}/top_level.txt +0 -0
adcp/__init__.py
CHANGED
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/aliases.py
CHANGED
|
@@ -38,6 +38,11 @@ from adcp.types._generated import (
|
|
|
38
38
|
# Activation keys
|
|
39
39
|
ActivationKey1,
|
|
40
40
|
ActivationKey2,
|
|
41
|
+
# Authorized agents
|
|
42
|
+
AuthorizedAgents,
|
|
43
|
+
AuthorizedAgents1,
|
|
44
|
+
AuthorizedAgents2,
|
|
45
|
+
AuthorizedAgents3,
|
|
41
46
|
# Build creative responses
|
|
42
47
|
BuildCreativeResponse1,
|
|
43
48
|
BuildCreativeResponse2,
|
|
@@ -479,6 +484,226 @@ Example:
|
|
|
479
484
|
```
|
|
480
485
|
"""
|
|
481
486
|
|
|
487
|
+
# ============================================================================
|
|
488
|
+
# AUTHORIZED AGENTS ALIASES - Authorization Type Discriminated Unions
|
|
489
|
+
# ============================================================================
|
|
490
|
+
# The AdCP adagents.json schema defines AuthorizedAgents as a discriminated
|
|
491
|
+
# union with four variants based on the `authorization_type` field:
|
|
492
|
+
#
|
|
493
|
+
# 1. Property IDs (authorization_type='property_ids'):
|
|
494
|
+
# - Agent authorized for specific property IDs
|
|
495
|
+
# - Requires property_ids array
|
|
496
|
+
#
|
|
497
|
+
# 2. Property Tags (authorization_type='property_tags'):
|
|
498
|
+
# - Agent authorized for properties matching tags
|
|
499
|
+
# - Requires property_tags array
|
|
500
|
+
#
|
|
501
|
+
# 3. Inline Properties (authorization_type='inline_properties'):
|
|
502
|
+
# - Agent authorized with inline property definitions
|
|
503
|
+
# - Requires properties array with full Property objects
|
|
504
|
+
#
|
|
505
|
+
# 4. Publisher Properties (authorization_type='publisher_properties'):
|
|
506
|
+
# - Agent authorized for properties from other publisher domains
|
|
507
|
+
# - Requires publisher_properties array
|
|
508
|
+
#
|
|
509
|
+
# These define which sales agents are authorized to sell inventory and which
|
|
510
|
+
# properties they can access.
|
|
511
|
+
|
|
512
|
+
AuthorizedAgentsByPropertyId = AuthorizedAgents
|
|
513
|
+
"""Authorized agent with specific property IDs.
|
|
514
|
+
|
|
515
|
+
This variant uses authorization_type='property_ids' for agents authorized
|
|
516
|
+
to sell specific properties identified by their IDs.
|
|
517
|
+
|
|
518
|
+
Fields:
|
|
519
|
+
- authorization_type: Literal['property_ids']
|
|
520
|
+
- authorized_for: Human-readable description
|
|
521
|
+
- property_ids: List of PropertyId (non-empty)
|
|
522
|
+
- url: Agent's API endpoint URL
|
|
523
|
+
|
|
524
|
+
Example:
|
|
525
|
+
```python
|
|
526
|
+
from adcp.types.aliases import AuthorizedAgentsByPropertyId, PropertyId
|
|
527
|
+
|
|
528
|
+
agent = AuthorizedAgentsByPropertyId(
|
|
529
|
+
authorization_type="property_ids",
|
|
530
|
+
authorized_for="Premium display inventory",
|
|
531
|
+
property_ids=[PropertyId("homepage"), PropertyId("sports")],
|
|
532
|
+
url="https://agent.example.com"
|
|
533
|
+
)
|
|
534
|
+
```
|
|
535
|
+
"""
|
|
536
|
+
|
|
537
|
+
AuthorizedAgentsByPropertyTag = AuthorizedAgents1
|
|
538
|
+
"""Authorized agent with property tags.
|
|
539
|
+
|
|
540
|
+
This variant uses authorization_type='property_tags' for agents authorized
|
|
541
|
+
to sell properties identified by matching tags.
|
|
542
|
+
|
|
543
|
+
Fields:
|
|
544
|
+
- authorization_type: Literal['property_tags']
|
|
545
|
+
- authorized_for: Human-readable description
|
|
546
|
+
- property_tags: List of PropertyTag (non-empty)
|
|
547
|
+
- url: Agent's API endpoint URL
|
|
548
|
+
|
|
549
|
+
Example:
|
|
550
|
+
```python
|
|
551
|
+
from adcp.types.aliases import AuthorizedAgentsByPropertyTag, PropertyTag
|
|
552
|
+
|
|
553
|
+
agent = AuthorizedAgentsByPropertyTag(
|
|
554
|
+
authorization_type="property_tags",
|
|
555
|
+
authorized_for="Video inventory",
|
|
556
|
+
property_tags=[PropertyTag("video"), PropertyTag("premium")],
|
|
557
|
+
url="https://agent.example.com"
|
|
558
|
+
)
|
|
559
|
+
```
|
|
560
|
+
"""
|
|
561
|
+
|
|
562
|
+
AuthorizedAgentsByInlineProperties = AuthorizedAgents2
|
|
563
|
+
"""Authorized agent with inline property definitions.
|
|
564
|
+
|
|
565
|
+
This variant uses authorization_type='inline_properties' for agents with
|
|
566
|
+
inline Property objects rather than references to the top-level properties array.
|
|
567
|
+
|
|
568
|
+
Fields:
|
|
569
|
+
- authorization_type: Literal['inline_properties']
|
|
570
|
+
- authorized_for: Human-readable description
|
|
571
|
+
- properties: List of Property objects (non-empty)
|
|
572
|
+
- url: Agent's API endpoint URL
|
|
573
|
+
|
|
574
|
+
Example:
|
|
575
|
+
```python
|
|
576
|
+
from adcp.types.aliases import AuthorizedAgentsByInlineProperties
|
|
577
|
+
from adcp.types.stable import Property
|
|
578
|
+
|
|
579
|
+
agent = AuthorizedAgentsByInlineProperties(
|
|
580
|
+
authorization_type="inline_properties",
|
|
581
|
+
authorized_for="Custom inventory bundle",
|
|
582
|
+
properties=[...], # Full Property objects
|
|
583
|
+
url="https://agent.example.com"
|
|
584
|
+
)
|
|
585
|
+
```
|
|
586
|
+
"""
|
|
587
|
+
|
|
588
|
+
AuthorizedAgentsByPublisherProperties = AuthorizedAgents3
|
|
589
|
+
"""Authorized agent for properties from other publishers.
|
|
590
|
+
|
|
591
|
+
This variant uses authorization_type='publisher_properties' for agents
|
|
592
|
+
authorized to sell inventory from other publisher domains.
|
|
593
|
+
|
|
594
|
+
Fields:
|
|
595
|
+
- authorization_type: Literal['publisher_properties']
|
|
596
|
+
- authorized_for: Human-readable description
|
|
597
|
+
- publisher_properties: List of PublisherPropertySelector variants (non-empty)
|
|
598
|
+
- url: Agent's API endpoint URL
|
|
599
|
+
|
|
600
|
+
Example:
|
|
601
|
+
```python
|
|
602
|
+
from adcp.types.aliases import (
|
|
603
|
+
AuthorizedAgentsByPublisherProperties,
|
|
604
|
+
PublisherPropertiesAll
|
|
605
|
+
)
|
|
606
|
+
|
|
607
|
+
agent = AuthorizedAgentsByPublisherProperties(
|
|
608
|
+
authorization_type="publisher_properties",
|
|
609
|
+
authorized_for="Network inventory across publishers",
|
|
610
|
+
publisher_properties=[
|
|
611
|
+
PublisherPropertiesAll(
|
|
612
|
+
publisher_domain="publisher1.com",
|
|
613
|
+
selection_type="all"
|
|
614
|
+
)
|
|
615
|
+
],
|
|
616
|
+
url="https://agent.example.com"
|
|
617
|
+
)
|
|
618
|
+
```
|
|
619
|
+
"""
|
|
620
|
+
|
|
621
|
+
# ============================================================================
|
|
622
|
+
# UNION TYPE ALIASES - For Type Hints and Pattern Matching
|
|
623
|
+
# ============================================================================
|
|
624
|
+
# These union aliases provide convenient types for function signatures,
|
|
625
|
+
# type hints, and pattern matching without having to manually construct
|
|
626
|
+
# the union each time.
|
|
627
|
+
|
|
628
|
+
# Deployment union (for signals)
|
|
629
|
+
Deployment = PlatformDeployment | AgentDeployment
|
|
630
|
+
"""Union type for all deployment variants.
|
|
631
|
+
|
|
632
|
+
Use this for type hints when a function accepts any deployment type:
|
|
633
|
+
|
|
634
|
+
Example:
|
|
635
|
+
```python
|
|
636
|
+
def process_deployment(deployment: Deployment) -> None:
|
|
637
|
+
if isinstance(deployment, PlatformDeployment):
|
|
638
|
+
print(f"Platform: {deployment.platform}")
|
|
639
|
+
elif isinstance(deployment, AgentDeployment):
|
|
640
|
+
print(f"Agent: {deployment.agent_url}")
|
|
641
|
+
```
|
|
642
|
+
"""
|
|
643
|
+
|
|
644
|
+
# Destination union (for signals)
|
|
645
|
+
Destination = PlatformDestination | AgentDestination
|
|
646
|
+
"""Union type for all destination variants.
|
|
647
|
+
|
|
648
|
+
Use this for type hints when a function accepts any destination type:
|
|
649
|
+
|
|
650
|
+
Example:
|
|
651
|
+
```python
|
|
652
|
+
def format_destination(dest: Destination) -> str:
|
|
653
|
+
if isinstance(dest, PlatformDestination):
|
|
654
|
+
return f"Platform: {dest.platform}"
|
|
655
|
+
elif isinstance(dest, AgentDestination):
|
|
656
|
+
return f"Agent: {dest.agent_url}"
|
|
657
|
+
```
|
|
658
|
+
"""
|
|
659
|
+
|
|
660
|
+
# Authorized agent union (for adagents.json)
|
|
661
|
+
AuthorizedAgent = (
|
|
662
|
+
AuthorizedAgentsByPropertyId
|
|
663
|
+
| AuthorizedAgentsByPropertyTag
|
|
664
|
+
| AuthorizedAgentsByInlineProperties
|
|
665
|
+
| AuthorizedAgentsByPublisherProperties
|
|
666
|
+
)
|
|
667
|
+
"""Union type for all authorized agent variants.
|
|
668
|
+
|
|
669
|
+
Use this for type hints when processing agents from adagents.json:
|
|
670
|
+
|
|
671
|
+
Example:
|
|
672
|
+
```python
|
|
673
|
+
def validate_agent(agent: AuthorizedAgent) -> bool:
|
|
674
|
+
match agent.authorization_type:
|
|
675
|
+
case "property_ids":
|
|
676
|
+
return len(agent.property_ids) > 0
|
|
677
|
+
case "property_tags":
|
|
678
|
+
return len(agent.property_tags) > 0
|
|
679
|
+
case "inline_properties":
|
|
680
|
+
return len(agent.properties) > 0
|
|
681
|
+
case "publisher_properties":
|
|
682
|
+
return len(agent.publisher_properties) > 0
|
|
683
|
+
```
|
|
684
|
+
"""
|
|
685
|
+
|
|
686
|
+
# Publisher properties union (for product requests)
|
|
687
|
+
PublisherProperties = (
|
|
688
|
+
PublisherPropertiesAll | PublisherPropertiesById | PublisherPropertiesByTag
|
|
689
|
+
)
|
|
690
|
+
"""Union type for all publisher properties variants.
|
|
691
|
+
|
|
692
|
+
Use this for type hints in product filtering:
|
|
693
|
+
|
|
694
|
+
Example:
|
|
695
|
+
```python
|
|
696
|
+
def filter_products(props: PublisherProperties) -> None:
|
|
697
|
+
match props.selection_type:
|
|
698
|
+
case "all":
|
|
699
|
+
print("All properties from publisher")
|
|
700
|
+
case "by_id":
|
|
701
|
+
print(f"Properties: {props.property_ids}")
|
|
702
|
+
case "by_tag":
|
|
703
|
+
print(f"Tags: {props.property_tags}")
|
|
704
|
+
```
|
|
705
|
+
"""
|
|
706
|
+
|
|
482
707
|
# ============================================================================
|
|
483
708
|
# EXPORTS
|
|
484
709
|
# ============================================================================
|
|
@@ -500,6 +725,13 @@ __all__ = [
|
|
|
500
725
|
"UrlDaastAsset",
|
|
501
726
|
"UrlPreviewRender",
|
|
502
727
|
"UrlVastAsset",
|
|
728
|
+
# Authorized agent variants
|
|
729
|
+
"AuthorizedAgentsByPropertyId",
|
|
730
|
+
"AuthorizedAgentsByPropertyTag",
|
|
731
|
+
"AuthorizedAgentsByInlineProperties",
|
|
732
|
+
"AuthorizedAgentsByPublisherProperties",
|
|
733
|
+
# Authorized agent union
|
|
734
|
+
"AuthorizedAgent",
|
|
503
735
|
# Build creative responses
|
|
504
736
|
"BuildCreativeSuccessResponse",
|
|
505
737
|
"BuildCreativeErrorResponse",
|
|
@@ -530,14 +762,20 @@ __all__ = [
|
|
|
530
762
|
# Publisher properties types
|
|
531
763
|
"PropertyId",
|
|
532
764
|
"PropertyTag",
|
|
533
|
-
# Publisher properties
|
|
765
|
+
# Publisher properties variants
|
|
534
766
|
"PublisherPropertiesAll",
|
|
535
767
|
"PublisherPropertiesById",
|
|
536
768
|
"PublisherPropertiesByTag",
|
|
537
|
-
#
|
|
769
|
+
# Publisher properties union
|
|
770
|
+
"PublisherProperties",
|
|
771
|
+
# Deployment variants
|
|
538
772
|
"PlatformDeployment",
|
|
539
773
|
"AgentDeployment",
|
|
540
|
-
#
|
|
774
|
+
# Deployment union
|
|
775
|
+
"Deployment",
|
|
776
|
+
# Destination variants
|
|
541
777
|
"PlatformDestination",
|
|
542
778
|
"AgentDestination",
|
|
779
|
+
# Destination union
|
|
780
|
+
"Destination",
|
|
543
781
|
]
|
adcp/types/stable.py
CHANGED
|
@@ -22,15 +22,38 @@ Schema Evolution:
|
|
|
22
22
|
from __future__ import annotations
|
|
23
23
|
|
|
24
24
|
from adcp.types._generated import (
|
|
25
|
+
Action,
|
|
25
26
|
# Core request/response types
|
|
26
27
|
ActivateSignalRequest,
|
|
27
28
|
ActivateSignalResponse,
|
|
29
|
+
AffectedPackage,
|
|
30
|
+
AggregatedTotals,
|
|
28
31
|
# Assets
|
|
32
|
+
Asset,
|
|
33
|
+
AssetSelectors,
|
|
34
|
+
AssetsRequired,
|
|
35
|
+
AssetType,
|
|
36
|
+
AssetTypeSchema,
|
|
37
|
+
AssignedPackage,
|
|
38
|
+
Assignments,
|
|
29
39
|
AudioAsset,
|
|
40
|
+
Authentication,
|
|
41
|
+
AuthorizedAgents,
|
|
42
|
+
AuthorizedSalesAgents,
|
|
43
|
+
AvailableMetric,
|
|
44
|
+
AvailableReportingFrequency,
|
|
30
45
|
# Core domain types
|
|
31
46
|
BrandManifest, # Clean single type after upstream schema fix
|
|
32
47
|
BuildCreativeRequest,
|
|
33
48
|
BuildCreativeResponse,
|
|
49
|
+
ByPackageItem,
|
|
50
|
+
Capability,
|
|
51
|
+
CatalogType,
|
|
52
|
+
CoBranding,
|
|
53
|
+
Colors,
|
|
54
|
+
Contact,
|
|
55
|
+
ContentLength,
|
|
56
|
+
Country,
|
|
34
57
|
# Pricing options
|
|
35
58
|
CpcPricingOption,
|
|
36
59
|
CpcvPricingOption,
|
|
@@ -41,45 +64,145 @@ from adcp.types._generated import (
|
|
|
41
64
|
CreateMediaBuyRequest,
|
|
42
65
|
CreateMediaBuyResponse,
|
|
43
66
|
Creative,
|
|
67
|
+
CreativeAgent,
|
|
68
|
+
CreativeAsset,
|
|
69
|
+
CreativeAssignment,
|
|
44
70
|
CreativeManifest,
|
|
71
|
+
CreativePolicy,
|
|
45
72
|
# Enums and constants
|
|
46
73
|
CreativeStatus,
|
|
47
74
|
CssAsset,
|
|
75
|
+
DaastVersion,
|
|
76
|
+
DailyBreakdownItem,
|
|
77
|
+
DeliverTo,
|
|
78
|
+
DeliveryMeasurement,
|
|
79
|
+
DeliveryMetrics,
|
|
80
|
+
DeliveryType,
|
|
81
|
+
Details,
|
|
82
|
+
Dimensions,
|
|
83
|
+
Direction,
|
|
84
|
+
Disclaimer,
|
|
85
|
+
Domain,
|
|
86
|
+
DomainBreakdown,
|
|
87
|
+
DoohMetrics,
|
|
88
|
+
Duration,
|
|
89
|
+
Embedding,
|
|
48
90
|
Error,
|
|
91
|
+
FeedbackSource,
|
|
92
|
+
FeedFormat,
|
|
93
|
+
FieldModel,
|
|
94
|
+
FileSize,
|
|
95
|
+
Filters,
|
|
49
96
|
FlatRatePricingOption,
|
|
97
|
+
Fonts,
|
|
50
98
|
Format,
|
|
99
|
+
FormatCard,
|
|
100
|
+
FormatCardDetailed,
|
|
51
101
|
FormatId,
|
|
102
|
+
FormatType,
|
|
103
|
+
FrequencyCap,
|
|
104
|
+
FrequencyCapScope,
|
|
105
|
+
GeoCountryAnyOfItem,
|
|
52
106
|
GetMediaBuyDeliveryRequest,
|
|
53
107
|
GetMediaBuyDeliveryResponse,
|
|
54
108
|
GetProductsRequest,
|
|
55
109
|
GetProductsResponse,
|
|
56
110
|
GetSignalsRequest,
|
|
57
111
|
GetSignalsResponse,
|
|
112
|
+
HistoryItem,
|
|
58
113
|
HtmlAsset,
|
|
114
|
+
Identifier,
|
|
59
115
|
ImageAsset,
|
|
116
|
+
Input,
|
|
60
117
|
JavascriptAsset,
|
|
118
|
+
LandingPage,
|
|
61
119
|
ListAuthorizedPropertiesRequest,
|
|
62
120
|
ListAuthorizedPropertiesResponse,
|
|
63
121
|
ListCreativeFormatsRequest,
|
|
64
122
|
ListCreativeFormatsResponse,
|
|
65
123
|
ListCreativesRequest,
|
|
66
124
|
ListCreativesResponse,
|
|
125
|
+
Logo,
|
|
67
126
|
MarkdownAsset,
|
|
127
|
+
MarkdownFlavor,
|
|
128
|
+
Measurement,
|
|
129
|
+
MeasurementPeriod,
|
|
68
130
|
MediaBuy,
|
|
131
|
+
MediaBuyDelivery,
|
|
69
132
|
MediaBuyStatus,
|
|
133
|
+
Metadata,
|
|
134
|
+
Method,
|
|
135
|
+
MetricType,
|
|
136
|
+
ModuleType,
|
|
137
|
+
NotificationType,
|
|
138
|
+
Offering,
|
|
139
|
+
OutputFormat,
|
|
140
|
+
Pacing,
|
|
70
141
|
PackageRequest,
|
|
142
|
+
Packages,
|
|
71
143
|
PackageStatus,
|
|
144
|
+
Pagination,
|
|
145
|
+
Parameters,
|
|
146
|
+
Performance,
|
|
147
|
+
PerformanceFeedback,
|
|
148
|
+
Placement,
|
|
149
|
+
Preview,
|
|
72
150
|
PreviewCreativeRequest,
|
|
73
151
|
PreviewCreativeResponse,
|
|
152
|
+
PreviewRender,
|
|
74
153
|
PriceGuidance,
|
|
154
|
+
Pricing,
|
|
75
155
|
PricingModel,
|
|
156
|
+
PrimaryCountry,
|
|
76
157
|
Product,
|
|
158
|
+
ProductCard,
|
|
159
|
+
ProductCardDetailed,
|
|
160
|
+
ProductCatalog,
|
|
161
|
+
Progress,
|
|
162
|
+
PromotedOfferings,
|
|
163
|
+
PromotedProducts,
|
|
77
164
|
Property,
|
|
165
|
+
PropertyIdentifierTypes,
|
|
166
|
+
PropertyType,
|
|
167
|
+
ProtocolEnvelope,
|
|
168
|
+
ProtocolResponse,
|
|
78
169
|
ProvidePerformanceFeedbackRequest,
|
|
79
170
|
ProvidePerformanceFeedbackResponse,
|
|
171
|
+
PublisherDomain,
|
|
172
|
+
PublisherIdentifierTypes,
|
|
80
173
|
PushNotificationConfig,
|
|
174
|
+
Quality,
|
|
175
|
+
QuartileData,
|
|
176
|
+
QuerySummary,
|
|
177
|
+
Render,
|
|
178
|
+
ReportingCapabilities,
|
|
179
|
+
ReportingFrequency,
|
|
180
|
+
ReportingPeriod,
|
|
181
|
+
ReportingWebhook,
|
|
182
|
+
Request,
|
|
183
|
+
RequestedMetric,
|
|
184
|
+
Requirements,
|
|
185
|
+
Response,
|
|
186
|
+
ResponseType,
|
|
187
|
+
Responsive,
|
|
188
|
+
Results,
|
|
189
|
+
Scheme,
|
|
190
|
+
Security,
|
|
191
|
+
Signal,
|
|
192
|
+
SignalType,
|
|
193
|
+
Sort,
|
|
194
|
+
SortApplied,
|
|
195
|
+
StandardFormatIds,
|
|
196
|
+
Status,
|
|
197
|
+
StatusFilter,
|
|
198
|
+
StatusFilterEnum,
|
|
199
|
+
StatusSummary,
|
|
81
200
|
SyncCreativesRequest,
|
|
82
201
|
SyncCreativesResponse,
|
|
202
|
+
Tag,
|
|
203
|
+
Tags,
|
|
204
|
+
TargetingOverlay,
|
|
205
|
+
Task,
|
|
83
206
|
TasksGetRequest,
|
|
84
207
|
TasksGetResponse,
|
|
85
208
|
TasksListRequest,
|
|
@@ -87,12 +210,22 @@ from adcp.types._generated import (
|
|
|
87
210
|
TaskStatus,
|
|
88
211
|
TaskType,
|
|
89
212
|
TextAsset,
|
|
213
|
+
Totals,
|
|
214
|
+
TrackingEvent,
|
|
215
|
+
Type,
|
|
216
|
+
Unit,
|
|
217
|
+
UpdateFrequency,
|
|
90
218
|
UpdateMediaBuyRequest,
|
|
91
219
|
UpdateMediaBuyResponse,
|
|
92
220
|
UrlAsset,
|
|
221
|
+
UrlType,
|
|
222
|
+
ValidationMode,
|
|
223
|
+
VastVersion,
|
|
93
224
|
VcpmAuctionPricingOption,
|
|
94
225
|
VcpmFixedRatePricingOption,
|
|
226
|
+
VenueBreakdownItem,
|
|
95
227
|
VideoAsset,
|
|
228
|
+
ViewThreshold,
|
|
96
229
|
WebhookAsset,
|
|
97
230
|
WebhookPayload,
|
|
98
231
|
)
|
|
@@ -113,46 +246,118 @@ __all__ = [
|
|
|
113
246
|
# Request/Response types
|
|
114
247
|
"ActivateSignalRequest",
|
|
115
248
|
"ActivateSignalResponse",
|
|
249
|
+
"Action",
|
|
250
|
+
"AffectedPackage",
|
|
251
|
+
"AggregatedTotals",
|
|
116
252
|
"BuildCreativeRequest",
|
|
117
253
|
"BuildCreativeResponse",
|
|
254
|
+
"ByPackageItem",
|
|
118
255
|
"CreateMediaBuyRequest",
|
|
119
256
|
"CreateMediaBuyResponse",
|
|
257
|
+
"DailyBreakdownItem",
|
|
258
|
+
"Details",
|
|
259
|
+
"Domain",
|
|
260
|
+
"DomainBreakdown",
|
|
120
261
|
"GetMediaBuyDeliveryRequest",
|
|
121
262
|
"GetMediaBuyDeliveryResponse",
|
|
122
263
|
"GetProductsRequest",
|
|
123
264
|
"GetProductsResponse",
|
|
124
265
|
"GetSignalsRequest",
|
|
125
266
|
"GetSignalsResponse",
|
|
267
|
+
"HistoryItem",
|
|
126
268
|
"ListAuthorizedPropertiesRequest",
|
|
127
269
|
"ListAuthorizedPropertiesResponse",
|
|
128
270
|
"ListCreativeFormatsRequest",
|
|
129
271
|
"ListCreativeFormatsResponse",
|
|
130
272
|
"ListCreativesRequest",
|
|
131
273
|
"ListCreativesResponse",
|
|
274
|
+
"MediaBuyDelivery",
|
|
132
275
|
"PreviewCreativeRequest",
|
|
133
276
|
"PreviewCreativeResponse",
|
|
277
|
+
"Progress",
|
|
278
|
+
"ProtocolEnvelope",
|
|
279
|
+
"ProtocolResponse",
|
|
134
280
|
"ProvidePerformanceFeedbackRequest",
|
|
135
281
|
"ProvidePerformanceFeedbackResponse",
|
|
282
|
+
"QuerySummary",
|
|
283
|
+
"SortApplied",
|
|
284
|
+
"StatusSummary",
|
|
136
285
|
"SyncCreativesRequest",
|
|
137
286
|
"SyncCreativesResponse",
|
|
287
|
+
"Task",
|
|
138
288
|
"TasksGetRequest",
|
|
139
289
|
"TasksGetResponse",
|
|
140
290
|
"TasksListRequest",
|
|
141
291
|
"TasksListResponse",
|
|
292
|
+
"Totals",
|
|
142
293
|
"UpdateMediaBuyRequest",
|
|
143
294
|
"UpdateMediaBuyResponse",
|
|
144
295
|
# Domain types
|
|
145
|
-
"
|
|
296
|
+
"Asset",
|
|
297
|
+
"AssetSelectors",
|
|
298
|
+
"AssetType",
|
|
299
|
+
"AssetTypeSchema",
|
|
300
|
+
"AssetsRequired",
|
|
301
|
+
"AssignedPackage",
|
|
302
|
+
"Assignments",
|
|
303
|
+
"BrandManifest",
|
|
304
|
+
"Capability",
|
|
305
|
+
"CoBranding",
|
|
306
|
+
"Colors",
|
|
307
|
+
"Contact",
|
|
146
308
|
"Creative",
|
|
309
|
+
"CreativeAgent",
|
|
310
|
+
"CreativeAsset",
|
|
311
|
+
"CreativeAssignment",
|
|
147
312
|
"CreativeManifest",
|
|
313
|
+
"CreativePolicy",
|
|
314
|
+
"DeliveryMeasurement",
|
|
315
|
+
"DeliveryMetrics",
|
|
316
|
+
"Disclaimer",
|
|
317
|
+
"DoohMetrics",
|
|
318
|
+
"Embedding",
|
|
148
319
|
"Error",
|
|
320
|
+
"FeedFormat",
|
|
321
|
+
"Filters",
|
|
322
|
+
"Fonts",
|
|
149
323
|
"Format",
|
|
324
|
+
"FormatCard",
|
|
325
|
+
"FormatCardDetailed",
|
|
150
326
|
"FormatId",
|
|
327
|
+
"Identifier",
|
|
328
|
+
"Input",
|
|
329
|
+
"LandingPage",
|
|
330
|
+
"Logo",
|
|
151
331
|
"MediaBuy",
|
|
332
|
+
"Metadata",
|
|
333
|
+
"Offering",
|
|
152
334
|
"Package",
|
|
153
335
|
"PackageRequest",
|
|
336
|
+
"Packages",
|
|
337
|
+
"Parameters",
|
|
338
|
+
"Performance",
|
|
339
|
+
"PerformanceFeedback",
|
|
340
|
+
"Placement",
|
|
341
|
+
"Preview",
|
|
342
|
+
"PreviewRender",
|
|
343
|
+
"Pricing",
|
|
154
344
|
"Product",
|
|
345
|
+
"ProductCard",
|
|
346
|
+
"ProductCardDetailed",
|
|
347
|
+
"ProductCatalog",
|
|
348
|
+
"PromotedOfferings",
|
|
349
|
+
"PromotedProducts",
|
|
155
350
|
"Property",
|
|
351
|
+
"QuartileData",
|
|
352
|
+
"Render",
|
|
353
|
+
"Request",
|
|
354
|
+
"Response",
|
|
355
|
+
"Results",
|
|
356
|
+
"Signal",
|
|
357
|
+
"Tag",
|
|
358
|
+
"Tags",
|
|
359
|
+
"TargetingOverlay",
|
|
360
|
+
"VenueBreakdownItem",
|
|
156
361
|
# Pricing-related types
|
|
157
362
|
"CpcPricingOption",
|
|
158
363
|
"CpcvPricingOption",
|
|
@@ -164,15 +369,76 @@ __all__ = [
|
|
|
164
369
|
"PriceGuidance",
|
|
165
370
|
"VcpmAuctionPricingOption",
|
|
166
371
|
"VcpmFixedRatePricingOption",
|
|
167
|
-
# Status enums
|
|
372
|
+
# Status enums & simple types
|
|
373
|
+
"CatalogType",
|
|
374
|
+
"ContentLength",
|
|
375
|
+
"Country",
|
|
168
376
|
"CreativeStatus",
|
|
377
|
+
"DaastVersion",
|
|
378
|
+
"DeliverTo",
|
|
379
|
+
"DeliveryType",
|
|
380
|
+
"Dimensions",
|
|
381
|
+
"Direction",
|
|
382
|
+
"Duration",
|
|
383
|
+
"FeedbackSource",
|
|
384
|
+
"FieldModel",
|
|
385
|
+
"FileSize",
|
|
386
|
+
"FormatType",
|
|
387
|
+
"FrequencyCap",
|
|
388
|
+
"FrequencyCapScope",
|
|
389
|
+
"GeoCountryAnyOfItem",
|
|
390
|
+
"MarkdownFlavor",
|
|
391
|
+
"Measurement",
|
|
392
|
+
"MeasurementPeriod",
|
|
169
393
|
"MediaBuyStatus",
|
|
394
|
+
"Method",
|
|
395
|
+
"MetricType",
|
|
396
|
+
"ModuleType",
|
|
397
|
+
"NotificationType",
|
|
398
|
+
"OutputFormat",
|
|
399
|
+
"Pacing",
|
|
170
400
|
"PackageStatus",
|
|
401
|
+
"Pagination",
|
|
171
402
|
"PricingModel",
|
|
403
|
+
"PrimaryCountry",
|
|
404
|
+
"PropertyIdentifierTypes",
|
|
405
|
+
"PropertyType",
|
|
406
|
+
"PublisherDomain",
|
|
407
|
+
"PublisherIdentifierTypes",
|
|
408
|
+
"Quality",
|
|
409
|
+
"ResponseType",
|
|
410
|
+
"Responsive",
|
|
411
|
+
"SignalType",
|
|
412
|
+
"Sort",
|
|
413
|
+
"StandardFormatIds",
|
|
414
|
+
"Status",
|
|
415
|
+
"StatusFilter",
|
|
416
|
+
"StatusFilterEnum",
|
|
172
417
|
"TaskStatus",
|
|
173
418
|
"TaskType",
|
|
174
|
-
|
|
419
|
+
"TrackingEvent",
|
|
420
|
+
"Type",
|
|
421
|
+
"Unit",
|
|
422
|
+
"UpdateFrequency",
|
|
423
|
+
"UrlType",
|
|
424
|
+
"ValidationMode",
|
|
425
|
+
"VastVersion",
|
|
426
|
+
"ViewThreshold",
|
|
427
|
+
# Configuration & infrastructure types
|
|
428
|
+
"Authentication",
|
|
429
|
+
"AuthorizedAgents",
|
|
430
|
+
"AuthorizedSalesAgents",
|
|
431
|
+
"AvailableMetric",
|
|
432
|
+
"AvailableReportingFrequency",
|
|
175
433
|
"PushNotificationConfig",
|
|
434
|
+
"ReportingCapabilities",
|
|
435
|
+
"ReportingFrequency",
|
|
436
|
+
"ReportingPeriod",
|
|
437
|
+
"ReportingWebhook",
|
|
438
|
+
"RequestedMetric",
|
|
439
|
+
"Requirements",
|
|
440
|
+
"Scheme",
|
|
441
|
+
"Security",
|
|
176
442
|
# Assets
|
|
177
443
|
"AudioAsset",
|
|
178
444
|
"CssAsset",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
adcp/__init__.py,sha256=
|
|
1
|
+
adcp/__init__.py,sha256=agBWRsAPiz2heRLlhY5shUvh87a6ZHRlLUlUYaPxhq8,9188
|
|
2
2
|
adcp/__main__.py,sha256=YF2GUXF1LICW1TPxNQiGIfSp5cpAsejoEG2fuOgbzrc,12839
|
|
3
3
|
adcp/adagents.py,sha256=o-vTBmdZvu9aER-TAlLLL3s-WGYY8N67jnrAH24lST8,22333
|
|
4
4
|
adcp/client.py,sha256=EzHS5Aysau3liwkGp_clYkYxTHACeqP4zNT8jSLz0hs,28789
|
|
@@ -13,12 +13,12 @@ adcp/protocols/base.py,sha256=vBHD23Fzl_CCk_Gy9nvSbBYopcJlYkYyzoz-rhI8wHg,5214
|
|
|
13
13
|
adcp/protocols/mcp.py,sha256=d9uSpGd0BKvQ0JxztkfDvHwoDrDYhuiw5oivpYOAbmM,16647
|
|
14
14
|
adcp/testing/__init__.py,sha256=ZWp_floWjVZfy8RBG5v_FUXQ8YbN7xjXvVcX-_zl_HU,1416
|
|
15
15
|
adcp/testing/test_helpers.py,sha256=-UKuxxyKQald5EvXxguQH34b3J0JdsxKH_nRT6GTjkQ,10029
|
|
16
|
-
adcp/types/__init__.py,sha256=
|
|
16
|
+
adcp/types/__init__.py,sha256=_-Biz9AMaStNRteXE0Nr05hWSSroowMabUZQpRZXrt4,13009
|
|
17
17
|
adcp/types/_generated.py,sha256=XYYu3xvuZ0ivIOHt5pViD8FBXehTv3OlAQcxQsd2TzA,15307
|
|
18
|
-
adcp/types/aliases.py,sha256=
|
|
18
|
+
adcp/types/aliases.py,sha256=erd0AYeQrBG6Z08QGl1gtUqZeVjRl9CATq_nYWYkuO8,26203
|
|
19
19
|
adcp/types/base.py,sha256=QoEuVfI4yzefup0dc2KN11AcJTbcGxRep7xOw5hXfs8,837
|
|
20
20
|
adcp/types/core.py,sha256=RXkKCWCXS9BVJTNpe3Opm5O1I_LaQPMUuVwa-ipvS1Q,4839
|
|
21
|
-
adcp/types/stable.py,sha256=
|
|
21
|
+
adcp/types/stable.py,sha256=Ja2KeFf6j4TnoVKogaPczpvVM9iCGdIOxzjaD7NVft8,10174
|
|
22
22
|
adcp/types/generated_poc/__init__.py,sha256=bgFFvPK1-e04eOnyw0qmtVMzoA2V7GeAMPDVrx-VIwA,103
|
|
23
23
|
adcp/types/generated_poc/activate_signal_request.py,sha256=mI1MskO30yEcbQQ7ueEExMF7FhfARQj0_kbz5CAdSzQ,1188
|
|
24
24
|
adcp/types/generated_poc/activate_signal_response.py,sha256=ltt5yDsocK3VfELeRuMjUiNMmUZe__VP5az6fsMCOuc,2015
|
|
@@ -122,9 +122,9 @@ adcp/utils/__init__.py,sha256=uetvSJB19CjQbtwEYZiTnumJG11GsafQmXm5eR3hL7E,153
|
|
|
122
122
|
adcp/utils/operation_id.py,sha256=wQX9Bb5epXzRq23xoeYPTqzu5yLuhshg7lKJZihcM2k,294
|
|
123
123
|
adcp/utils/preview_cache.py,sha256=PH9bSDOPQzLKqkC_o0a9Xn2i4cNC2oy76dkJdS3j7ck,18491
|
|
124
124
|
adcp/utils/response_parser.py,sha256=uPk2vIH-RYZmq7y3i8lC4HTMQ3FfKdlgXKTjgJ1955M,6253
|
|
125
|
-
adcp-2.
|
|
126
|
-
adcp-2.
|
|
127
|
-
adcp-2.
|
|
128
|
-
adcp-2.
|
|
129
|
-
adcp-2.
|
|
130
|
-
adcp-2.
|
|
125
|
+
adcp-2.8.0.dist-info/licenses/LICENSE,sha256=PF39NR3Ae8PLgBhg3Uxw6ju7iGVIf8hfv9LRWQdii_U,629
|
|
126
|
+
adcp-2.8.0.dist-info/METADATA,sha256=oM2qoKu2nWkBQw--UbHucXfjQWdN8V60iv3uMPsfS5g,25810
|
|
127
|
+
adcp-2.8.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
128
|
+
adcp-2.8.0.dist-info/entry_points.txt,sha256=DQKpcGsJX8DtVI_SGApQ7tNvqUB4zkTLaTAEpFgmi3U,44
|
|
129
|
+
adcp-2.8.0.dist-info/top_level.txt,sha256=T1_NF0GefncFU9v_k56oDwKSJREyCqIM8lAwNZf0EOs,5
|
|
130
|
+
adcp-2.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|