Update ad groups
pinterest_ads_update_ad_groupsUpdate up to 500 Pinterest ad groups per call, changing bids, budgets, targeting, or status in live accounts with confirmation safeguards for large increases and archiving.
Instructions
Update ad groups (up to 500 per call). Changes the live account.
items: objects with id plus only the fields to change. Example: {"id": "2680059592705", "bid_in_micro_currency": 1500000} or {"id": "...", "targeting_spec": {...}}. targeting_spec replaces the whole spec. Money fields (budget_in_micro_currency, bid_in_micro_currency) are micro-units of the account currency (1.00 = 1000000). Current values are read first and their old values kept in the audit log. Bid or budget rises above PINTEREST_ADS_MAX_INCREASE_PCT, and large batches, need confirm='APPLY'; setting status ARCHIVED needs confirm='ARCHIVE'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| confirm | No | ||
| ad_account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||