adcp 2.19.0__py3-none-any.whl → 3.0.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/ADCP_VERSION +1 -1
- adcp/__init__.py +6 -14
- adcp/__main__.py +94 -51
- adcp/adagents.py +91 -19
- adcp/client.py +865 -0
- adcp/protocols/a2a.py +84 -0
- adcp/protocols/base.py +101 -0
- adcp/protocols/mcp.py +84 -0
- adcp/server/__init__.py +49 -0
- adcp/server/base.py +368 -0
- adcp/server/content_standards.py +561 -0
- adcp/server/governance.py +491 -0
- adcp/server/mcp_tools.py +471 -0
- adcp/server/proposal.py +334 -0
- adcp/server/sponsored_intelligence.py +444 -0
- adcp/types/__init__.py +111 -23
- adcp/types/_ergonomic.py +35 -14
- adcp/types/_generated.py +346 -52
- adcp/types/aliases.py +13 -20
- adcp/types/base.py +1 -1
- adcp/types/generated_poc/adagents.py +196 -189
- adcp/types/generated_poc/content_standards/__init__.py +3 -0
- adcp/types/generated_poc/content_standards/artifact.py +208 -0
- adcp/types/generated_poc/content_standards/artifact_webhook_payload.py +64 -0
- adcp/types/generated_poc/content_standards/calibrate_content_request.py +17 -0
- adcp/types/generated_poc/content_standards/calibrate_content_response.py +74 -0
- adcp/types/generated_poc/content_standards/content_standards.py +66 -0
- adcp/types/generated_poc/content_standards/create_content_standards_request.py +97 -0
- adcp/types/generated_poc/content_standards/create_content_standards_response.py +52 -0
- adcp/types/generated_poc/content_standards/get_content_standards_request.py +21 -0
- adcp/types/generated_poc/content_standards/get_content_standards_response.py +43 -0
- adcp/types/generated_poc/content_standards/get_media_buy_artifacts_request.py +64 -0
- adcp/types/generated_poc/content_standards/get_media_buy_artifacts_response.py +117 -0
- adcp/types/generated_poc/content_standards/list_content_standards_request.py +31 -0
- adcp/types/generated_poc/content_standards/list_content_standards_response.py +48 -0
- adcp/types/generated_poc/content_standards/update_content_standards_request.py +101 -0
- adcp/types/generated_poc/content_standards/update_content_standards_response.py +34 -0
- adcp/types/generated_poc/content_standards/validate_content_delivery_request.py +59 -0
- adcp/types/generated_poc/content_standards/validate_content_delivery_response.py +85 -0
- adcp/types/generated_poc/core/activation_key.py +9 -9
- adcp/types/generated_poc/core/assets/audio_asset.py +6 -6
- adcp/types/generated_poc/core/assets/css_asset.py +3 -3
- adcp/types/generated_poc/core/assets/daast_asset.py +19 -19
- adcp/types/generated_poc/core/assets/html_asset.py +3 -3
- adcp/types/generated_poc/core/assets/image_asset.py +7 -7
- adcp/types/generated_poc/core/assets/javascript_asset.py +4 -4
- adcp/types/generated_poc/core/assets/text_asset.py +3 -3
- adcp/types/generated_poc/core/assets/url_asset.py +4 -4
- adcp/types/generated_poc/core/assets/vast_asset.py +19 -19
- adcp/types/generated_poc/core/assets/video_asset.py +8 -8
- adcp/types/generated_poc/core/assets/webhook_asset.py +10 -10
- adcp/types/generated_poc/core/async_response_data.py +3 -3
- adcp/types/generated_poc/core/brand_manifest.py +122 -59
- adcp/types/generated_poc/core/brand_manifest_ref.py +10 -10
- adcp/types/generated_poc/core/context.py +2 -2
- adcp/types/generated_poc/core/creative_asset.py +20 -19
- adcp/types/generated_poc/core/creative_assignment.py +4 -4
- adcp/types/generated_poc/core/creative_filters.py +18 -28
- adcp/types/generated_poc/core/creative_manifest.py +3 -3
- adcp/types/generated_poc/core/creative_policy.py +5 -5
- adcp/types/generated_poc/core/delivery_metrics.py +33 -33
- adcp/types/generated_poc/core/deployment.py +21 -21
- adcp/types/generated_poc/core/destination.py +12 -12
- adcp/types/generated_poc/core/error.py +7 -7
- adcp/types/generated_poc/core/ext.py +2 -2
- adcp/types/generated_poc/core/format.py +66 -66
- adcp/types/generated_poc/core/format_id.py +6 -6
- adcp/types/generated_poc/core/frequency_cap.py +3 -3
- adcp/types/generated_poc/core/identifier.py +3 -3
- adcp/types/generated_poc/core/mcp_webhook_payload.py +11 -11
- adcp/types/generated_poc/core/measurement.py +9 -9
- adcp/types/generated_poc/core/media_buy.py +8 -8
- adcp/types/generated_poc/core/media_buy_features.py +29 -0
- adcp/types/generated_poc/core/offering.py +80 -0
- adcp/types/generated_poc/core/package.py +9 -9
- adcp/types/generated_poc/core/performance_feedback.py +19 -19
- adcp/types/generated_poc/core/placement.py +5 -5
- adcp/types/generated_poc/core/pricing_option.py +9 -15
- adcp/types/generated_poc/core/product.py +21 -21
- adcp/types/generated_poc/core/product_allocation.py +48 -0
- adcp/types/generated_poc/core/product_filters.py +89 -24
- adcp/types/generated_poc/core/promoted_offerings.py +29 -38
- adcp/types/generated_poc/core/promoted_products.py +3 -3
- adcp/types/generated_poc/core/property.py +10 -10
- adcp/types/generated_poc/core/property_id.py +5 -5
- adcp/types/generated_poc/core/property_list_ref.py +5 -5
- adcp/types/generated_poc/core/property_tag.py +5 -5
- adcp/types/generated_poc/core/proposal.py +64 -0
- adcp/types/generated_poc/core/protocol_envelope.py +9 -9
- adcp/types/generated_poc/core/publisher_property_selector.py +14 -14
- adcp/types/generated_poc/core/push_notification_config.py +6 -6
- adcp/types/generated_poc/core/reporting_capabilities.py +9 -9
- adcp/types/generated_poc/core/reporting_webhook.py +70 -0
- adcp/types/generated_poc/core/response.py +5 -5
- adcp/types/generated_poc/core/signal_filters.py +6 -6
- adcp/types/generated_poc/core/start_timing.py +4 -4
- adcp/types/generated_poc/core/sub_asset.py +15 -15
- adcp/types/generated_poc/core/targeting.py +59 -18
- adcp/types/generated_poc/creative/list_creative_formats_request.py +21 -21
- adcp/types/generated_poc/creative/list_creative_formats_response.py +6 -6
- adcp/types/generated_poc/creative/preview_creative_request.py +25 -25
- adcp/types/generated_poc/creative/preview_creative_response.py +29 -29
- adcp/types/generated_poc/creative/preview_render.py +26 -26
- adcp/types/generated_poc/enums/adcp_domain.py +5 -5
- adcp/types/generated_poc/enums/asset_content_type.py +14 -14
- adcp/types/generated_poc/enums/auth_scheme.py +3 -3
- adcp/types/generated_poc/enums/available_metric.py +10 -10
- adcp/types/generated_poc/enums/channels.py +21 -11
- adcp/types/generated_poc/enums/co_branding_requirement.py +4 -4
- adcp/types/generated_poc/enums/creative_action.py +6 -6
- adcp/types/generated_poc/enums/creative_agent_capability.py +5 -5
- adcp/types/generated_poc/enums/creative_sort_field.py +7 -7
- adcp/types/generated_poc/enums/creative_status.py +6 -5
- adcp/types/generated_poc/enums/daast_tracking_event.py +12 -12
- adcp/types/generated_poc/enums/daast_version.py +3 -3
- adcp/types/generated_poc/enums/delivery_type.py +3 -3
- adcp/types/generated_poc/enums/dimension_unit.py +5 -5
- adcp/types/generated_poc/enums/feed_format.py +4 -4
- adcp/types/generated_poc/enums/feedback_source.py +5 -5
- adcp/types/generated_poc/enums/format_category.py +8 -8
- adcp/types/generated_poc/enums/format_id_parameter.py +3 -3
- adcp/types/generated_poc/enums/frequency_cap_scope.py +4 -4
- adcp/types/generated_poc/enums/geo_level.py +14 -0
- adcp/types/generated_poc/enums/history_entry_type.py +3 -3
- adcp/types/generated_poc/enums/http_method.py +3 -3
- adcp/types/generated_poc/enums/identifier_types.py +20 -20
- adcp/types/generated_poc/enums/javascript_module_type.py +4 -4
- adcp/types/generated_poc/enums/landing_page_requirement.py +4 -4
- adcp/types/generated_poc/enums/markdown_flavor.py +3 -3
- adcp/types/generated_poc/enums/media_buy_status.py +5 -5
- adcp/types/generated_poc/enums/metric_type.py +9 -9
- adcp/types/generated_poc/enums/metro_system.py +15 -0
- adcp/types/generated_poc/enums/notification_type.py +5 -5
- adcp/types/generated_poc/enums/pacing.py +4 -4
- adcp/types/generated_poc/enums/postal_system.py +19 -0
- adcp/types/generated_poc/enums/preview_output_format.py +3 -3
- adcp/types/generated_poc/enums/pricing_model.py +8 -8
- adcp/types/generated_poc/enums/property_type.py +9 -8
- adcp/types/generated_poc/enums/publisher_identifier_types.py +6 -6
- adcp/types/generated_poc/enums/reporting_frequency.py +4 -4
- adcp/types/generated_poc/enums/signal_catalog_type.py +4 -4
- adcp/types/generated_poc/enums/sort_direction.py +3 -3
- adcp/types/generated_poc/enums/task_status.py +10 -10
- adcp/types/generated_poc/enums/task_type.py +12 -12
- adcp/types/generated_poc/enums/update_frequency.py +5 -5
- adcp/types/generated_poc/enums/url_asset_type.py +4 -4
- adcp/types/generated_poc/enums/validation_mode.py +3 -3
- adcp/types/generated_poc/enums/vast_tracking_event.py +17 -17
- adcp/types/generated_poc/enums/vast_version.py +6 -6
- adcp/types/generated_poc/enums/webhook_response_type.py +5 -5
- adcp/types/generated_poc/enums/webhook_security_method.py +4 -4
- adcp/types/generated_poc/extensions/extension_meta.py +20 -12
- adcp/types/generated_poc/media_buy/build_creative_request.py +5 -5
- adcp/types/generated_poc/media_buy/build_creative_response.py +7 -7
- adcp/types/generated_poc/media_buy/create_media_buy_async_response_input_required.py +6 -6
- adcp/types/generated_poc/media_buy/create_media_buy_async_response_submitted.py +2 -2
- adcp/types/generated_poc/media_buy/create_media_buy_async_response_working.py +6 -6
- adcp/types/generated_poc/media_buy/create_media_buy_request.py +65 -37
- adcp/types/generated_poc/media_buy/create_media_buy_response.py +8 -8
- adcp/types/generated_poc/media_buy/get_media_buy_delivery_request.py +9 -9
- adcp/types/generated_poc/media_buy/get_media_buy_delivery_response.py +52 -52
- adcp/types/generated_poc/media_buy/get_products_async_response_input_required.py +7 -7
- adcp/types/generated_poc/media_buy/get_products_async_response_submitted.py +3 -3
- adcp/types/generated_poc/media_buy/get_products_async_response_working.py +5 -5
- adcp/types/generated_poc/media_buy/get_products_request.py +14 -5
- adcp/types/generated_poc/media_buy/get_products_response.py +12 -6
- adcp/types/generated_poc/media_buy/list_authorized_properties_request.py +4 -4
- adcp/types/generated_poc/media_buy/list_authorized_properties_response.py +9 -9
- adcp/types/generated_poc/media_buy/list_creative_formats_request.py +10 -10
- adcp/types/generated_poc/media_buy/list_creative_formats_response.py +6 -6
- adcp/types/generated_poc/media_buy/list_creatives_request.py +24 -24
- adcp/types/generated_poc/media_buy/list_creatives_response.py +54 -57
- adcp/types/generated_poc/media_buy/package_request.py +12 -12
- adcp/types/generated_poc/media_buy/package_update.py +119 -0
- adcp/types/generated_poc/media_buy/provide_performance_feedback_request.py +20 -20
- adcp/types/generated_poc/media_buy/provide_performance_feedback_response.py +7 -7
- adcp/types/generated_poc/media_buy/sync_creatives_async_response_input_required.py +6 -6
- adcp/types/generated_poc/media_buy/sync_creatives_async_response_submitted.py +2 -2
- adcp/types/generated_poc/media_buy/sync_creatives_async_response_working.py +8 -8
- adcp/types/generated_poc/media_buy/sync_creatives_request.py +8 -8
- adcp/types/generated_poc/media_buy/sync_creatives_response.py +16 -16
- adcp/types/generated_poc/media_buy/update_media_buy_async_response_input_required.py +5 -5
- adcp/types/generated_poc/media_buy/update_media_buy_async_response_submitted.py +2 -2
- adcp/types/generated_poc/media_buy/update_media_buy_async_response_working.py +6 -6
- adcp/types/generated_poc/media_buy/update_media_buy_request.py +28 -124
- adcp/types/generated_poc/media_buy/update_media_buy_response.py +8 -8
- adcp/types/generated_poc/pricing_options/cpc_option.py +40 -15
- adcp/types/generated_poc/pricing_options/cpcv_option.py +41 -16
- adcp/types/generated_poc/pricing_options/cpm_option.py +62 -0
- adcp/types/generated_poc/pricing_options/cpp_option.py +46 -23
- adcp/types/generated_poc/pricing_options/cpv_option.py +45 -26
- adcp/types/generated_poc/pricing_options/flat_rate_option.py +53 -47
- adcp/types/generated_poc/pricing_options/vcpm_option.py +70 -0
- adcp/types/generated_poc/property/base_property_source.py +16 -16
- adcp/types/generated_poc/property/create_property_list_request.py +5 -5
- adcp/types/generated_poc/property/create_property_list_response.py +4 -4
- adcp/types/generated_poc/property/delete_property_list_request.py +3 -3
- adcp/types/generated_poc/property/delete_property_list_response.py +4 -4
- adcp/types/generated_poc/property/feature_requirement.py +8 -8
- adcp/types/generated_poc/property/get_property_list_request.py +6 -6
- adcp/types/generated_poc/property/get_property_list_response.py +12 -12
- adcp/types/generated_poc/property/list_property_lists_request.py +6 -6
- adcp/types/generated_poc/property/list_property_lists_response.py +9 -9
- adcp/types/generated_poc/property/property_error.py +11 -11
- adcp/types/generated_poc/property/property_feature.py +5 -5
- adcp/types/generated_poc/property/property_feature_definition.py +19 -19
- adcp/types/generated_poc/property/property_list.py +12 -12
- adcp/types/generated_poc/property/property_list_changed_webhook.py +12 -12
- adcp/types/generated_poc/property/property_list_filters.py +9 -9
- adcp/types/generated_poc/property/update_property_list_request.py +9 -9
- adcp/types/generated_poc/property/update_property_list_response.py +3 -3
- adcp/types/generated_poc/protocol/__init__.py +3 -0
- adcp/types/generated_poc/protocol/get_adcp_capabilities_request.py +34 -0
- adcp/types/generated_poc/protocol/get_adcp_capabilities_response.py +353 -0
- adcp/types/generated_poc/protocols/adcp_extension.py +14 -17
- adcp/types/generated_poc/signals/activate_signal_request.py +4 -4
- adcp/types/generated_poc/signals/activate_signal_response.py +7 -7
- adcp/types/generated_poc/signals/get_signals_request.py +9 -9
- adcp/types/generated_poc/signals/get_signals_response.py +16 -16
- adcp/types/generated_poc/sponsored_intelligence/__init__.py +3 -0
- adcp/types/generated_poc/sponsored_intelligence/si_capabilities.py +102 -0
- adcp/types/generated_poc/sponsored_intelligence/si_get_offering_request.py +34 -0
- adcp/types/generated_poc/sponsored_intelligence/si_get_offering_response.py +100 -0
- adcp/types/generated_poc/sponsored_intelligence/si_identity.py +78 -0
- adcp/types/generated_poc/sponsored_intelligence/si_initiate_session_request.py +46 -0
- adcp/types/generated_poc/sponsored_intelligence/si_initiate_session_response.py +44 -0
- adcp/types/generated_poc/sponsored_intelligence/si_send_message_request.py +58 -0
- adcp/types/generated_poc/sponsored_intelligence/si_send_message_response.py +101 -0
- adcp/types/generated_poc/sponsored_intelligence/si_terminate_session_request.py +60 -0
- adcp/types/generated_poc/sponsored_intelligence/si_terminate_session_response.py +54 -0
- adcp/types/generated_poc/sponsored_intelligence/si_ui_element.py +30 -0
- adcp/utils/format_assets.py +5 -5
- adcp/utils/preview_cache.py +2 -2
- {adcp-2.19.0.dist-info → adcp-3.0.0.dist-info}/METADATA +1 -1
- adcp-3.0.0.dist-info/RECORD +264 -0
- {adcp-2.19.0.dist-info → adcp-3.0.0.dist-info}/WHEEL +1 -1
- adcp/types/generated_poc/enums/standard_format_ids.py +0 -45
- adcp/types/generated_poc/pricing_options/cpm_auction_option.py +0 -58
- adcp/types/generated_poc/pricing_options/cpm_fixed_option.py +0 -43
- adcp/types/generated_poc/pricing_options/vcpm_auction_option.py +0 -61
- adcp/types/generated_poc/pricing_options/vcpm_fixed_option.py +0 -47
- adcp/types/generated_poc/property/list_property_features_request.py +0 -25
- adcp/types/generated_poc/property/list_property_features_response.py +0 -24
- adcp-2.19.0.dist-info/RECORD +0 -220
- {adcp-2.19.0.dist-info → adcp-3.0.0.dist-info}/entry_points.txt +0 -0
- {adcp-2.19.0.dist-info → adcp-3.0.0.dist-info}/licenses/LICENSE +0 -0
- {adcp-2.19.0.dist-info → adcp-3.0.0.dist-info}/top_level.txt +0 -0
adcp/types/__init__.py
CHANGED
|
@@ -35,10 +35,15 @@ from adcp.types import (
|
|
|
35
35
|
from adcp.types import _generated as generated # noqa: F401
|
|
36
36
|
|
|
37
37
|
# Import all types from generated code
|
|
38
|
+
# V3 Protocol Discovery types
|
|
39
|
+
# V3 Content Standards types
|
|
40
|
+
# V3 Sponsored Intelligence types
|
|
41
|
+
# V3 Governance (Property Lists) types
|
|
38
42
|
from adcp.types._generated import (
|
|
39
43
|
ActivateSignalRequest,
|
|
40
44
|
ActivateSignalResponse,
|
|
41
45
|
AggregatedTotals,
|
|
46
|
+
Artifact,
|
|
42
47
|
Asset,
|
|
43
48
|
AssetContentType,
|
|
44
49
|
AssetSelectors,
|
|
@@ -55,18 +60,24 @@ from adcp.types._generated import (
|
|
|
55
60
|
BuildCreativeRequest,
|
|
56
61
|
BuildCreativeResponse,
|
|
57
62
|
ByPackageItem,
|
|
63
|
+
CalibrateContentRequest,
|
|
64
|
+
CalibrateContentResponse,
|
|
58
65
|
CoBrandingRequirement,
|
|
59
66
|
Colors,
|
|
60
67
|
Contact,
|
|
68
|
+
ContentStandards,
|
|
61
69
|
Country,
|
|
62
70
|
CpcPricingOption,
|
|
63
71
|
CpcvPricingOption,
|
|
64
|
-
|
|
65
|
-
CpmFixedRatePricingOption,
|
|
72
|
+
CpmPricingOption,
|
|
66
73
|
CppPricingOption,
|
|
67
74
|
CpvPricingOption,
|
|
75
|
+
CreateContentStandardsRequest,
|
|
76
|
+
CreateContentStandardsResponse,
|
|
68
77
|
CreateMediaBuyRequest,
|
|
69
78
|
CreateMediaBuyResponse,
|
|
79
|
+
CreatePropertyListRequest,
|
|
80
|
+
CreatePropertyListResponse,
|
|
70
81
|
Creative,
|
|
71
82
|
CreativeAction,
|
|
72
83
|
CreativeAgent,
|
|
@@ -81,6 +92,8 @@ from adcp.types._generated import (
|
|
|
81
92
|
DaastTrackingEvent,
|
|
82
93
|
DaastVersion,
|
|
83
94
|
DailyBreakdownItem,
|
|
95
|
+
DeletePropertyListRequest,
|
|
96
|
+
DeletePropertyListResponse,
|
|
84
97
|
DeliverTo,
|
|
85
98
|
DeliveryMeasurement,
|
|
86
99
|
DeliveryMetrics,
|
|
@@ -88,9 +101,9 @@ from adcp.types._generated import (
|
|
|
88
101
|
DimensionUnit,
|
|
89
102
|
Disclaimer,
|
|
90
103
|
DoohMetrics,
|
|
91
|
-
Embedding,
|
|
92
104
|
Error,
|
|
93
105
|
FeedbackSource,
|
|
106
|
+
FeedFormat,
|
|
94
107
|
FieldModel,
|
|
95
108
|
FlatRatePricingOption,
|
|
96
109
|
Fonts,
|
|
@@ -102,11 +115,22 @@ from adcp.types._generated import (
|
|
|
102
115
|
FormatIdParameter,
|
|
103
116
|
FrequencyCap,
|
|
104
117
|
FrequencyCapScope,
|
|
105
|
-
|
|
118
|
+
GeoCountry,
|
|
119
|
+
GeoMetro,
|
|
120
|
+
GeoPostalArea,
|
|
121
|
+
GeoRegion,
|
|
122
|
+
GetAdcpCapabilitiesRequest,
|
|
123
|
+
GetAdcpCapabilitiesResponse,
|
|
124
|
+
GetContentStandardsRequest,
|
|
125
|
+
GetContentStandardsResponse,
|
|
126
|
+
GetMediaBuyArtifactsRequest,
|
|
127
|
+
GetMediaBuyArtifactsResponse,
|
|
106
128
|
GetMediaBuyDeliveryRequest,
|
|
107
129
|
GetMediaBuyDeliveryResponse,
|
|
108
130
|
GetProductsRequest,
|
|
109
131
|
GetProductsResponse,
|
|
132
|
+
GetPropertyListRequest,
|
|
133
|
+
GetPropertyListResponse,
|
|
110
134
|
GetSignalsRequest,
|
|
111
135
|
GetSignalsResponse,
|
|
112
136
|
HtmlAsset,
|
|
@@ -119,10 +143,14 @@ from adcp.types._generated import (
|
|
|
119
143
|
LandingPageRequirement,
|
|
120
144
|
ListAuthorizedPropertiesRequest,
|
|
121
145
|
ListAuthorizedPropertiesResponse,
|
|
146
|
+
ListContentStandardsRequest,
|
|
147
|
+
ListContentStandardsResponse,
|
|
122
148
|
ListCreativeFormatsRequest,
|
|
123
149
|
ListCreativeFormatsResponse,
|
|
124
150
|
ListCreativesRequest,
|
|
125
151
|
ListCreativesResponse,
|
|
152
|
+
ListPropertyListsRequest,
|
|
153
|
+
ListPropertyListsResponse,
|
|
126
154
|
Logo,
|
|
127
155
|
MarkdownFlavor,
|
|
128
156
|
Measurement,
|
|
@@ -136,7 +164,7 @@ from adcp.types._generated import (
|
|
|
136
164
|
Offering,
|
|
137
165
|
Pacing,
|
|
138
166
|
PackageRequest,
|
|
139
|
-
|
|
167
|
+
PackageUpdate,
|
|
140
168
|
Pagination,
|
|
141
169
|
Parameters,
|
|
142
170
|
Performance,
|
|
@@ -160,6 +188,10 @@ from adcp.types._generated import (
|
|
|
160
188
|
PromotedProducts,
|
|
161
189
|
Property,
|
|
162
190
|
PropertyIdentifierTypes,
|
|
191
|
+
PropertyList,
|
|
192
|
+
PropertyListChangedWebhook,
|
|
193
|
+
PropertyListFilters,
|
|
194
|
+
PropertyListReference,
|
|
163
195
|
PropertyType,
|
|
164
196
|
ProtocolEnvelope,
|
|
165
197
|
ProtocolResponse,
|
|
@@ -175,17 +207,27 @@ from adcp.types._generated import (
|
|
|
175
207
|
ReportingPeriod,
|
|
176
208
|
ReportingWebhook,
|
|
177
209
|
Request,
|
|
178
|
-
RequestedMetric,
|
|
179
210
|
Response,
|
|
180
211
|
Responsive,
|
|
181
212
|
Results,
|
|
182
213
|
Security,
|
|
214
|
+
SiCapabilities,
|
|
215
|
+
SiGetOfferingRequest,
|
|
216
|
+
SiGetOfferingResponse,
|
|
183
217
|
Signal,
|
|
184
218
|
SignalCatalogType,
|
|
185
219
|
SignalFilters,
|
|
220
|
+
SiIdentity,
|
|
221
|
+
SiInitiateSessionRequest,
|
|
222
|
+
SiInitiateSessionResponse,
|
|
223
|
+
SiSendMessageRequest,
|
|
224
|
+
SiSendMessageResponse,
|
|
225
|
+
SiTerminateSessionRequest,
|
|
226
|
+
SiTerminateSessionResponse,
|
|
227
|
+
SiUiElement,
|
|
186
228
|
Sort,
|
|
187
229
|
SortApplied,
|
|
188
|
-
|
|
230
|
+
SortDirection,
|
|
189
231
|
Status,
|
|
190
232
|
StatusSummary,
|
|
191
233
|
SyncCreativesRequest,
|
|
@@ -195,16 +237,21 @@ from adcp.types._generated import (
|
|
|
195
237
|
TaskType,
|
|
196
238
|
TextAsset,
|
|
197
239
|
Totals,
|
|
240
|
+
UpdateContentStandardsRequest,
|
|
241
|
+
UpdateContentStandardsResponse,
|
|
198
242
|
UpdateFrequency,
|
|
199
243
|
UpdateMediaBuyRequest,
|
|
200
244
|
UpdateMediaBuyResponse,
|
|
245
|
+
UpdatePropertyListRequest,
|
|
246
|
+
UpdatePropertyListResponse,
|
|
201
247
|
UrlAsset,
|
|
202
248
|
UrlAssetType,
|
|
249
|
+
ValidateContentDeliveryRequest,
|
|
250
|
+
ValidateContentDeliveryResponse,
|
|
203
251
|
ValidationMode,
|
|
204
252
|
VastTrackingEvent,
|
|
205
253
|
VastVersion,
|
|
206
|
-
|
|
207
|
-
VcpmFixedRatePricingOption,
|
|
254
|
+
VcpmPricingOption,
|
|
208
255
|
VenueBreakdownItem,
|
|
209
256
|
VideoAsset,
|
|
210
257
|
ViewThreshold,
|
|
@@ -243,9 +290,7 @@ from adcp.types.aliases import (
|
|
|
243
290
|
PreviewCreativeManifestRequest,
|
|
244
291
|
PreviewCreativeStaticResponse,
|
|
245
292
|
PropertyId,
|
|
246
|
-
PropertyIdActivationKey,
|
|
247
293
|
PropertyTag,
|
|
248
|
-
PropertyTagActivationKey,
|
|
249
294
|
ProvidePerformanceFeedbackErrorResponse,
|
|
250
295
|
ProvidePerformanceFeedbackSuccessResponse,
|
|
251
296
|
PublisherPropertiesAll,
|
|
@@ -332,6 +377,53 @@ __all__ = [
|
|
|
332
377
|
"Totals",
|
|
333
378
|
"UpdateMediaBuyRequest",
|
|
334
379
|
"UpdateMediaBuyResponse",
|
|
380
|
+
# V3 Protocol Discovery
|
|
381
|
+
"GetAdcpCapabilitiesRequest",
|
|
382
|
+
"GetAdcpCapabilitiesResponse",
|
|
383
|
+
# V3 Content Standards
|
|
384
|
+
"Artifact",
|
|
385
|
+
"CalibrateContentRequest",
|
|
386
|
+
"CalibrateContentResponse",
|
|
387
|
+
"ContentStandards",
|
|
388
|
+
"CreateContentStandardsRequest",
|
|
389
|
+
"CreateContentStandardsResponse",
|
|
390
|
+
"GetContentStandardsRequest",
|
|
391
|
+
"GetContentStandardsResponse",
|
|
392
|
+
"GetMediaBuyArtifactsRequest",
|
|
393
|
+
"GetMediaBuyArtifactsResponse",
|
|
394
|
+
"ListContentStandardsRequest",
|
|
395
|
+
"ListContentStandardsResponse",
|
|
396
|
+
"UpdateContentStandardsRequest",
|
|
397
|
+
"UpdateContentStandardsResponse",
|
|
398
|
+
"ValidateContentDeliveryRequest",
|
|
399
|
+
"ValidateContentDeliveryResponse",
|
|
400
|
+
# V3 Sponsored Intelligence
|
|
401
|
+
"SiCapabilities",
|
|
402
|
+
"SiGetOfferingRequest",
|
|
403
|
+
"SiGetOfferingResponse",
|
|
404
|
+
"SiIdentity",
|
|
405
|
+
"SiInitiateSessionRequest",
|
|
406
|
+
"SiInitiateSessionResponse",
|
|
407
|
+
"SiSendMessageRequest",
|
|
408
|
+
"SiSendMessageResponse",
|
|
409
|
+
"SiTerminateSessionRequest",
|
|
410
|
+
"SiTerminateSessionResponse",
|
|
411
|
+
"SiUiElement",
|
|
412
|
+
# V3 Governance (Property Lists)
|
|
413
|
+
"CreatePropertyListRequest",
|
|
414
|
+
"CreatePropertyListResponse",
|
|
415
|
+
"DeletePropertyListRequest",
|
|
416
|
+
"DeletePropertyListResponse",
|
|
417
|
+
"GetPropertyListRequest",
|
|
418
|
+
"GetPropertyListResponse",
|
|
419
|
+
"ListPropertyListsRequest",
|
|
420
|
+
"ListPropertyListsResponse",
|
|
421
|
+
"PropertyList",
|
|
422
|
+
"PropertyListChangedWebhook",
|
|
423
|
+
"PropertyListFilters",
|
|
424
|
+
"PropertyListReference",
|
|
425
|
+
"UpdatePropertyListRequest",
|
|
426
|
+
"UpdatePropertyListResponse",
|
|
335
427
|
# Domain types
|
|
336
428
|
"Asset",
|
|
337
429
|
"AssetSelectors",
|
|
@@ -357,7 +449,6 @@ __all__ = [
|
|
|
357
449
|
"DeliveryMetrics",
|
|
358
450
|
"Disclaimer",
|
|
359
451
|
"DoohMetrics",
|
|
360
|
-
"Embedding",
|
|
361
452
|
"Error",
|
|
362
453
|
"FeedFormat",
|
|
363
454
|
"Fonts",
|
|
@@ -375,7 +466,7 @@ __all__ = [
|
|
|
375
466
|
"Offering",
|
|
376
467
|
"Package",
|
|
377
468
|
"PackageRequest",
|
|
378
|
-
"
|
|
469
|
+
"PackageUpdate",
|
|
379
470
|
"Parameters",
|
|
380
471
|
"Performance",
|
|
381
472
|
"PerformanceFeedback",
|
|
@@ -403,14 +494,12 @@ __all__ = [
|
|
|
403
494
|
# Pricing types
|
|
404
495
|
"CpcPricingOption",
|
|
405
496
|
"CpcvPricingOption",
|
|
406
|
-
"
|
|
407
|
-
"CpmFixedRatePricingOption",
|
|
497
|
+
"CpmPricingOption",
|
|
408
498
|
"CppPricingOption",
|
|
409
499
|
"CpvPricingOption",
|
|
410
500
|
"FlatRatePricingOption",
|
|
411
501
|
"PriceGuidance",
|
|
412
|
-
"
|
|
413
|
-
"VcpmFixedRatePricingOption",
|
|
502
|
+
"VcpmPricingOption",
|
|
414
503
|
# Status enums & simple types
|
|
415
504
|
"SignalCatalogType",
|
|
416
505
|
"Country",
|
|
@@ -418,12 +507,15 @@ __all__ = [
|
|
|
418
507
|
"DaastVersion",
|
|
419
508
|
"DeliverTo",
|
|
420
509
|
"DeliveryType",
|
|
421
|
-
"
|
|
510
|
+
"SortDirection",
|
|
422
511
|
"FeedbackSource",
|
|
423
512
|
"FieldModel",
|
|
424
513
|
"FrequencyCap",
|
|
425
514
|
"FrequencyCapScope",
|
|
426
|
-
"
|
|
515
|
+
"GeoCountry",
|
|
516
|
+
"GeoMetro",
|
|
517
|
+
"GeoPostalArea",
|
|
518
|
+
"GeoRegion",
|
|
427
519
|
"MarkdownFlavor",
|
|
428
520
|
"Measurement",
|
|
429
521
|
"MeasurementPeriod",
|
|
@@ -444,7 +536,6 @@ __all__ = [
|
|
|
444
536
|
"WebhookResponseType",
|
|
445
537
|
"Responsive",
|
|
446
538
|
"Sort",
|
|
447
|
-
"StandardFormatIds",
|
|
448
539
|
"Status",
|
|
449
540
|
"TaskType",
|
|
450
541
|
"DaastTrackingEvent",
|
|
@@ -465,7 +556,6 @@ __all__ = [
|
|
|
465
556
|
"ReportingFrequency",
|
|
466
557
|
"ReportingPeriod",
|
|
467
558
|
"ReportingWebhook",
|
|
468
|
-
"RequestedMetric",
|
|
469
559
|
"AuthenticationScheme",
|
|
470
560
|
"Security",
|
|
471
561
|
# Assets
|
|
@@ -513,9 +603,7 @@ __all__ = [
|
|
|
513
603
|
"PreviewCreativeManifestRequest",
|
|
514
604
|
"PreviewCreativeStaticResponse",
|
|
515
605
|
"PropertyId",
|
|
516
|
-
"PropertyIdActivationKey",
|
|
517
606
|
"PropertyTag",
|
|
518
|
-
"PropertyTagActivationKey",
|
|
519
607
|
"ProvidePerformanceFeedbackErrorResponse",
|
|
520
608
|
"ProvidePerformanceFeedbackSuccessResponse",
|
|
521
609
|
"PublisherPropertiesAll",
|
adcp/types/_ergonomic.py
CHANGED
|
@@ -82,9 +82,9 @@ from adcp.types.generated_poc.media_buy.list_creatives_response import (
|
|
|
82
82
|
ListCreativesResponse,
|
|
83
83
|
)
|
|
84
84
|
from adcp.types.generated_poc.media_buy.package_request import PackageRequest
|
|
85
|
-
from adcp.types.generated_poc.media_buy.
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
from adcp.types.generated_poc.media_buy.package_update import (
|
|
86
|
+
PackageUpdate1,
|
|
87
|
+
PackageUpdate2,
|
|
88
88
|
)
|
|
89
89
|
|
|
90
90
|
|
|
@@ -179,9 +179,18 @@ def _apply_coercion() -> None:
|
|
|
179
179
|
GetProductsRequest.model_rebuild(force=True)
|
|
180
180
|
|
|
181
181
|
# Apply coercion to PackageRequest
|
|
182
|
+
# - creative_assignments: list[CreativeAssignment] (accepts subclass instances)
|
|
182
183
|
# - creatives: list[CreativeAsset] (accepts subclass instances)
|
|
183
184
|
# - ext: ExtensionObject | dict | None
|
|
184
185
|
# - pacing: Pacing | str | None
|
|
186
|
+
_patch_field_annotation(
|
|
187
|
+
PackageRequest,
|
|
188
|
+
"creative_assignments",
|
|
189
|
+
Annotated[
|
|
190
|
+
list[CreativeAssignment] | None,
|
|
191
|
+
BeforeValidator(coerce_subclass_list(CreativeAssignment)),
|
|
192
|
+
],
|
|
193
|
+
)
|
|
185
194
|
_patch_field_annotation(
|
|
186
195
|
PackageRequest,
|
|
187
196
|
"creatives",
|
|
@@ -220,18 +229,19 @@ def _apply_coercion() -> None:
|
|
|
220
229
|
CreateMediaBuyRequest,
|
|
221
230
|
"packages",
|
|
222
231
|
Annotated[
|
|
223
|
-
list[PackageRequest],
|
|
232
|
+
list[PackageRequest] | None,
|
|
224
233
|
BeforeValidator(coerce_subclass_list(PackageRequest)),
|
|
225
234
|
],
|
|
226
235
|
)
|
|
227
236
|
CreateMediaBuyRequest.model_rebuild(force=True)
|
|
228
237
|
|
|
229
|
-
# Apply coercion to
|
|
238
|
+
# Apply coercion to PackageUpdate1
|
|
230
239
|
# - creative_assignments: list[CreativeAssignment] (accepts subclass instances)
|
|
231
240
|
# - creatives: list[CreativeAsset] (accepts subclass instances)
|
|
241
|
+
# - ext: ExtensionObject | dict | None
|
|
232
242
|
# - pacing: Pacing | str | None
|
|
233
243
|
_patch_field_annotation(
|
|
234
|
-
|
|
244
|
+
PackageUpdate1,
|
|
235
245
|
"creative_assignments",
|
|
236
246
|
Annotated[
|
|
237
247
|
list[CreativeAssignment] | None,
|
|
@@ -239,7 +249,7 @@ def _apply_coercion() -> None:
|
|
|
239
249
|
],
|
|
240
250
|
)
|
|
241
251
|
_patch_field_annotation(
|
|
242
|
-
|
|
252
|
+
PackageUpdate1,
|
|
243
253
|
"creatives",
|
|
244
254
|
Annotated[
|
|
245
255
|
list[CreativeAsset] | None,
|
|
@@ -247,18 +257,24 @@ def _apply_coercion() -> None:
|
|
|
247
257
|
],
|
|
248
258
|
)
|
|
249
259
|
_patch_field_annotation(
|
|
250
|
-
|
|
260
|
+
PackageUpdate1,
|
|
261
|
+
"ext",
|
|
262
|
+
Annotated[ExtensionObject | None, BeforeValidator(coerce_to_model(ExtensionObject))],
|
|
263
|
+
)
|
|
264
|
+
_patch_field_annotation(
|
|
265
|
+
PackageUpdate1,
|
|
251
266
|
"pacing",
|
|
252
267
|
Annotated[Pacing | None, BeforeValidator(coerce_to_enum(Pacing))],
|
|
253
268
|
)
|
|
254
|
-
|
|
269
|
+
PackageUpdate1.model_rebuild(force=True)
|
|
255
270
|
|
|
256
|
-
# Apply coercion to
|
|
271
|
+
# Apply coercion to PackageUpdate2
|
|
257
272
|
# - creative_assignments: list[CreativeAssignment] (accepts subclass instances)
|
|
258
273
|
# - creatives: list[CreativeAsset] (accepts subclass instances)
|
|
274
|
+
# - ext: ExtensionObject | dict | None
|
|
259
275
|
# - pacing: Pacing | str | None
|
|
260
276
|
_patch_field_annotation(
|
|
261
|
-
|
|
277
|
+
PackageUpdate2,
|
|
262
278
|
"creative_assignments",
|
|
263
279
|
Annotated[
|
|
264
280
|
list[CreativeAssignment] | None,
|
|
@@ -266,7 +282,7 @@ def _apply_coercion() -> None:
|
|
|
266
282
|
],
|
|
267
283
|
)
|
|
268
284
|
_patch_field_annotation(
|
|
269
|
-
|
|
285
|
+
PackageUpdate2,
|
|
270
286
|
"creatives",
|
|
271
287
|
Annotated[
|
|
272
288
|
list[CreativeAsset] | None,
|
|
@@ -274,11 +290,16 @@ def _apply_coercion() -> None:
|
|
|
274
290
|
],
|
|
275
291
|
)
|
|
276
292
|
_patch_field_annotation(
|
|
277
|
-
|
|
293
|
+
PackageUpdate2,
|
|
294
|
+
"ext",
|
|
295
|
+
Annotated[ExtensionObject | None, BeforeValidator(coerce_to_model(ExtensionObject))],
|
|
296
|
+
)
|
|
297
|
+
_patch_field_annotation(
|
|
298
|
+
PackageUpdate2,
|
|
278
299
|
"pacing",
|
|
279
300
|
Annotated[Pacing | None, BeforeValidator(coerce_to_enum(Pacing))],
|
|
280
301
|
)
|
|
281
|
-
|
|
302
|
+
PackageUpdate2.model_rebuild(force=True)
|
|
282
303
|
|
|
283
304
|
# Apply coercion to GetProductsResponse
|
|
284
305
|
# - context: ContextObject | dict | None
|