Meta Ads through PubNio

PubNio runs 12 of the 12 ad operation kinds on Meta Ads. A campaign plan creates every level paused, and daily spend is read from stored rows. (provider rules checked 2026-12-05)

Live ad provider · provider rules checked 2026-12-05View as Markdown

What PubNio supports on Meta

Every operation kind, boosts included. PubNio's campaign, ad group, and ad are Meta's campaign, ad set, and ad; a create leaves status: PAUSED on the campaign, ad set, and ad.

Meta's adapter checks plan drafts locally before anything is created.

Spend controls

  • Activating a campaign, ad group, or ad, or raising a budget, needs a monthly cap on the account's spend policy, or it fails with ad-spend-forbidden and monthly_cap_required (its nextAction names ads.updateSpendPolicy), and it fails with ad-kill-switch-active while the kill switch is on; lowering a budget needs neither.
  • ads.enableKillSwitch queues a retryable provider pause for each campaign and turns away activations, resumes, and budget increases until it is cleared.

Change the ad set budget

  • PubNio sets daily_budget or lifetime_budget on the ad set in minor units, as given, then reads the ad set back.
  • A budget change needs a signed-in session in the web app; an API key or an MCP session, OAuth included, gets 403 human_actor_required.
  • A budget increase must fit the per-campaign maximum, the daily cap, and the monthly cap, counted as 30.4 days of daily budgets with queued increases at their new amount; a decrease skips those checks.
budget.http
POST /api/v1/ads/accounts/7f3c2a10-5b4e-4d6f-8a9b-0c1d2e3f4a5b/ad-groups/b81d4e2a-6c3f-4a90-9e5b-7f2c0d1a8e46/budget?workspaceId=3d9a1f20-7c4b-4e8a-9f61-2b5c8d7e0a14
Authorization: Bearer <token>
Idempotency-Key: budget-meta-ads-1
Content-Type: application/json

{
  "budget": {
    "amountMinor": 5000,
    "currency": "USD",
    "kind": "daily"
  },
  "expectedRevision": 3
}

PubNio answers 202 with a budget.update operation. A stale expectedRevision gets ad-revision-conflict; a cap it would break gets 422 ad-budget-exceeded with the limit and the committed total.

Connect and scopes

Connect with Facebook Login, then choose which of the person's ad accounts PubNio may use.

Scopes PubNio asks for: ads_management, ads_read and business_management. PubNio calls Graph API v27.0.

Limits

  • Every ad set gets optimization_goal: POST_ENGAGEMENT; PubNio has no setting for another goal.
What the provider statesSource
Advanced access to manage other people's ad accountsAuthorization | Meta for Developers, read 2026-12-05
4 budget changes per ad set per hourMarketing API Rate Limiting | Meta for Developers, read 2026-12-05

Sources

  • Authorization | Meta for Developers, read 2026-12-05: "If your app is only managing your ad account, standard access to the ads_read and ads_management permissions are sufficient. If your app is managing other people’s ad accounts, you need advanced access to the ads_read and/or ads_management permissions."
  • Marketing API Rate Limiting | Meta for Developers, read 2026-12-05: "For each ad set, the budget is only allowed to change 4 times per hour, if it exceeds the limit, the budget change for that ad set is blocked for an hour."