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

# Create Website Exclusion List

> Create a shared website exclusion list in the Microsoft Ads manager account library, optionally seeded with website URLs

Create a shared website exclusion list in the Microsoft Ads manager account library, optionally seeded with website URLs.

|                       |                                               |
| --------------------- | --------------------------------------------- |
| **App**               | Microsoft Ads                                 |
| **Operation ID**      | `microsoft_ads_create_website_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 to create the campaign-level website exclusion list in.                                               |
| `list_name` | string                                                                    | Yes      | -       | Name for the new campaign-level website exclusion list.                                                                                |
| `websites`  | string or array of string                                                 | No       | -       | Optional website URLs/domains to seed the list with, 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. |

## Output

**Type**: `Dict`

Returns the created website exclusion list ID and seeded website count.

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