Skip to content

Ad spend permission required (ad-spend-forbidden)

PubNio ad-spend-forbidden problem, HTTP 403: A call that can start spend is refused: an API key, a non-owner, an activation without confirmation: "activate_spend", no monthly cap, or a provider-managed campaign.

HTTP 403 Ad spend permission required. A call that can start spend is refused: an API key, a non-owner, an activation without confirmation: "activate_spend", no monthly cap, or a provider-managed campaign.

When it happens

40 of 175 API operations declare it.

Response body

{
  "type": "https://pubnio.com/docs/problems/ad-spend-forbidden/",
  "status": 403,
  "title": "Ad spend permission required",
  "code": "ad_spend_forbidden",
  "reason": "confirmation_required",
  "nextAction": "Retry the activation with confirmation: \"activate_spend\" after the owner approves the spend.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
Field Type Always present
reason "owner_required", "api_key_forbidden", "confirmation_required", "monthly_cap_required", "provider_managed" Yes
nextAction string Yes

Recovery for agents

  • confirmation_required is the only reason an agent fixes alone: resend with confirmation: "activate_spend" after a person approves the spend. For monthly_cap_required, ask an owner to set a monthly cap with ads.updateSpendPolicy, then retry.
  • Do what nextAction says.

Retryable

No: the SDKs mark HTTP 403 not retryable.

Limits

  • Match on type or code, not on detail.

Type to search…

↑↓ navigate↵ selectEsc close