Learn about the event and payload specifications for webhooks.
channel
: The type of the event that occurredtimestamp
: When the event occurredid
: Unique id for the event which can be used for deduplicationpayload
: The payload contains the details of the event and will vary depending on the event, which is covered in detail below{
"channel": "campaign:update",
"timestamp": "2024-10-31T14:42:55.759185Z",
"id": "gUo",
"payload": {
"name": "My campaign",
"campaign_id": "edac69a3-3ca2-41d6-af9e-08d3126099b4"
}
}
{
"channel": "campaign:create",
"timestamp": "2024-10-31T14:42:55.759185Z",
"id": "gUo",
"payload": {
"name": "My campaign",
"campaign_id": "edac69a3-3ca2-41d6-af9e-08d3126099b4"
}
}
{
"channel": "campaign:update",
"timestamp": "2024-10-31T14:42:55.759185Z",
"id": "gUo",
"payload": {
"name": "My new campaign name",
"campaign_id": "edac69a3-3ca2-41d6-af9e-08d3126099b4"
}
}
{
"channel": "campaign:delete",
"timestamp": "2024-10-31T14:42:55.759185Z",
"id": "gUo",
"payload": {
"name": "My campaign",
"ad_format": "listing",
"vendor_id": "2355d342-222e-4dc9-af92-81c3865b3b66",
"campaign_id": "edac69a3-3ca2-41d6-af9e-08d3126099b4",
"campaign_type": "autobidding",
"marketplace_id": "ad666c53-b174-497a-b52f-77354947456c"
}
}