Inputs
SelectItem
Output
Type:Dict
Returns campaign_id, updated_fields, endpoint, final payload, and dry_run status.
Fields: campaign_id, updated_fields, endpoint, payload, dry_runDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Low-level operation to update Pinterest Ads campaigns with a raw PATCH payload; only the provided fields are changed
| App | Pinterest Ads |
| Operation ID | pinterest_ads_update_campaign |
| Type | Action |
| Connection | pinterest_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select Pinterest Ads account that owns the campaign. |
campaign_id | string or SelectItem | Yes | - | Pinterest campaign ID to update. Markifact sends it as id; do not repeat it inside update_payload. |
update_payload | object or string | Yes | - | Campaign fields to update as a JSON object, sent to Pinterest as-is in a PATCH request; only the fields you include are changed. Common fields: name, status (ACTIVE/PAUSED/ARCHIVED), start_time and end_time (Unix seconds), tracking_urls, order_line_id, is_flexible_daily_budgets, is_automated_campaign. Budget fields are raw Pinterest microcurrency integers: daily_spend_cap, lifetime_spend_cap, and default_ad_group_budget_in_micro_currency (multiply the currency amount by 1,000,000, so $50 is 50000000). Draft campaigns only: objective_type, is_campaign_budget_optimization. Prefer pinterest_ads_update_campaign_status and pinterest_ads_rename_campaign for plain status or name changes. Example: {“daily_spend_cap”: 50000000, “end_time”: 1798761600} |
dry_run | boolean | No | False | When true, do not call Pinterest. Return the resolved endpoint and final payload for review. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | The value of the selectable item. |
label | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |
Dict
Returns campaign_id, updated_fields, endpoint, final payload, and dry_run status.
Fields: campaign_id, updated_fields, endpoint, payload, dry_run