---
title: "Ad delivery issue event"
method: POST
path: "ad.delivery_issue"
tags: ["Webhook Events"]
---

# Ad delivery issue event

`POST ad.delivery_issue` (webhook)

Fired when an ad Zernio already tracked stops delivering for a platform reason (Meta, TikTok, LinkedIn).
See `WebhookPayloadAdDeliveryIssue` for when it fires and when it does not.

## Payload

- WebhookPayloadAdDeliveryIssue: Webhook payload for the `ad.delivery_issue` event. Fires when an ad Zernio already tracked moves into the platform's error state: Meta `WITH_ISSUES` (payment, policy and account problems), TikTok account punishment or missing balance, LinkedIn removals, and any platform status Zernio does not recognize yet (check `issue.raw`). Ads seen for the first time by a sync never fire it. Detected by Zernio's own ad sync, so it arrives within one sync cycle. Each ad fires at most once per 24 hours. On Meta, `ad.status_changed` with `WITH_ISSUES` can also fire for the same problem, straight from Meta's webhook.
  - `id` string, required: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
  - `profiles` object[]: The profiles this event belongs to, each with the externalId you set on it (null when none is set). Present on every event tied to a profile and absent on events that belong to none. Events spanning several profiles (a post published to accounts of different profiles) list each once. Use it to route the event to your tenant without storing Zernio profile ids.
    - `id` string, required
    - `externalId` string, nullable, required
  - `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` 'ad.delivery_issue', required
  - `account` WebhookAdsAccount, required: The connected ads account the event belongs to.
    - `accountId` string, required: Internal Zernio account ID (same as used in /v1/accounts/{accountId}).
    - `profileId` string, required: Internal Zernio profile ID this account belongs to.
    - `platform` string, required: Ads connection platform (`metaads`, `googleads`, `tiktokads`, `linkedinads`, `pinterestads`, `xads`, ...).
    - `username` string, required
    - `displayName` string, nullable
  - `adObject` object, required
    - `level` 'AD', required: Always `AD`.
    - `platformId` string, required: Platform-native ad ID.
    - `platformAdAccountId` string, required: Platform-native ad account ID.
    - `adId` string, required: Zernio ad ID, usable with GET /v1/ads/{adId}.
    - `name` string, required
  - `issue` object, required
    - `raw` string, required: Platform-native status string, forwarded verbatim (Meta `WITH_ISSUES`, TikTok `ADVERTISER_ACCOUNT_PUNISH`, LinkedIn `REMOVED`, ...).
    - `reasons` object[], required: What the platform says is wrong. Meta reports it per campaign; other networks send no message today, so it is empty there.
      - `message` string, required
  - `timestamp` string, date-time, required: UTC time at which Zernio generated this event.

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/dadaad5046d4?raw)
