> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Campaign

> Updates Amazon Ads campaigns with a raw Ads API v1 payload; only the provided fields are changed

Updates Amazon Ads campaigns with a raw Ads API v1 payload; only the provided fields are changed. Prefer amazon\_ads\_update\_campaign\_status, amazon\_ads\_update\_campaign\_budget, or amazon\_ads\_rename\_campaign for plain changes. Supports dry\_run.

|                       |                              |
| --------------------- | ---------------------------- |
| **App**               | Amazon Ads                   |
| **Operation ID**      | `amazon_ads_update_campaign` |
| **Type**              | Action                       |
| **Connection**        | `amazon_ads` (required)      |
| **Credits per run**   | 1                            |
| **Agent / MCP tool**  | Yes                          |
| **Requires approval** | Yes (write operation)        |

## Inputs

| Field            | Type                 | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ---------------- | -------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `account`        | DynamicAccount       | Yes      | -       | Select the Amazon Ads profile that owns the campaign.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `campaign_id`    | string or SelectItem | Yes      | -       | Amazon Ads campaign ID to update. Markifact sends it as campaignId; do not repeat it inside update\_payload.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `update_payload` | object or string     | Yes      | -       | Campaign fields to update as a JSON object in raw Amazon Ads API v1 format (camelCase), sent as-is; only the fields you include are changed. Common fields: name, state (ENABLED/PAUSED/DRAFT), startDateTime and endDateTime (ISO datetimes), budgets (array with budgetType MONETARY, budgetValue.monetaryBudgetValue.monetaryBudget.value in plain currency, and recurrenceTimePeriod DAILY/LIFETIME/MONTHLY), costType, optimizations (bidSettings/goalSettings/budgetSettings), portfolioId, tags. Prefer amazon\_ads\_update\_campaign\_status, amazon\_ads\_update\_campaign\_budget, or amazon\_ads\_rename\_campaign for plain status, budget, or name changes. Example: \{"endDateTime": "2026-12-31T23:59:59Z", "budgets": \[\{"budgetType": "MONETARY", "budgetValue": \{"monetaryBudgetValue": \{"monetaryBudget": \{"value": 75}}}, "recurrenceTimePeriod": "DAILY"}]} |
| `dry_run`        | boolean              | No       | `False` | When true, do not call Amazon. Return the resolved endpoint and final payload for review.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

### SelectItem

| 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. |

## Output

**Type**: `Dict`

Returns campaign\_id, updated\_fields, endpoint, final payload, and dry\_run status.

**Fields**: `campaign_id`, `updated_fields`, `endpoint`, `payload`, `dry_run`
