Inputs
MicrosoftAdsAccountItem
SelectItem
Output
Type:Dict
Returns the list ID and the campaigns it was applied to.
Fields: message, list_id, campaigns_count, associated_campaign_idsDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Apply (associate) a Microsoft Ads shared negative keyword list to one or more campaigns
| App | Microsoft Ads |
| Operation ID | microsoft_ads_apply_negative_keyword_list_to_campaigns |
| 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 negative keyword list and campaigns. |
list_id | string or SelectItem | Yes | - | The ID of the negative keyword list to apply to the campaigns. |
campaign_ids | array (also accepts a comma-separated string) | Yes | - | Campaign IDs to apply the negative keyword list to. Comma-separated text or a list of IDs. |
| 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 list ID and the campaigns it was applied to.
Fields: message, list_id, campaigns_count, associated_campaign_ids