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

# Delete Ad Extension Associations

> Delete Microsoft Ads ad extension associations from an account, campaigns, or ad groups

Delete Microsoft Ads ad extension associations from an account, campaigns, or ad groups

| | |
| - | - |
| **App** | Microsoft Ads |
| **Operation ID** | `microsoft_ads_delete_ad_extension_associations` |
| **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, ask user for it if not provided |
| `level` | string or SelectableOption | Yes | - | Choose where to remove the ad extension association. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' |
| `ad_extension_ids` | array of string or SelectItem | Yes | - | One or more Microsoft Ads ad extension IDs to remove from the selected level |
| `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to remove the ad extension association from (required if level is CAMPAIGN) |
| `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to remove the ad extension association from (required if level is AD\_GROUP) |

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

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `Dict`

Returns deleted ad extension association details.

**Fields**: `deleted_associations`, `ad_extension_ids`, `entity_ids`, `association_type`


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