Prepare a campaign
Queues preparation of Meta advertising objects with launch disabled. Background preparation sends operational Slack notifications with the business, budget and job outcome. Requires creative ownership and the licence checks; prefer launch_ads. Returns a job to poll. dailyBudgetCents is the TOTAL across locations.
Queues preparation of Meta advertising objects with launch disabled. Background preparation sends operational Slack notifications with the business, budget and job outcome. Requires creative ownership and the licence checks; prefer launch_ads. Returns a job to poll. dailyBudgetCents is the TOTAL across locations.
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/campaigns" \ -H "Idempotency-Key: stringst" \ -H "Content-Type: application/json" \ -d '{ "dailyBudgetCents": 0 }'{ "job": { "id": "string", "status": "string", "hold": "string", "attempts": 0, "adsWanted": 0, "adsCreated": 0, "campaignId": "string", "liveAt": "string", "nextRunAt": "string", "lastError": "string" }}Read campaigns and ad balance GET
Money is in USD wallet cents. balanceCents is cumulative funding; remainingCents is available funding. If the provider is unavailable, spending may use the stored lifetime mirror.
Read campaign preparation status GET
Poll an existing deployment job. ready means prepared; live means delivery was activated. A failed or cancelled job may have created provider objects. lastError is a safe summary; detailed diagnostics remain in the owner dashboard.