stable · event · 0.2.0
Advertising campaign state changed
An advertising Campaign became active or paused.
Capability Domain: advertising-sponsorship
Reference identifier: advertising-campaign-state-changed
Schema ID: https://minicenter.otus.tw/events/advertising.campaign.state.changed.v1.schema.json
Delivery: Delivered at least once. Deduplicate by Domain Event envelope id, then fetch authoritative state from the Advertiser Portal or project report.
Event schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://minicenter.otus.tw/events/advertising.campaign.state.changed.v1.schema.json",
"title": "Advertising campaign state changed",
"description": "An advertising Campaign became active or paused.",
"type": "object",
"additionalProperties": false,
"required": [
"campaign_id",
"campaign_version_id",
"status",
"effective_at"
],
"properties": {
"campaign_id": {
"type": "string",
"format": "uuid"
},
"campaign_version_id": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"effective_at": {
"type": "string",
"format": "date-time"
}
},
"x-documentation": true,
"x-reference-id": "advertising-campaign-state-changed",
"x-domain": "advertising-sponsorship",
"x-stability": "stable",
"x-delivery": "Delivered at least once. Deduplicate by Domain Event envelope id, then fetch authoritative state from the Advertiser Portal or project report.",
"example": {
"campaign_id": "8a000000-0000-4000-8000-000000000168",
"campaign_version_id": "8a000000-0000-4000-8000-000000000169",
"status": "active",
"effective_at": "2026-08-01T01:00:00Z"
}
}
Example
{
"campaign_id": "8a000000-0000-4000-8000-000000000168",
"campaign_version_id": "8a000000-0000-4000-8000-000000000169",
"status": "active",
"effective_at": "2026-08-01T01:00:00Z"
}