Approve ads
Approve the ads the owner said to keep (ad_ids from list_ads). Only approved ads launch. A business keeps at most 5 approved ads: past that the call answers max_approved; ask the owner which one to drop (reject_ads) first.
Approve the ads the owner said to keep (ad_ids from list_ads). Only approved ads launch. A business keeps at most 5 approved ads: past that the call answers max_approved; ask the owner which one to drop (reject_ads) first.
Create a scoped key in Benjiads → Integrations. Sent only in Authorization.
In: header
Header Parameters
8–80 letters, digits, underscores or hyphens. Reuse the same key and arguments for retries. Completed mutations replay for at least 90 days; a pending operation returns 409 and must be reconciled before using a new key.
^[A-Za-z0-9_-]+$8 <= length <= 80Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/ads/approve" \ -H "Idempotency-Key: stringst" \ -H "Content-Type: application/json" \ -d '{ "ad_ids": [ "7ae8135b-5b34-410a-8860-ed07b2be656e" ] }'{ "approved": 0, "maxApproved": 0, "events": [ { "id": "string", "at": "string", "creativeId": "string", "decision": "approved", "previous": "string", "actorKind": "owner", "surface": "onboarding", "reason": "string", "snapshot": { "headline": "string", "primaryText": "string" } } ], "next": "string"}