Ad Campaigns

Ad Campaign Payment failed

Sent when an ad campaign's payment fails and its ads stop delivering. The payload carries no performance stats; read the campaign for those

Required permissions:

  • webhook_receive:ad_campaigns
postWebhookad_campaign.payment_failed

Headers

webhook-idstring required

A unique identifier for this webhook request

Example:msg_xxxxxxxxxxxxxxxxxxxxxxxx
webhook-signaturestring required

The signature of the webhook request with the webhook version prepended

Example:v1,BASE64ENCODEDSIGNATURE
webhook-timestampstring required

The timestamp in seconds since the Unix epoch that the webhook was sent at on the server

Example:1727606400

Payload

account_idstring nullable

The account ID that this webhook event is associated with

api_version'v1' required

The API version for this webhook

api_version_datestring nullable required

The dated API version (Api-Version-Date) the payload is serialized to

idstring required

A unique ID for every single webhook request

previous_attributesobject

For some .updated events, the old values of the payload fields that changed, keyed by field name. Omitted when no capture is available for the event

timestampstring date-time required

The timestamp in ISO 8601 format that the webhook was sent at on the server

type'ad_campaign.payment_failed' required

The webhook event type

Example payload

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "api_version": "v1",
  "api_version_date": "2026-07-20",
  "data": {
    "bid_type": "average_target",
    "budget_amount": 50,
    "budget_amount_local": 50,
    "budget_currency": "usd",
    "budget_optimization": "ad_group",
    "budget_type": "daily",
    "created_at": "2026-01-01T12:00:00.000Z",
    "delivery_status": "issues",
    "id": "adcamp_xxxxxxxxxxxxxx",
    "issues": [
      {
        "id": "adiss_xxxxxxxxxxxxxx",
        "message": "Your ad was rejected for unacceptable business practices. Edit the ad's content and resubmit.",
        "resource_id": "ad_xxxxxxxxxxxxxx",
        "resource_type": "ad"
      }
    ],
    "objective": "leads",
    "platform": "meta",
    "special_ad_categories": [
      "employment"
    ],
    "status": "active",
    "title": "Ceramic coating — Austin leads",
    "updated_at": "2026-01-01T12:00:00.000Z"
  },
  "id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
  "timestamp": "2025-01-01T00:00:00.000Z",
  "type": "ad_campaign.payment_failed"
}

Response

Return a 200 status to indicate that the data was received successfully

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.