Update Creatives Status

πŸ“˜

PATCH https://api.kayzen.io/v1/creatives/statuses

Use this API to update the creatives of a specified campaign.

See below for supported fields and param

Field

Param

Required/ Optional

Description

campaign_id

int

required

ID of the campaign for which we want to change the creatives'

creatives

Array[JSON]

required

Format of the creative
is in the table below.

Format of the creative

Field

Param

Required/ Optional

Description

id

int

required

Id of the creative required to be updated

status

string

required

Supported Values -

  • paused
  • running
  • deleted
curl -X PUT \
'https://api.kayzen.io/v1/creatives/statuses' \
-d '{ "creatives": [{ "id": 1234567, "status": "paused"}], "campaign_id": 123456 }' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN'
{"ok": true}