Creative Options
Origin-picker autocomplete. Carries the taxonomy the task form copies onto a new draft, so picking an origin needs no second request for the full creative.
GET
/api/v1/creatives/optionsAuthorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredQuery parameters
searchstring | anycase-insensitive match on name
limitintegermin 1 · max 50 · default: 10
exclude_idsstring[] | anyalready-chosen creatives, never returned
product_idstring | anyrestrict candidates to one product
Responses
200Successful Response
successbooleandefault: true
dataCreativeOption[] | anyShow propertiesHide properties
Any of:
CreativeOption[]
Array of
CreativeOptionidstringrequiredlabelstringrequiredpreview_urlstring | anyShow propertiesHide properties
Any of:
string
stringany
anywork_streamWorkStreamrequiredAllowed:
PerformanceProductWebBrandSMMHRproduct_idstringrequiredmedia_typeMediaTyperequiredAllowed:
VIDSTAANIWEBLNDENDCresolutionResolution | anyShow propertiesHide properties
Any of:
Resolution
stringany
anysourceSource | anyShow propertiesHide properties
Any of:
Source
stringany
anygeoGeo | anyShow propertiesHide properties
Any of:
Geo
stringany
anylanguageLanguage | anyShow propertiesHide properties
Any of:
Language
stringany
anyany
anymessagestring | anyShow propertiesHide properties
Any of:
string
stringany
anyerrorsstring[] | anyShow propertiesHide properties
Any of:
string[]
Array of
stringstringany
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobjectRequest
curl -X GET "/api/v1/creatives/options" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/creatives/options", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"/api/v1/creatives/options",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": [
{
"id": "string",
"label": "string",
"preview_url": "string",
"work_stream": "Performance",
"product_id": "string",
"media_type": "VID",
"resolution": "1080x1920",
"source": "META",
"geo": "US",
"language": "EN"
}
],
"message": "string",
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}