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

# Manage Budget Rule Campaigns

> Associates a Sponsored Products budget rule to campaigns, or removes it from them

Associates a Sponsored Products budget rule to campaigns, or removes it from them.

|                       |                                           |
| --------------------- | ----------------------------------------- |
| **App**               | Amazon Ads                                |
| **Operation ID**      | `amazon_ads_manage_budget_rule_campaigns` |
| **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 budget rule.                                              |
| `action`         | string or SelectableOption                              | Yes      | -       | Whether to associate the budget rule to campaigns or remove it from them.                             |
| `budget_rule_id` | string or SelectItem                                    | Yes      | -       | The budget rule ID (from amazon\_ads\_list\_budget\_rules or amazon\_ads\_create\_budget\_rule).      |
| `campaign_ids`   | array of string (also accepts a comma-separated string) | Yes      | -       | Sponsored Products campaign IDs to apply the action to, as a list or comma-separated text. Up to 100. |

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

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns the action, campaign count, and Amazon's response.

**Fields**: `budget_rule_id`, `action`, `campaign_count`, `response`
