Creative Trend
The metrics table’s hover-trend chart: one creative’s daily history on one platform,
trailing 30 days by default. Registered before /{run_id} so “creative-trend” is never
parsed as a run id.
GET
/api/v1/frame-analyses/creative-trendAuthorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredQuery parameters
namestringrequiredplatformstringrequiredproduct_idstring | anymedia_sourcestring | anydate_fromstring<date> | anydate_tostring<date> | anyResponses
200Successful Response
successbooleandefault: true
dataCreativeTrendResult | anyShow propertiesHide properties
Any of:
CreativeTrendResult
pointsTrendPoint[]requiredShow propertiesHide properties
Array of
TrendPointdatestring<date>requiredvaluesobjectrequiredany
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/frame-analyses/creative-trend?name=string&platform=string" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/frame-analyses/creative-trend?name=string&platform=string", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"/api/v1/frame-analyses/creative-trend?name=string&platform=string",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": {
"points": [
{
"date": "2019-08-24",
"values": {
"property1": 0,
"property2": 0
}
}
]
},
"message": "string",
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}