You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/generate_models_simple.py
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -535,7 +535,7 @@ class PreviewCreativeRequest(BaseModel):
535
535
536
536
# Output format (applies to both modes)
537
537
output_format: Literal["url", "html"] | None = Field(default="url", description="Output format: 'url' for iframe URLs, 'html' for direct embedding")
538
-
538
+
context: dict[str, Any] | None = Field(None, description="Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.")
539
539
540
540
class PreviewCreativeResponse(BaseModel):
541
541
"""Response containing preview links for one or more creatives. Format matches the request: single preview response for single requests, batch results for batch requests."""
@@ -547,6 +547,7 @@ class PreviewCreativeResponse(BaseModel):
547
547
548
548
# Batch mode field
549
549
results: list[dict[str, Any]] | None = Field(default=None, description="Array of preview results for batch processing")
550
+
context: dict[str, Any] | None = Field(None, description="Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.")
Copy file name to clipboardExpand all lines: src/adcp/types/generated.py
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -981,7 +981,7 @@ class PreviewCreativeRequest(BaseModel):
981
981
982
982
# Output format (applies to both modes)
983
983
output_format: Literal["url", "html"] |None=Field(default="url", description="Output format: 'url' for iframe URLs, 'html' for direct embedding")
984
-
984
+
context: dict[str, Any] |None=Field(None, description="Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.")
985
985
986
986
classPreviewCreativeResponse(BaseModel):
987
987
"""Response containing preview links for one or more creatives. Format matches the request: single preview response for single requests, batch results for batch requests."""
@@ -993,6 +993,7 @@ class PreviewCreativeResponse(BaseModel):
993
993
994
994
# Batch mode field
995
995
results: list[dict[str, Any]] |None=Field(default=None, description="Array of preview results for batch processing")
996
+
context: dict[str, Any] |None=Field(None, description="Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.")
0 commit comments