# campaign.created

A campaign was created through Zernio (`source: "zernio"`) or detected by the sync (`source: "platform"`).

### When it fires

Fires once the campaign row is recorded. A detected campaign arrives up to one sync interval late.

### When it does not fire

History loaded when an account connects, and campaigns created more than 7 days ago, are never announced.




**Payload for `campaign.created`:**

- **id** (required) `string`: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
- **profiles**: `WebhookProfiles` - See schema definition
- **test** `boolean`: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
- **event** (required) `string`: No description - one of: campaign.created
- **account** (required): `WebhookAdsAccount` - See schema definition
- **adObject** (required) `object`: 
  - **level** (required) `string`: Always `CAMPAIGN`. - one of: CAMPAIGN
  - **platformId** (required) `string`: Platform-native campaign ID, usable as campaignId with /v1/ads/campaigns/{campaignId}.
  - **platformAdAccountId** (required) `string`: Platform-native ad account ID.
  - **name** (required) `string,null`: No description
- **source** (required) `string`: Where the campaign was created. `zernio` for campaigns created through Zernio, `platform` for campaigns the sync detected. - one of: zernio, platform
- **timestamp** (required) `string` (date-time): UTC time at which Zernio generated this event.