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

# Apply Website Exclusion List To Campaigns

> Apply (associate) a Microsoft Ads campaign-level website exclusion list to one or more campaigns

Apply (associate) a Microsoft Ads campaign-level website exclusion list to one or more campaigns.

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

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the website exclusion list and campaigns. |
| `list_id` | string or SelectItem | Yes | - | The ID of the campaign-level website exclusion list to apply to the campaigns. |
| `campaign_ids` | array (also accepts a comma-separated string) | Yes | - | Campaign IDs to apply the website exclusion list to. Comma-separated text or a list of IDs. |

### MicrosoftAdsAccountItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |
| `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. |

### 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 the list ID and the campaigns it was applied to.

**Fields**: `message`, `list_id`, `campaigns_count`, `associated_campaign_ids`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.