# Pinterest Ads through PubNio

PubNio runs 10 of the 12 ad operation kinds on Pinterest Ads. A campaign plan creates every level paused, and daily spend is read from stored rows.

## What PubNio supports on Pinterest

Every Pinterest operation kind except `campaign.archive` and `boost.create`. PubNio's campaign, ad group, and ad are Pinterest's campaign, ad group, and ad; a create leaves `status: PAUSED` on the campaign, ad group, and ad.

Pinterest's adapter has no local draft check, so Pinterest's own rules run only at create and validation can pass a plan Pinterest then refuses.

- Objectives map to Pinterest's `AWARENESS` (awareness and reach), `WEB_CONVERSION` (sales and conversions), `APP_INSTALL`, and `VIDEO_COMPLETION`; traffic and every other objective create a `CONSIDERATION` campaign.
- An ad group is created with `billable_event: CLICKTHROUGH`, `bid_strategy_type: AUTOMATIC_BID`, `pacing_delivery_type: STANDARD`, and `placement_group: ALL`, and the plan's targeting goes out as `targeting_spec`. A plan without an ad group budget is refused.
- A Pinterest ad promotes an existing Pin: `providerSettings.pinId` is sent as `pin_id` with `creative_type: REGULAR`, a plan without one is refused, and the destination URL goes out as `destination_url`. Creating the creative makes no Pinterest call.

## 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 group budget

- PubNio sets the ad group's `budget_in_micro_currency`, then reads the ad group 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.

```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-pinterest-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 Pinterest OAuth, which shares PubNio's Pinterest app unless an ads-specific one is configured. The grant carries `ads:read` and `ads:write`, plus `user_accounts:read`, which only discovers the account.

Scopes PubNio asks for: `ads:read` and `ads:write`. PubNio calls API v5.

## Limits

- No archive at any level.
- The budget kind is ignored on ad groups: a lifetime budget is sent as the same `budget_in_micro_currency` as a daily one.

## Related

- [Read spend on Pinterest](https://pubnio.com/ads/pinterest-ads/spend-report)
- [Pinterest MCP server](https://pubnio.com/pinterest-ads-mcp)
- [All ad providers](https://pubnio.com/ads)
- API reference: [ads.enableKillSwitch](https://pubnio.com/docs/reference/ads-enable-kill-switch/)
- API reference: [ads.setAdGroupBudget](https://pubnio.com/docs/reference/ads-set-ad-group-budget/)
- [Pinterest API versions](https://pubnio.com/docs/providers/pinterest/versioning/)
- [Publishing to Pinterest](https://pubnio.com/platforms/pinterest)
- [Problem: ad-kill-switch-active](https://pubnio.com/docs/problems/ad-kill-switch-active/)
- [Problem: ad-budget-exceeded](https://pubnio.com/docs/problems/ad-budget-exceeded/)

