Create or update entities in bulk
pinterest_ads_bulk_upsertCreate or update many Pinterest ad entities—campaigns, ad groups, ads, keywords, and more—in one asynchronous bulk job, returning a request_id to track changes and requiring confirm='APPLY'.
Instructions
Create and/or update many ad entities in one asynchronous Pinterest bulk job.
create / update: objects with lists under campaigns, ad_groups, ads, product_groups (product group promotions: {"ad_group_id", "product_group_promotion"}), keywords ({"parent_id", "keywords"}), catalog_product_groups, labels or schedules. Each entry uses the same fields as the matching create or update tool (updates need id). Campaign create entries without a status are sent PAUSED.
Pinterest applies the job in the background and this server can't check every change, so it always needs confirm='APPLY' (confirm='ARCHIVE' if anything is set to ARCHIVED). Returns a request_id to follow with pinterest_ads_get_bulk_request.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pinterest_ads_bulk_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| create | No | ||
| update | No | ||
| confirm | No | ||
| ad_account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||