Inputs
MicrosoftAdsAccountItem
SelectItem
Output
Type:Dict
Returns the website exclusion list ID and the count of websites added.
Fields: message, list_id, websites_added_countDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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) |
| 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. |
| 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. |
| 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. |
Dict
Returns the website exclusion list ID and the count of websites added.
Fields: message, list_id, websites_added_count