Skip to content
Kumquat
Esc
↑↓navigate↵open⌘Jpreview

Mark Creatives Launched

Report the creatives a platform put live, by Kumquat id or by canonical name: each gets its launched_at stamped, its ad_id recorded if the call carries one, and, if nobody has tested it yet, its test started.

Never a 404 — a batch is reported as a whole, so a creative Kumquat does not know is not_found in its own row while the rest are recorded. Replays are safe: a creative that already carries a launched_at keeps it and comes back already_launched, its ad_id set to the reported one if the call carries one.

POST/api/v1/integrations/creative-tests/creatives/launched
Authorization
AuthorizationBearer token · headerrequired
Static token issued to an integrating platform (INTEGRATIONS__TOKENS)
Request body
requiredapplication/json
creativesLaunchedCreative[]required
min items 1 · max items 500
Show properties
Array of LaunchedCreative
idstring | any
Show properties
Any of:
string
string
any
any
namestring | any
Show properties
Any of:
string
string
any
any
launched_atstring<date-time> | any
when it went live; defaults to the time this call is served
Show properties
Any of:
string<date-time>
string<date-time>
any
any
ad_idstring | any
the ad account's id for the campaign this creative went live in. Recorded once: a creative that already carries one keeps it, and a creative reported without one takes it from a later report.
Show properties
Any of:
string
string
any
any
Responses
200Successful Response
Array of LaunchedResult
idstring | any
Show properties
Any of:
string
string
any
any
namestring | any
Show properties
Any of:
string
string
any
any
statusLaunchOutcomerequired
What `mark_launched` did — the launching platform gets one of these per creative it named.
Allowed:launchedalready_launchednot_found
launched_atstring<date-time> | any
Show properties
Any of:
string<date-time>
string<date-time>
any
any
test_statusTestStatus | any
Show properties
Any of:
TestStatus
string
any
any
ad_idstring | any
Show properties
Any of:
string
string
any
any
422Validation Error
detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Request
curl -X POST "/api/v1/integrations/creative-tests/creatives/launched" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "creatives": [
    {
      "id": "string",
      "name": "string",
      "launched_at": "2019-08-24T14:15:22Z",
      "ad_id": "string"
    }
  ]
}'
Response
[
  {
    "id": "string",
    "name": "string",
    "status": "launched",
    "launched_at": "2019-08-24T14:15:22Z",
    "test_status": "not_tested",
    "ad_id": "string"
  }
]