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/__init__.py
ADDED
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
AdCP Python Client Library
|
|
5
|
+
|
|
6
|
+
Official Python client for the Ad Context Protocol (AdCP).
|
|
7
|
+
Supports both A2A and MCP protocols with full type safety.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from adcp.adagents import (
|
|
11
|
+
AuthorizationContext,
|
|
12
|
+
domain_matches,
|
|
13
|
+
fetch_adagents,
|
|
14
|
+
fetch_agent_authorizations,
|
|
15
|
+
get_all_properties,
|
|
16
|
+
get_all_tags,
|
|
17
|
+
get_properties_by_agent,
|
|
18
|
+
identifiers_match,
|
|
19
|
+
verify_agent_authorization,
|
|
20
|
+
verify_agent_for_property,
|
|
21
|
+
)
|
|
22
|
+
from adcp.client import ADCPClient, ADCPMultiAgentClient
|
|
23
|
+
from adcp.exceptions import (
|
|
24
|
+
AdagentsNotFoundError,
|
|
25
|
+
AdagentsTimeoutError,
|
|
26
|
+
AdagentsValidationError,
|
|
27
|
+
ADCPAuthenticationError,
|
|
28
|
+
ADCPConnectionError,
|
|
29
|
+
ADCPError,
|
|
30
|
+
ADCPProtocolError,
|
|
31
|
+
ADCPTimeoutError,
|
|
32
|
+
ADCPToolNotFoundError,
|
|
33
|
+
ADCPWebhookError,
|
|
34
|
+
ADCPWebhookSignatureError,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
# Test helpers
|
|
38
|
+
from adcp.testing import (
|
|
39
|
+
CREATIVE_AGENT_CONFIG,
|
|
40
|
+
TEST_AGENT_A2A_CONFIG,
|
|
41
|
+
TEST_AGENT_A2A_NO_AUTH_CONFIG,
|
|
42
|
+
TEST_AGENT_MCP_CONFIG,
|
|
43
|
+
TEST_AGENT_MCP_NO_AUTH_CONFIG,
|
|
44
|
+
TEST_AGENT_TOKEN,
|
|
45
|
+
create_test_agent,
|
|
46
|
+
creative_agent,
|
|
47
|
+
test_agent,
|
|
48
|
+
test_agent_a2a,
|
|
49
|
+
test_agent_a2a_no_auth,
|
|
50
|
+
test_agent_client,
|
|
51
|
+
test_agent_no_auth,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
# Re-export commonly-used request/response types for convenience
|
|
55
|
+
# Users should import from main package (e.g., `from adcp import GetProductsRequest`)
|
|
56
|
+
# rather than internal modules for better API stability
|
|
57
|
+
# Re-export core domain types and pricing options
|
|
58
|
+
# These are commonly used in typical workflows
|
|
59
|
+
from adcp.types import (
|
|
60
|
+
# Audience & Targeting
|
|
61
|
+
ActivateSignalRequest,
|
|
62
|
+
ActivateSignalResponse,
|
|
63
|
+
# Type enums from PR #222
|
|
64
|
+
AssetContentType,
|
|
65
|
+
# Core domain types
|
|
66
|
+
BrandManifest,
|
|
67
|
+
# Creative Operations
|
|
68
|
+
BuildCreativeRequest,
|
|
69
|
+
BuildCreativeResponse,
|
|
70
|
+
# Pricing options (all 9 types for product creation)
|
|
71
|
+
CpcPricingOption,
|
|
72
|
+
CpcvPricingOption,
|
|
73
|
+
CpmAuctionPricingOption,
|
|
74
|
+
CpmFixedRatePricingOption,
|
|
75
|
+
CppPricingOption,
|
|
76
|
+
CpvPricingOption,
|
|
77
|
+
# Media Buy Operations
|
|
78
|
+
CreateMediaBuyRequest,
|
|
79
|
+
CreateMediaBuyResponse,
|
|
80
|
+
Creative,
|
|
81
|
+
CreativeFilters,
|
|
82
|
+
CreativeManifest,
|
|
83
|
+
# Status enums (for control flow)
|
|
84
|
+
CreativeStatus,
|
|
85
|
+
# Common data types
|
|
86
|
+
Error,
|
|
87
|
+
FlatRatePricingOption,
|
|
88
|
+
Format,
|
|
89
|
+
FormatCategory,
|
|
90
|
+
FormatId,
|
|
91
|
+
GeneratedTaskStatus,
|
|
92
|
+
GetMediaBuyDeliveryRequest,
|
|
93
|
+
GetMediaBuyDeliveryResponse,
|
|
94
|
+
GetProductsRequest,
|
|
95
|
+
GetProductsResponse,
|
|
96
|
+
GetSignalsRequest,
|
|
97
|
+
GetSignalsResponse,
|
|
98
|
+
ListAuthorizedPropertiesRequest,
|
|
99
|
+
ListAuthorizedPropertiesResponse,
|
|
100
|
+
ListCreativeFormatsRequest,
|
|
101
|
+
ListCreativeFormatsResponse,
|
|
102
|
+
ListCreativesRequest,
|
|
103
|
+
ListCreativesResponse,
|
|
104
|
+
MediaBuy,
|
|
105
|
+
MediaBuyStatus,
|
|
106
|
+
Package,
|
|
107
|
+
PackageRequest,
|
|
108
|
+
PreviewCreativeRequest,
|
|
109
|
+
PreviewCreativeResponse,
|
|
110
|
+
PriceGuidance,
|
|
111
|
+
PricingModel,
|
|
112
|
+
Product,
|
|
113
|
+
ProductFilters,
|
|
114
|
+
Property,
|
|
115
|
+
ProvidePerformanceFeedbackRequest,
|
|
116
|
+
ProvidePerformanceFeedbackResponse,
|
|
117
|
+
PushNotificationConfig,
|
|
118
|
+
SignalFilters,
|
|
119
|
+
SyncCreativesRequest,
|
|
120
|
+
SyncCreativesResponse,
|
|
121
|
+
UpdateMediaBuyRequest,
|
|
122
|
+
UpdateMediaBuyResponse,
|
|
123
|
+
VcpmAuctionPricingOption,
|
|
124
|
+
VcpmFixedRatePricingOption,
|
|
125
|
+
aliases,
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
# Import generated types modules - for internal use
|
|
129
|
+
# Note: Users should import specific types, not the whole module
|
|
130
|
+
from adcp.types import _generated as generated
|
|
131
|
+
|
|
132
|
+
# Re-export semantic type aliases for better ergonomics
|
|
133
|
+
from adcp.types.aliases import (
|
|
134
|
+
ActivateSignalErrorResponse,
|
|
135
|
+
ActivateSignalSuccessResponse,
|
|
136
|
+
AgentDeployment,
|
|
137
|
+
AgentDestination,
|
|
138
|
+
BothPreviewRender,
|
|
139
|
+
BuildCreativeErrorResponse,
|
|
140
|
+
BuildCreativeSuccessResponse,
|
|
141
|
+
CreateMediaBuyErrorResponse,
|
|
142
|
+
CreateMediaBuySuccessResponse,
|
|
143
|
+
HtmlPreviewRender,
|
|
144
|
+
InlineDaastAsset,
|
|
145
|
+
InlineVastAsset,
|
|
146
|
+
MediaSubAsset,
|
|
147
|
+
PlatformDeployment,
|
|
148
|
+
PlatformDestination,
|
|
149
|
+
PreviewCreativeFormatRequest,
|
|
150
|
+
PreviewCreativeInteractiveResponse,
|
|
151
|
+
PreviewCreativeManifestRequest,
|
|
152
|
+
PreviewCreativeStaticResponse,
|
|
153
|
+
PropertyId,
|
|
154
|
+
PropertyIdActivationKey,
|
|
155
|
+
PropertyTag,
|
|
156
|
+
PropertyTagActivationKey,
|
|
157
|
+
ProvidePerformanceFeedbackErrorResponse,
|
|
158
|
+
ProvidePerformanceFeedbackSuccessResponse,
|
|
159
|
+
PublisherPropertiesAll,
|
|
160
|
+
PublisherPropertiesById,
|
|
161
|
+
PublisherPropertiesByTag,
|
|
162
|
+
SyncCreativesErrorResponse,
|
|
163
|
+
SyncCreativesSuccessResponse,
|
|
164
|
+
TextSubAsset,
|
|
165
|
+
UpdateMediaBuyErrorResponse,
|
|
166
|
+
UpdateMediaBuyPackagesRequest,
|
|
167
|
+
UpdateMediaBuyPropertiesRequest,
|
|
168
|
+
UpdateMediaBuySuccessResponse,
|
|
169
|
+
UrlDaastAsset,
|
|
170
|
+
UrlPreviewRender,
|
|
171
|
+
UrlVastAsset,
|
|
172
|
+
)
|
|
173
|
+
from adcp.types.core import AgentConfig, Protocol, TaskResult, TaskStatus, WebhookMetadata
|
|
174
|
+
from adcp.validation import (
|
|
175
|
+
ValidationError,
|
|
176
|
+
validate_adagents,
|
|
177
|
+
validate_agent_authorization,
|
|
178
|
+
validate_product,
|
|
179
|
+
validate_publisher_properties_item,
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
__version__ = "2.12.0"
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def get_adcp_version() -> str:
|
|
186
|
+
"""
|
|
187
|
+
Get the target AdCP specification version this SDK is built for.
|
|
188
|
+
|
|
189
|
+
This version determines which AdCP schemas are used for type generation
|
|
190
|
+
and validation. The SDK is designed to work with this specific version
|
|
191
|
+
of the AdCP specification.
|
|
192
|
+
|
|
193
|
+
Returns:
|
|
194
|
+
AdCP specification version (e.g., "v1", "v2")
|
|
195
|
+
"""
|
|
196
|
+
from pathlib import Path
|
|
197
|
+
|
|
198
|
+
# Read from ADCP_VERSION file at project root
|
|
199
|
+
version_file = Path(__file__).parent.parent.parent / "ADCP_VERSION"
|
|
200
|
+
if version_file.exists():
|
|
201
|
+
return version_file.read_text().strip()
|
|
202
|
+
return "v1" # Fallback
|
|
203
|
+
|
|
204
|
+
__all__ = [
|
|
205
|
+
# Version functions
|
|
206
|
+
"get_adcp_version",
|
|
207
|
+
# Client classes
|
|
208
|
+
"ADCPClient",
|
|
209
|
+
"ADCPMultiAgentClient",
|
|
210
|
+
# Core types
|
|
211
|
+
"AgentConfig",
|
|
212
|
+
"Protocol",
|
|
213
|
+
"TaskResult",
|
|
214
|
+
"TaskStatus",
|
|
215
|
+
"WebhookMetadata",
|
|
216
|
+
# Common request/response types (re-exported for convenience)
|
|
217
|
+
"CreateMediaBuyRequest",
|
|
218
|
+
"CreateMediaBuyResponse",
|
|
219
|
+
"GetMediaBuyDeliveryRequest",
|
|
220
|
+
"GetMediaBuyDeliveryResponse",
|
|
221
|
+
"GetProductsRequest",
|
|
222
|
+
"GetProductsResponse",
|
|
223
|
+
"UpdateMediaBuyRequest",
|
|
224
|
+
"UpdateMediaBuyResponse",
|
|
225
|
+
"BuildCreativeRequest",
|
|
226
|
+
"BuildCreativeResponse",
|
|
227
|
+
"ListCreativeFormatsRequest",
|
|
228
|
+
"ListCreativeFormatsResponse",
|
|
229
|
+
"ListCreativesRequest",
|
|
230
|
+
"ListCreativesResponse",
|
|
231
|
+
"PreviewCreativeRequest",
|
|
232
|
+
"PreviewCreativeResponse",
|
|
233
|
+
"SyncCreativesRequest",
|
|
234
|
+
"SyncCreativesResponse",
|
|
235
|
+
"ActivateSignalRequest",
|
|
236
|
+
"ActivateSignalResponse",
|
|
237
|
+
"GetSignalsRequest",
|
|
238
|
+
"GetSignalsResponse",
|
|
239
|
+
"SignalFilters",
|
|
240
|
+
"ListAuthorizedPropertiesRequest",
|
|
241
|
+
"ListAuthorizedPropertiesResponse",
|
|
242
|
+
"ProvidePerformanceFeedbackRequest",
|
|
243
|
+
"ProvidePerformanceFeedbackResponse",
|
|
244
|
+
"Error",
|
|
245
|
+
"Format",
|
|
246
|
+
"FormatId",
|
|
247
|
+
# New type enums from PR #222
|
|
248
|
+
"AssetContentType",
|
|
249
|
+
"FormatCategory",
|
|
250
|
+
"Product",
|
|
251
|
+
"ProductFilters",
|
|
252
|
+
"Property",
|
|
253
|
+
# Core domain types (from stable API)
|
|
254
|
+
"BrandManifest",
|
|
255
|
+
"Creative",
|
|
256
|
+
"CreativeFilters",
|
|
257
|
+
"CreativeManifest",
|
|
258
|
+
"MediaBuy",
|
|
259
|
+
"Package",
|
|
260
|
+
"PackageRequest",
|
|
261
|
+
# Status enums (for control flow)
|
|
262
|
+
"CreativeStatus",
|
|
263
|
+
"MediaBuyStatus",
|
|
264
|
+
"PricingModel",
|
|
265
|
+
# Pricing-related types
|
|
266
|
+
"CpcPricingOption",
|
|
267
|
+
"CpcvPricingOption",
|
|
268
|
+
"CpmAuctionPricingOption",
|
|
269
|
+
"CpmFixedRatePricingOption",
|
|
270
|
+
"CppPricingOption",
|
|
271
|
+
"CpvPricingOption",
|
|
272
|
+
"FlatRatePricingOption",
|
|
273
|
+
"PriceGuidance",
|
|
274
|
+
"VcpmAuctionPricingOption",
|
|
275
|
+
"VcpmFixedRatePricingOption",
|
|
276
|
+
# Configuration types
|
|
277
|
+
"PushNotificationConfig",
|
|
278
|
+
# Adagents validation
|
|
279
|
+
"AuthorizationContext",
|
|
280
|
+
"fetch_adagents",
|
|
281
|
+
"fetch_agent_authorizations",
|
|
282
|
+
"verify_agent_authorization",
|
|
283
|
+
"verify_agent_for_property",
|
|
284
|
+
"domain_matches",
|
|
285
|
+
"identifiers_match",
|
|
286
|
+
"get_all_properties",
|
|
287
|
+
"get_all_tags",
|
|
288
|
+
"get_properties_by_agent",
|
|
289
|
+
# Test helpers
|
|
290
|
+
"test_agent",
|
|
291
|
+
"test_agent_a2a",
|
|
292
|
+
"test_agent_no_auth",
|
|
293
|
+
"test_agent_a2a_no_auth",
|
|
294
|
+
"creative_agent",
|
|
295
|
+
"test_agent_client",
|
|
296
|
+
"create_test_agent",
|
|
297
|
+
"TEST_AGENT_TOKEN",
|
|
298
|
+
"TEST_AGENT_MCP_CONFIG",
|
|
299
|
+
"TEST_AGENT_A2A_CONFIG",
|
|
300
|
+
"TEST_AGENT_MCP_NO_AUTH_CONFIG",
|
|
301
|
+
"TEST_AGENT_A2A_NO_AUTH_CONFIG",
|
|
302
|
+
"CREATIVE_AGENT_CONFIG",
|
|
303
|
+
# Exceptions
|
|
304
|
+
"ADCPError",
|
|
305
|
+
"ADCPConnectionError",
|
|
306
|
+
"ADCPAuthenticationError",
|
|
307
|
+
"ADCPTimeoutError",
|
|
308
|
+
"ADCPProtocolError",
|
|
309
|
+
"ADCPToolNotFoundError",
|
|
310
|
+
"ADCPWebhookError",
|
|
311
|
+
"ADCPWebhookSignatureError",
|
|
312
|
+
"AdagentsValidationError",
|
|
313
|
+
"AdagentsNotFoundError",
|
|
314
|
+
"AdagentsTimeoutError",
|
|
315
|
+
# Validation utilities
|
|
316
|
+
"ValidationError",
|
|
317
|
+
"validate_adagents",
|
|
318
|
+
"validate_agent_authorization",
|
|
319
|
+
"validate_product",
|
|
320
|
+
"validate_publisher_properties_item",
|
|
321
|
+
# Generated types modules
|
|
322
|
+
"generated",
|
|
323
|
+
"aliases",
|
|
324
|
+
"GeneratedTaskStatus",
|
|
325
|
+
# Semantic type aliases (for better API ergonomics)
|
|
326
|
+
"ActivateSignalSuccessResponse",
|
|
327
|
+
"ActivateSignalErrorResponse",
|
|
328
|
+
"AgentDeployment",
|
|
329
|
+
"AgentDestination",
|
|
330
|
+
"BothPreviewRender",
|
|
331
|
+
"BuildCreativeSuccessResponse",
|
|
332
|
+
"BuildCreativeErrorResponse",
|
|
333
|
+
"CreateMediaBuySuccessResponse",
|
|
334
|
+
"CreateMediaBuyErrorResponse",
|
|
335
|
+
"HtmlPreviewRender",
|
|
336
|
+
"InlineDaastAsset",
|
|
337
|
+
"InlineVastAsset",
|
|
338
|
+
"MediaSubAsset",
|
|
339
|
+
"PlatformDeployment",
|
|
340
|
+
"PlatformDestination",
|
|
341
|
+
"PreviewCreativeFormatRequest",
|
|
342
|
+
"PreviewCreativeManifestRequest",
|
|
343
|
+
"PreviewCreativeStaticResponse",
|
|
344
|
+
"PreviewCreativeInteractiveResponse",
|
|
345
|
+
"PropertyId",
|
|
346
|
+
"PropertyIdActivationKey",
|
|
347
|
+
"PropertyTag",
|
|
348
|
+
"PropertyTagActivationKey",
|
|
349
|
+
"ProvidePerformanceFeedbackSuccessResponse",
|
|
350
|
+
"ProvidePerformanceFeedbackErrorResponse",
|
|
351
|
+
"PublisherPropertiesAll",
|
|
352
|
+
"PublisherPropertiesById",
|
|
353
|
+
"PublisherPropertiesByTag",
|
|
354
|
+
"SyncCreativesSuccessResponse",
|
|
355
|
+
"SyncCreativesErrorResponse",
|
|
356
|
+
"TextSubAsset",
|
|
357
|
+
"UpdateMediaBuySuccessResponse",
|
|
358
|
+
"UpdateMediaBuyErrorResponse",
|
|
359
|
+
"UpdateMediaBuyPackagesRequest",
|
|
360
|
+
"UpdateMediaBuyPropertiesRequest",
|
|
361
|
+
"UrlDaastAsset",
|
|
362
|
+
"UrlPreviewRender",
|
|
363
|
+
"UrlVastAsset",
|
|
364
|
+
]
|