adcp 2.12.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 +364 -0
- adcp/__main__.py +440 -0
- adcp/adagents.py +642 -0
- adcp/client.py +1057 -0
- adcp/config.py +82 -0
- adcp/exceptions.py +185 -0
- adcp/protocols/__init__.py +9 -0
- adcp/protocols/a2a.py +484 -0
- adcp/protocols/base.py +190 -0
- adcp/protocols/mcp.py +440 -0
- adcp/py.typed +0 -0
- adcp/simple.py +451 -0
- adcp/testing/__init__.py +53 -0
- adcp/testing/test_helpers.py +311 -0
- adcp/types/__init__.py +561 -0
- adcp/types/_generated.py +237 -0
- adcp/types/aliases.py +748 -0
- adcp/types/base.py +26 -0
- adcp/types/core.py +174 -0
- adcp/types/generated_poc/__init__.py +3 -0
- adcp/types/generated_poc/adagents.py +411 -0
- adcp/types/generated_poc/core/__init__.py +3 -0
- adcp/types/generated_poc/core/activation_key.py +30 -0
- adcp/types/generated_poc/core/assets/__init__.py +3 -0
- adcp/types/generated_poc/core/assets/audio_asset.py +26 -0
- adcp/types/generated_poc/core/assets/css_asset.py +20 -0
- adcp/types/generated_poc/core/assets/daast_asset.py +61 -0
- adcp/types/generated_poc/core/assets/html_asset.py +18 -0
- adcp/types/generated_poc/core/assets/image_asset.py +19 -0
- adcp/types/generated_poc/core/assets/javascript_asset.py +23 -0
- adcp/types/generated_poc/core/assets/text_asset.py +20 -0
- adcp/types/generated_poc/core/assets/url_asset.py +28 -0
- adcp/types/generated_poc/core/assets/vast_asset.py +63 -0
- adcp/types/generated_poc/core/assets/video_asset.py +24 -0
- adcp/types/generated_poc/core/assets/webhook_asset.py +53 -0
- adcp/types/generated_poc/core/brand_manifest.py +201 -0
- adcp/types/generated_poc/core/context.py +15 -0
- adcp/types/generated_poc/core/creative_asset.py +102 -0
- adcp/types/generated_poc/core/creative_assignment.py +27 -0
- adcp/types/generated_poc/core/creative_filters.py +86 -0
- adcp/types/generated_poc/core/creative_manifest.py +68 -0
- adcp/types/generated_poc/core/creative_policy.py +28 -0
- adcp/types/generated_poc/core/delivery_metrics.py +111 -0
- adcp/types/generated_poc/core/deployment.py +78 -0
- adcp/types/generated_poc/core/destination.py +43 -0
- adcp/types/generated_poc/core/dimensions.py +18 -0
- adcp/types/generated_poc/core/error.py +29 -0
- adcp/types/generated_poc/core/ext.py +15 -0
- adcp/types/generated_poc/core/format.py +260 -0
- adcp/types/generated_poc/core/format_id.py +50 -0
- adcp/types/generated_poc/core/frequency_cap.py +19 -0
- adcp/types/generated_poc/core/measurement.py +40 -0
- adcp/types/generated_poc/core/media_buy.py +40 -0
- adcp/types/generated_poc/core/package.py +68 -0
- adcp/types/generated_poc/core/performance_feedback.py +78 -0
- adcp/types/generated_poc/core/placement.py +37 -0
- adcp/types/generated_poc/core/product.py +164 -0
- adcp/types/generated_poc/core/product_filters.py +97 -0
- adcp/types/generated_poc/core/promoted_offerings.py +102 -0
- adcp/types/generated_poc/core/promoted_products.py +38 -0
- adcp/types/generated_poc/core/property.py +64 -0
- adcp/types/generated_poc/core/property_id.py +21 -0
- adcp/types/generated_poc/core/property_tag.py +21 -0
- adcp/types/generated_poc/core/protocol_envelope.py +61 -0
- adcp/types/generated_poc/core/publisher_property_selector.py +75 -0
- adcp/types/generated_poc/core/push_notification_config.py +51 -0
- adcp/types/generated_poc/core/reporting_capabilities.py +51 -0
- adcp/types/generated_poc/core/response.py +24 -0
- adcp/types/generated_poc/core/signal_filters.py +29 -0
- adcp/types/generated_poc/core/sub_asset.py +55 -0
- adcp/types/generated_poc/core/targeting.py +53 -0
- adcp/types/generated_poc/core/webhook_payload.py +96 -0
- adcp/types/generated_poc/creative/__init__.py +3 -0
- adcp/types/generated_poc/creative/list_creative_formats_request.py +88 -0
- adcp/types/generated_poc/creative/list_creative_formats_response.py +55 -0
- adcp/types/generated_poc/creative/preview_creative_request.py +153 -0
- adcp/types/generated_poc/creative/preview_creative_response.py +169 -0
- adcp/types/generated_poc/creative/preview_render.py +152 -0
- adcp/types/generated_poc/enums/__init__.py +3 -0
- adcp/types/generated_poc/enums/adcp_domain.py +12 -0
- adcp/types/generated_poc/enums/asset_content_type.py +23 -0
- adcp/types/generated_poc/enums/auth_scheme.py +12 -0
- adcp/types/generated_poc/enums/available_metric.py +19 -0
- adcp/types/generated_poc/enums/channels.py +19 -0
- adcp/types/generated_poc/enums/co_branding_requirement.py +13 -0
- adcp/types/generated_poc/enums/creative_action.py +15 -0
- adcp/types/generated_poc/enums/creative_agent_capability.py +14 -0
- adcp/types/generated_poc/enums/creative_sort_field.py +16 -0
- adcp/types/generated_poc/enums/creative_status.py +14 -0
- adcp/types/generated_poc/enums/daast_tracking_event.py +21 -0
- adcp/types/generated_poc/enums/daast_version.py +12 -0
- adcp/types/generated_poc/enums/delivery_type.py +12 -0
- adcp/types/generated_poc/enums/dimension_unit.py +14 -0
- adcp/types/generated_poc/enums/feed_format.py +13 -0
- adcp/types/generated_poc/enums/feedback_source.py +14 -0
- adcp/types/generated_poc/enums/format_category.py +17 -0
- adcp/types/generated_poc/enums/format_id_parameter.py +12 -0
- adcp/types/generated_poc/enums/frequency_cap_scope.py +16 -0
- adcp/types/generated_poc/enums/history_entry_type.py +12 -0
- adcp/types/generated_poc/enums/http_method.py +12 -0
- adcp/types/generated_poc/enums/identifier_types.py +29 -0
- adcp/types/generated_poc/enums/javascript_module_type.py +13 -0
- adcp/types/generated_poc/enums/landing_page_requirement.py +13 -0
- adcp/types/generated_poc/enums/markdown_flavor.py +12 -0
- adcp/types/generated_poc/enums/media_buy_status.py +14 -0
- adcp/types/generated_poc/enums/metric_type.py +18 -0
- adcp/types/generated_poc/enums/notification_type.py +14 -0
- adcp/types/generated_poc/enums/pacing.py +13 -0
- adcp/types/generated_poc/enums/preview_output_format.py +12 -0
- adcp/types/generated_poc/enums/pricing_model.py +17 -0
- adcp/types/generated_poc/enums/property_type.py +17 -0
- adcp/types/generated_poc/enums/publisher_identifier_types.py +15 -0
- adcp/types/generated_poc/enums/reporting_frequency.py +13 -0
- adcp/types/generated_poc/enums/signal_catalog_type.py +13 -0
- adcp/types/generated_poc/enums/sort_direction.py +12 -0
- adcp/types/generated_poc/enums/standard_format_ids.py +45 -0
- adcp/types/generated_poc/enums/task_status.py +19 -0
- adcp/types/generated_poc/enums/task_type.py +15 -0
- adcp/types/generated_poc/enums/update_frequency.py +14 -0
- adcp/types/generated_poc/enums/url_asset_type.py +13 -0
- adcp/types/generated_poc/enums/validation_mode.py +12 -0
- adcp/types/generated_poc/enums/vast_tracking_event.py +26 -0
- adcp/types/generated_poc/enums/vast_version.py +15 -0
- adcp/types/generated_poc/enums/webhook_response_type.py +14 -0
- adcp/types/generated_poc/enums/webhook_security_method.py +13 -0
- adcp/types/generated_poc/media_buy/__init__.py +3 -0
- adcp/types/generated_poc/media_buy/build_creative_request.py +41 -0
- adcp/types/generated_poc/media_buy/build_creative_response.py +51 -0
- adcp/types/generated_poc/media_buy/create_media_buy_request.py +94 -0
- adcp/types/generated_poc/media_buy/create_media_buy_response.py +56 -0
- adcp/types/generated_poc/media_buy/get_media_buy_delivery_request.py +47 -0
- adcp/types/generated_poc/media_buy/get_media_buy_delivery_response.py +235 -0
- adcp/types/generated_poc/media_buy/get_products_request.py +48 -0
- adcp/types/generated_poc/media_buy/get_products_response.py +28 -0
- adcp/types/generated_poc/media_buy/list_authorized_properties_request.py +38 -0
- adcp/types/generated_poc/media_buy/list_authorized_properties_response.py +84 -0
- adcp/types/generated_poc/media_buy/list_creative_formats_request.py +74 -0
- adcp/types/generated_poc/media_buy/list_creative_formats_response.py +56 -0
- adcp/types/generated_poc/media_buy/list_creatives_request.py +76 -0
- adcp/types/generated_poc/media_buy/list_creatives_response.py +214 -0
- adcp/types/generated_poc/media_buy/package_request.py +63 -0
- adcp/types/generated_poc/media_buy/provide_performance_feedback_request.py +125 -0
- adcp/types/generated_poc/media_buy/provide_performance_feedback_response.py +53 -0
- adcp/types/generated_poc/media_buy/sync_creatives_request.py +63 -0
- adcp/types/generated_poc/media_buy/sync_creatives_response.py +105 -0
- adcp/types/generated_poc/media_buy/update_media_buy_request.py +195 -0
- adcp/types/generated_poc/media_buy/update_media_buy_response.py +55 -0
- adcp/types/generated_poc/pricing_options/__init__.py +3 -0
- adcp/types/generated_poc/pricing_options/cpc_option.py +43 -0
- adcp/types/generated_poc/pricing_options/cpcv_option.py +45 -0
- adcp/types/generated_poc/pricing_options/cpm_auction_option.py +58 -0
- adcp/types/generated_poc/pricing_options/cpm_fixed_option.py +43 -0
- adcp/types/generated_poc/pricing_options/cpp_option.py +64 -0
- adcp/types/generated_poc/pricing_options/cpv_option.py +77 -0
- adcp/types/generated_poc/pricing_options/flat_rate_option.py +93 -0
- adcp/types/generated_poc/pricing_options/vcpm_auction_option.py +61 -0
- adcp/types/generated_poc/pricing_options/vcpm_fixed_option.py +47 -0
- adcp/types/generated_poc/protocols/__init__.py +3 -0
- adcp/types/generated_poc/protocols/adcp_extension.py +37 -0
- adcp/types/generated_poc/signals/__init__.py +3 -0
- adcp/types/generated_poc/signals/activate_signal_request.py +32 -0
- adcp/types/generated_poc/signals/activate_signal_response.py +51 -0
- adcp/types/generated_poc/signals/get_signals_request.py +53 -0
- adcp/types/generated_poc/signals/get_signals_response.py +59 -0
- adcp/utils/__init__.py +7 -0
- adcp/utils/operation_id.py +15 -0
- adcp/utils/preview_cache.py +491 -0
- adcp/utils/response_parser.py +171 -0
- adcp/validation.py +172 -0
- adcp-2.12.0.data/data/ADCP_VERSION +1 -0
- adcp-2.12.0.dist-info/METADATA +992 -0
- adcp-2.12.0.dist-info/RECORD +176 -0
- adcp-2.12.0.dist-info/WHEEL +5 -0
- adcp-2.12.0.dist-info/entry_points.txt +2 -0
- adcp-2.12.0.dist-info/licenses/LICENSE +17 -0
- adcp-2.12.0.dist-info/top_level.txt +1 -0
adcp/types/__init__.py
ADDED
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
"""AdCP Type System.
|
|
2
|
+
|
|
3
|
+
All AdCP types exported from a single location.
|
|
4
|
+
Users should import from here or directly from adcp.
|
|
5
|
+
|
|
6
|
+
Examples:
|
|
7
|
+
from adcp.types import Product, CreativeFilters
|
|
8
|
+
from adcp import Product, CreativeFilters
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
# Also make submodules available for advanced use
|
|
14
|
+
from adcp.types import _generated as generated # noqa: F401
|
|
15
|
+
from adcp.types import aliases # noqa: F401
|
|
16
|
+
|
|
17
|
+
# Import all types from generated code
|
|
18
|
+
from adcp.types._generated import (
|
|
19
|
+
# Core request/response types
|
|
20
|
+
ActivateSignalRequest,
|
|
21
|
+
ActivateSignalResponse,
|
|
22
|
+
AggregatedTotals,
|
|
23
|
+
# Assets
|
|
24
|
+
Asset,
|
|
25
|
+
AssetContentType,
|
|
26
|
+
AssetSelectors,
|
|
27
|
+
AssetsRequired,
|
|
28
|
+
AssignedPackage,
|
|
29
|
+
Assignments,
|
|
30
|
+
AudioAsset,
|
|
31
|
+
Authentication,
|
|
32
|
+
AuthenticationScheme,
|
|
33
|
+
AuthorizedAgents,
|
|
34
|
+
AuthorizedSalesAgents,
|
|
35
|
+
AvailableMetric,
|
|
36
|
+
BrandManifest,
|
|
37
|
+
BuildCreativeRequest,
|
|
38
|
+
BuildCreativeResponse,
|
|
39
|
+
ByPackageItem,
|
|
40
|
+
CoBrandingRequirement,
|
|
41
|
+
Colors,
|
|
42
|
+
Contact,
|
|
43
|
+
Country,
|
|
44
|
+
# Pricing options
|
|
45
|
+
CpcPricingOption,
|
|
46
|
+
CpcvPricingOption,
|
|
47
|
+
CpmAuctionPricingOption,
|
|
48
|
+
CpmFixedRatePricingOption,
|
|
49
|
+
CppPricingOption,
|
|
50
|
+
CpvPricingOption,
|
|
51
|
+
CreateMediaBuyRequest,
|
|
52
|
+
CreateMediaBuyResponse,
|
|
53
|
+
Creative,
|
|
54
|
+
CreativeAction,
|
|
55
|
+
CreativeAgent,
|
|
56
|
+
CreativeAgentCapability,
|
|
57
|
+
CreativeAsset,
|
|
58
|
+
CreativeAssignment,
|
|
59
|
+
CreativeFilters,
|
|
60
|
+
CreativeManifest,
|
|
61
|
+
CreativePolicy,
|
|
62
|
+
# Enums and constants
|
|
63
|
+
CreativeStatus,
|
|
64
|
+
CssAsset,
|
|
65
|
+
DaastTrackingEvent,
|
|
66
|
+
DaastVersion,
|
|
67
|
+
DailyBreakdownItem,
|
|
68
|
+
DeliverTo,
|
|
69
|
+
DeliveryMeasurement,
|
|
70
|
+
DeliveryMetrics,
|
|
71
|
+
DeliveryType,
|
|
72
|
+
DimensionUnit,
|
|
73
|
+
Disclaimer,
|
|
74
|
+
DoohMetrics,
|
|
75
|
+
Embedding,
|
|
76
|
+
Error,
|
|
77
|
+
FeedbackSource,
|
|
78
|
+
FieldModel,
|
|
79
|
+
FlatRatePricingOption,
|
|
80
|
+
Fonts,
|
|
81
|
+
Format,
|
|
82
|
+
FormatCard,
|
|
83
|
+
FormatCardDetailed,
|
|
84
|
+
FormatCategory,
|
|
85
|
+
FormatId,
|
|
86
|
+
FormatIdParameter,
|
|
87
|
+
FrequencyCap,
|
|
88
|
+
FrequencyCapScope,
|
|
89
|
+
GeoCountryAnyOfItem,
|
|
90
|
+
GetMediaBuyDeliveryRequest,
|
|
91
|
+
GetMediaBuyDeliveryResponse,
|
|
92
|
+
GetProductsRequest,
|
|
93
|
+
GetProductsResponse,
|
|
94
|
+
GetSignalsRequest,
|
|
95
|
+
GetSignalsResponse,
|
|
96
|
+
HtmlAsset,
|
|
97
|
+
HttpMethod,
|
|
98
|
+
Identifier,
|
|
99
|
+
ImageAsset,
|
|
100
|
+
Input,
|
|
101
|
+
JavascriptAsset,
|
|
102
|
+
JavascriptModuleType,
|
|
103
|
+
LandingPageRequirement,
|
|
104
|
+
ListAuthorizedPropertiesRequest,
|
|
105
|
+
ListAuthorizedPropertiesResponse,
|
|
106
|
+
ListCreativeFormatsRequest,
|
|
107
|
+
ListCreativeFormatsResponse,
|
|
108
|
+
ListCreativesRequest,
|
|
109
|
+
ListCreativesResponse,
|
|
110
|
+
Logo,
|
|
111
|
+
MarkdownFlavor,
|
|
112
|
+
Measurement,
|
|
113
|
+
MeasurementPeriod,
|
|
114
|
+
MediaBuy,
|
|
115
|
+
MediaBuyDelivery,
|
|
116
|
+
MediaBuyStatus,
|
|
117
|
+
Metadata,
|
|
118
|
+
MetricType,
|
|
119
|
+
NotificationType,
|
|
120
|
+
Offering,
|
|
121
|
+
Pacing,
|
|
122
|
+
PackageRequest,
|
|
123
|
+
Packages,
|
|
124
|
+
Pagination,
|
|
125
|
+
Parameters,
|
|
126
|
+
Performance,
|
|
127
|
+
PerformanceFeedback,
|
|
128
|
+
Placement,
|
|
129
|
+
Preview,
|
|
130
|
+
PreviewCreativeRequest,
|
|
131
|
+
PreviewCreativeResponse,
|
|
132
|
+
PreviewOutputFormat,
|
|
133
|
+
PreviewRender,
|
|
134
|
+
PriceGuidance,
|
|
135
|
+
Pricing,
|
|
136
|
+
PricingModel,
|
|
137
|
+
PrimaryCountry,
|
|
138
|
+
Product,
|
|
139
|
+
ProductCard,
|
|
140
|
+
ProductCardDetailed,
|
|
141
|
+
ProductCatalog,
|
|
142
|
+
ProductFilters,
|
|
143
|
+
Progress,
|
|
144
|
+
PromotedOfferings,
|
|
145
|
+
PromotedProducts,
|
|
146
|
+
Property,
|
|
147
|
+
PropertyIdentifierTypes,
|
|
148
|
+
PropertyType,
|
|
149
|
+
ProtocolEnvelope,
|
|
150
|
+
ProtocolResponse,
|
|
151
|
+
ProvidePerformanceFeedbackRequest,
|
|
152
|
+
ProvidePerformanceFeedbackResponse,
|
|
153
|
+
PublisherDomain,
|
|
154
|
+
PublisherIdentifierTypes,
|
|
155
|
+
PushNotificationConfig,
|
|
156
|
+
QuartileData,
|
|
157
|
+
QuerySummary,
|
|
158
|
+
ReportingCapabilities,
|
|
159
|
+
ReportingFrequency,
|
|
160
|
+
ReportingPeriod,
|
|
161
|
+
ReportingWebhook,
|
|
162
|
+
Request,
|
|
163
|
+
RequestedMetric,
|
|
164
|
+
Response,
|
|
165
|
+
Responsive,
|
|
166
|
+
Results,
|
|
167
|
+
Security,
|
|
168
|
+
Signal,
|
|
169
|
+
SignalCatalogType,
|
|
170
|
+
SignalFilters,
|
|
171
|
+
Sort,
|
|
172
|
+
SortApplied,
|
|
173
|
+
StandardFormatIds,
|
|
174
|
+
Status,
|
|
175
|
+
StatusSummary,
|
|
176
|
+
SyncCreativesRequest,
|
|
177
|
+
SyncCreativesResponse,
|
|
178
|
+
Tags,
|
|
179
|
+
TargetingOverlay,
|
|
180
|
+
TaskType,
|
|
181
|
+
TextAsset,
|
|
182
|
+
Totals,
|
|
183
|
+
UpdateFrequency,
|
|
184
|
+
UpdateMediaBuyRequest,
|
|
185
|
+
UpdateMediaBuyResponse,
|
|
186
|
+
UrlAsset,
|
|
187
|
+
UrlAssetType,
|
|
188
|
+
ValidationMode,
|
|
189
|
+
VastTrackingEvent,
|
|
190
|
+
VastVersion,
|
|
191
|
+
VcpmAuctionPricingOption,
|
|
192
|
+
VcpmFixedRatePricingOption,
|
|
193
|
+
VenueBreakdownItem,
|
|
194
|
+
VideoAsset,
|
|
195
|
+
ViewThreshold,
|
|
196
|
+
WebhookAsset,
|
|
197
|
+
WebhookPayload,
|
|
198
|
+
WebhookResponseType,
|
|
199
|
+
)
|
|
200
|
+
from adcp.types._generated import (
|
|
201
|
+
TaskStatus as GeneratedTaskStatus,
|
|
202
|
+
)
|
|
203
|
+
from adcp.types._generated import (
|
|
204
|
+
_PackageFromPackage as Package,
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
# Import semantic aliases for discriminated unions
|
|
208
|
+
from adcp.types.aliases import (
|
|
209
|
+
# Activation responses
|
|
210
|
+
ActivateSignalErrorResponse,
|
|
211
|
+
ActivateSignalSuccessResponse,
|
|
212
|
+
# Agent deployment aliases
|
|
213
|
+
AgentDeployment,
|
|
214
|
+
AgentDestination,
|
|
215
|
+
# Authorized agent variants
|
|
216
|
+
AuthorizedAgent,
|
|
217
|
+
AuthorizedAgentsByInlineProperties,
|
|
218
|
+
AuthorizedAgentsByPropertyId,
|
|
219
|
+
AuthorizedAgentsByPropertyTag,
|
|
220
|
+
AuthorizedAgentsByPublisherProperties,
|
|
221
|
+
# Preview/render aliases
|
|
222
|
+
BothPreviewRender,
|
|
223
|
+
# Build creative responses
|
|
224
|
+
BuildCreativeErrorResponse,
|
|
225
|
+
BuildCreativeSuccessResponse,
|
|
226
|
+
# Create media buy responses
|
|
227
|
+
CreateMediaBuyErrorResponse,
|
|
228
|
+
CreateMediaBuySuccessResponse,
|
|
229
|
+
# Deployment union
|
|
230
|
+
Deployment,
|
|
231
|
+
# Destination union
|
|
232
|
+
Destination,
|
|
233
|
+
# Preview renders
|
|
234
|
+
HtmlPreviewRender,
|
|
235
|
+
# Asset aliases
|
|
236
|
+
InlineDaastAsset,
|
|
237
|
+
InlineVastAsset,
|
|
238
|
+
# SubAsset aliases
|
|
239
|
+
MediaSubAsset,
|
|
240
|
+
# Platform deployment
|
|
241
|
+
PlatformDeployment,
|
|
242
|
+
PlatformDestination,
|
|
243
|
+
# Preview requests
|
|
244
|
+
PreviewCreativeFormatRequest,
|
|
245
|
+
PreviewCreativeInteractiveResponse,
|
|
246
|
+
PreviewCreativeManifestRequest,
|
|
247
|
+
PreviewCreativeStaticResponse,
|
|
248
|
+
# Publisher property selectors
|
|
249
|
+
PropertyId,
|
|
250
|
+
PropertyIdActivationKey,
|
|
251
|
+
PropertyTag,
|
|
252
|
+
PropertyTagActivationKey,
|
|
253
|
+
ProvidePerformanceFeedbackErrorResponse,
|
|
254
|
+
ProvidePerformanceFeedbackSuccessResponse,
|
|
255
|
+
# Publisher properties variants
|
|
256
|
+
PublisherPropertiesAll,
|
|
257
|
+
PublisherPropertiesById,
|
|
258
|
+
PublisherPropertiesByTag,
|
|
259
|
+
# Sync responses
|
|
260
|
+
SyncCreativesErrorResponse,
|
|
261
|
+
SyncCreativesSuccessResponse,
|
|
262
|
+
# Text subassets
|
|
263
|
+
TextSubAsset,
|
|
264
|
+
# Update media buy variants
|
|
265
|
+
UpdateMediaBuyErrorResponse,
|
|
266
|
+
UpdateMediaBuyPackagesRequest,
|
|
267
|
+
UpdateMediaBuyPropertiesRequest,
|
|
268
|
+
UpdateMediaBuySuccessResponse,
|
|
269
|
+
# URL aliases
|
|
270
|
+
UrlDaastAsset,
|
|
271
|
+
UrlPreviewRender,
|
|
272
|
+
UrlVastAsset,
|
|
273
|
+
)
|
|
274
|
+
|
|
275
|
+
# Re-export core types (not in generated, but part of public API)
|
|
276
|
+
# Note: We don't import TaskStatus here to avoid shadowing GeneratedTaskStatus
|
|
277
|
+
# Users should import TaskStatus from adcp.types.core directly if they need the core enum
|
|
278
|
+
from adcp.types.core import AgentConfig, Protocol, TaskResult, WebhookMetadata
|
|
279
|
+
|
|
280
|
+
# Backward compatibility aliases
|
|
281
|
+
AssetType = AssetContentType # Use AssetContentType instead
|
|
282
|
+
|
|
283
|
+
# Schema renames from filter ref split (v1.0.0)
|
|
284
|
+
Action = CreativeAction
|
|
285
|
+
Capability = CreativeAgentCapability
|
|
286
|
+
CatalogType = SignalCatalogType
|
|
287
|
+
CoBranding = CoBrandingRequirement
|
|
288
|
+
FormatType = FormatCategory
|
|
289
|
+
LandingPage = LandingPageRequirement
|
|
290
|
+
Method = HttpMethod
|
|
291
|
+
ModuleType = JavascriptModuleType
|
|
292
|
+
TrackingEvent = VastTrackingEvent # Split into DaastTrackingEvent and VastTrackingEvent
|
|
293
|
+
Unit = DimensionUnit
|
|
294
|
+
OutputFormat = PreviewOutputFormat
|
|
295
|
+
ResponseType = WebhookResponseType
|
|
296
|
+
Scheme = AuthenticationScheme
|
|
297
|
+
SignalType = SignalCatalogType
|
|
298
|
+
UrlType = UrlAssetType
|
|
299
|
+
AvailableReportingFrequency = ReportingFrequency
|
|
300
|
+
|
|
301
|
+
__all__ = [
|
|
302
|
+
# Request/Response types
|
|
303
|
+
"ActivateSignalRequest",
|
|
304
|
+
"ActivateSignalResponse",
|
|
305
|
+
"CreativeAction",
|
|
306
|
+
"AggregatedTotals",
|
|
307
|
+
"BuildCreativeRequest",
|
|
308
|
+
"BuildCreativeResponse",
|
|
309
|
+
"ByPackageItem",
|
|
310
|
+
"CreateMediaBuyRequest",
|
|
311
|
+
"CreateMediaBuyResponse",
|
|
312
|
+
"DailyBreakdownItem",
|
|
313
|
+
"GetMediaBuyDeliveryRequest",
|
|
314
|
+
"GetMediaBuyDeliveryResponse",
|
|
315
|
+
"GetProductsRequest",
|
|
316
|
+
"GetProductsResponse",
|
|
317
|
+
"GetSignalsRequest",
|
|
318
|
+
"GetSignalsResponse",
|
|
319
|
+
"ListAuthorizedPropertiesRequest",
|
|
320
|
+
"ListAuthorizedPropertiesResponse",
|
|
321
|
+
"ListCreativeFormatsRequest",
|
|
322
|
+
"ListCreativeFormatsResponse",
|
|
323
|
+
"ListCreativesRequest",
|
|
324
|
+
"ListCreativesResponse",
|
|
325
|
+
"MediaBuyDelivery",
|
|
326
|
+
"PreviewCreativeRequest",
|
|
327
|
+
"PreviewCreativeResponse",
|
|
328
|
+
"Progress",
|
|
329
|
+
"ProtocolEnvelope",
|
|
330
|
+
"ProtocolResponse",
|
|
331
|
+
"ProvidePerformanceFeedbackRequest",
|
|
332
|
+
"ProvidePerformanceFeedbackResponse",
|
|
333
|
+
"QuerySummary",
|
|
334
|
+
"SortApplied",
|
|
335
|
+
"StatusSummary",
|
|
336
|
+
"SyncCreativesRequest",
|
|
337
|
+
"SyncCreativesResponse",
|
|
338
|
+
"Totals",
|
|
339
|
+
"UpdateMediaBuyRequest",
|
|
340
|
+
"UpdateMediaBuyResponse",
|
|
341
|
+
# Domain types
|
|
342
|
+
"Asset",
|
|
343
|
+
"AssetSelectors",
|
|
344
|
+
"AssetContentType",
|
|
345
|
+
"AssetType", # Deprecated
|
|
346
|
+
"FormatCategory",
|
|
347
|
+
"AssetsRequired",
|
|
348
|
+
"AssignedPackage",
|
|
349
|
+
"Assignments",
|
|
350
|
+
"BrandManifest",
|
|
351
|
+
"CreativeAgentCapability",
|
|
352
|
+
"CoBrandingRequirement",
|
|
353
|
+
"Colors",
|
|
354
|
+
"Contact",
|
|
355
|
+
"Creative",
|
|
356
|
+
"CreativeAgent",
|
|
357
|
+
"CreativeAsset",
|
|
358
|
+
"CreativeAssignment",
|
|
359
|
+
"CreativeFilters",
|
|
360
|
+
"CreativeManifest",
|
|
361
|
+
"CreativePolicy",
|
|
362
|
+
"DeliveryMeasurement",
|
|
363
|
+
"DeliveryMetrics",
|
|
364
|
+
"Disclaimer",
|
|
365
|
+
"DoohMetrics",
|
|
366
|
+
"Embedding",
|
|
367
|
+
"Error",
|
|
368
|
+
"FeedFormat",
|
|
369
|
+
"Fonts",
|
|
370
|
+
"Format",
|
|
371
|
+
"FormatCard",
|
|
372
|
+
"FormatCardDetailed",
|
|
373
|
+
"FormatId",
|
|
374
|
+
"FormatIdParameter",
|
|
375
|
+
"Identifier",
|
|
376
|
+
"Input",
|
|
377
|
+
"LandingPageRequirement",
|
|
378
|
+
"Logo",
|
|
379
|
+
"MediaBuy",
|
|
380
|
+
"Metadata",
|
|
381
|
+
"Offering",
|
|
382
|
+
"Package",
|
|
383
|
+
"PackageRequest",
|
|
384
|
+
"Packages",
|
|
385
|
+
"Parameters",
|
|
386
|
+
"Performance",
|
|
387
|
+
"PerformanceFeedback",
|
|
388
|
+
"Placement",
|
|
389
|
+
"Preview",
|
|
390
|
+
"PreviewRender",
|
|
391
|
+
"Pricing",
|
|
392
|
+
"Product",
|
|
393
|
+
"ProductCard",
|
|
394
|
+
"ProductCardDetailed",
|
|
395
|
+
"ProductCatalog",
|
|
396
|
+
"ProductFilters",
|
|
397
|
+
"PromotedOfferings",
|
|
398
|
+
"PromotedProducts",
|
|
399
|
+
"Property",
|
|
400
|
+
"QuartileData",
|
|
401
|
+
"Request",
|
|
402
|
+
"Response",
|
|
403
|
+
"Results",
|
|
404
|
+
"Signal",
|
|
405
|
+
"SignalFilters",
|
|
406
|
+
"Tags",
|
|
407
|
+
"TargetingOverlay",
|
|
408
|
+
"VenueBreakdownItem",
|
|
409
|
+
# Pricing types
|
|
410
|
+
"CpcPricingOption",
|
|
411
|
+
"CpcvPricingOption",
|
|
412
|
+
"CpmAuctionPricingOption",
|
|
413
|
+
"CpmFixedRatePricingOption",
|
|
414
|
+
"CppPricingOption",
|
|
415
|
+
"CpvPricingOption",
|
|
416
|
+
"FlatRatePricingOption",
|
|
417
|
+
"PriceGuidance",
|
|
418
|
+
"VcpmAuctionPricingOption",
|
|
419
|
+
"VcpmFixedRatePricingOption",
|
|
420
|
+
# Status enums & simple types
|
|
421
|
+
"SignalCatalogType",
|
|
422
|
+
"Country",
|
|
423
|
+
"CreativeStatus",
|
|
424
|
+
"DaastVersion",
|
|
425
|
+
"DeliverTo",
|
|
426
|
+
"DeliveryType",
|
|
427
|
+
"Direction",
|
|
428
|
+
"FeedbackSource",
|
|
429
|
+
"FieldModel",
|
|
430
|
+
"FrequencyCap",
|
|
431
|
+
"FrequencyCapScope",
|
|
432
|
+
"GeoCountryAnyOfItem",
|
|
433
|
+
"MarkdownFlavor",
|
|
434
|
+
"Measurement",
|
|
435
|
+
"MeasurementPeriod",
|
|
436
|
+
"MediaBuyStatus",
|
|
437
|
+
"HttpMethod",
|
|
438
|
+
"MetricType",
|
|
439
|
+
"JavascriptModuleType",
|
|
440
|
+
"NotificationType",
|
|
441
|
+
"PreviewOutputFormat",
|
|
442
|
+
"Pacing",
|
|
443
|
+
"Pagination",
|
|
444
|
+
"PricingModel",
|
|
445
|
+
"PrimaryCountry",
|
|
446
|
+
"PropertyIdentifierTypes",
|
|
447
|
+
"PropertyType",
|
|
448
|
+
"PublisherDomain",
|
|
449
|
+
"PublisherIdentifierTypes",
|
|
450
|
+
"WebhookResponseType",
|
|
451
|
+
"Responsive",
|
|
452
|
+
"Sort",
|
|
453
|
+
"StandardFormatIds",
|
|
454
|
+
"Status",
|
|
455
|
+
"TaskType",
|
|
456
|
+
"DaastTrackingEvent",
|
|
457
|
+
"VastTrackingEvent",
|
|
458
|
+
"DimensionUnit",
|
|
459
|
+
"UpdateFrequency",
|
|
460
|
+
"UrlAssetType",
|
|
461
|
+
"ValidationMode",
|
|
462
|
+
"VastVersion",
|
|
463
|
+
"ViewThreshold",
|
|
464
|
+
# Configuration & infrastructure types
|
|
465
|
+
"Authentication",
|
|
466
|
+
"AuthorizedAgents",
|
|
467
|
+
"AuthorizedSalesAgents",
|
|
468
|
+
"AvailableMetric",
|
|
469
|
+
"PushNotificationConfig",
|
|
470
|
+
"ReportingCapabilities",
|
|
471
|
+
"ReportingFrequency",
|
|
472
|
+
"ReportingPeriod",
|
|
473
|
+
"ReportingWebhook",
|
|
474
|
+
"RequestedMetric",
|
|
475
|
+
"AuthenticationScheme",
|
|
476
|
+
"Security",
|
|
477
|
+
# Assets
|
|
478
|
+
"AudioAsset",
|
|
479
|
+
"CssAsset",
|
|
480
|
+
"HtmlAsset",
|
|
481
|
+
"ImageAsset",
|
|
482
|
+
"JavascriptAsset",
|
|
483
|
+
"TextAsset",
|
|
484
|
+
"UrlAsset",
|
|
485
|
+
"VideoAsset",
|
|
486
|
+
"WebhookAsset",
|
|
487
|
+
"WebhookPayload",
|
|
488
|
+
# Core types
|
|
489
|
+
"AgentConfig",
|
|
490
|
+
"Protocol",
|
|
491
|
+
"TaskResult",
|
|
492
|
+
"WebhookMetadata",
|
|
493
|
+
# Semantic aliases for discriminated unions
|
|
494
|
+
"ActivateSignalErrorResponse",
|
|
495
|
+
"ActivateSignalSuccessResponse",
|
|
496
|
+
"AgentDeployment",
|
|
497
|
+
"AgentDestination",
|
|
498
|
+
"AuthorizedAgent",
|
|
499
|
+
"AuthorizedAgentsByInlineProperties",
|
|
500
|
+
"AuthorizedAgentsByPropertyId",
|
|
501
|
+
"AuthorizedAgentsByPropertyTag",
|
|
502
|
+
"AuthorizedAgentsByPublisherProperties",
|
|
503
|
+
"BothPreviewRender",
|
|
504
|
+
"BuildCreativeErrorResponse",
|
|
505
|
+
"BuildCreativeSuccessResponse",
|
|
506
|
+
"CreateMediaBuyErrorResponse",
|
|
507
|
+
"CreateMediaBuySuccessResponse",
|
|
508
|
+
"Deployment",
|
|
509
|
+
"Destination",
|
|
510
|
+
"HtmlPreviewRender",
|
|
511
|
+
"InlineDaastAsset",
|
|
512
|
+
"InlineVastAsset",
|
|
513
|
+
"MediaSubAsset",
|
|
514
|
+
"PlatformDeployment",
|
|
515
|
+
"PlatformDestination",
|
|
516
|
+
"PreviewCreativeFormatRequest",
|
|
517
|
+
"PreviewCreativeInteractiveResponse",
|
|
518
|
+
"PreviewCreativeManifestRequest",
|
|
519
|
+
"PreviewCreativeStaticResponse",
|
|
520
|
+
"PropertyId",
|
|
521
|
+
"PropertyIdActivationKey",
|
|
522
|
+
"PropertyTag",
|
|
523
|
+
"PropertyTagActivationKey",
|
|
524
|
+
"ProvidePerformanceFeedbackErrorResponse",
|
|
525
|
+
"ProvidePerformanceFeedbackSuccessResponse",
|
|
526
|
+
"PublisherPropertiesAll",
|
|
527
|
+
"PublisherPropertiesById",
|
|
528
|
+
"PublisherPropertiesByTag",
|
|
529
|
+
"SyncCreativesErrorResponse",
|
|
530
|
+
"SyncCreativesSuccessResponse",
|
|
531
|
+
"TextSubAsset",
|
|
532
|
+
"UpdateMediaBuyErrorResponse",
|
|
533
|
+
"UpdateMediaBuyPackagesRequest",
|
|
534
|
+
"UpdateMediaBuyPropertiesRequest",
|
|
535
|
+
"UpdateMediaBuySuccessResponse",
|
|
536
|
+
"UrlDaastAsset",
|
|
537
|
+
"UrlPreviewRender",
|
|
538
|
+
"UrlVastAsset",
|
|
539
|
+
# Internal/special exports
|
|
540
|
+
"GeneratedTaskStatus",
|
|
541
|
+
# Backward compatibility aliases (deprecated)
|
|
542
|
+
"Action",
|
|
543
|
+
"Capability",
|
|
544
|
+
"CatalogType",
|
|
545
|
+
"CoBranding",
|
|
546
|
+
"FormatType",
|
|
547
|
+
"LandingPage",
|
|
548
|
+
"Method",
|
|
549
|
+
"ModuleType",
|
|
550
|
+
"TrackingEvent",
|
|
551
|
+
"Unit",
|
|
552
|
+
"OutputFormat",
|
|
553
|
+
"ResponseType",
|
|
554
|
+
"Scheme",
|
|
555
|
+
"SignalType",
|
|
556
|
+
"UrlType",
|
|
557
|
+
"AvailableReportingFrequency",
|
|
558
|
+
# Submodules for advanced use:
|
|
559
|
+
"generated",
|
|
560
|
+
"aliases",
|
|
561
|
+
]
|