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

# Add Websites To Exclusion List

> Add website URLs to an existing Microsoft Ads shared website exclusion list

Add website URLs to an existing Microsoft Ads shared website exclusion list.

| | |
| - | - |
| **App** | Microsoft Ads |
| **Operation ID** | `microsoft_ads_add_websites_to_exclusion_list` |
| **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 campaign-level website exclusion list. |
| `list_id` | string or SelectItem | Yes | - | The ID of the existing website exclusion list to add websites to. |
| `websites` | string or array of string | Yes | - | Website URLs/domains to add, as newline- or comma-separated text (or a list of strings). Up to 5,000 per call. |

### 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 website exclusion list ID and the count of websites added.

**Fields**: `message`, `list_id`, `websites_added_count`


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