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

# List Shared Lists

> List the shared lists (negative keyword lists or website exclusion lists) in a Microsoft Ads account

List the shared lists (negative keyword lists or website exclusion lists) in a Microsoft Ads account.

|                      |                                   |
| -------------------- | --------------------------------- |
| **App**              | Microsoft Ads                     |
| **Operation ID**     | `microsoft_ads_list_shared_lists` |
| **Type**             | Action                            |
| **Connection**       | `microsoft_ads` (required)        |
| **Credits per run**  | 1                                 |
| **Agent / MCP tool** | Yes                               |

## 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 list shared lists for.                                                                                                                                                   |
| `list_type` | string or SelectableOption                                                | No       | -       | Type of shared list to return. 'NegativeKeywordList' (default): negative keyword lists. 'AccountPlacementExclusionList': campaign-level website exclusion lists. Both live in the ad account shared library. |

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

### SelectableOption

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

## Output

**Type**: `List[Dict]`

Returns the shared lists, each with list\_id, name, type, item\_count, and association\_count.

**Fields**: `list_id`, `name`, `type`, `item_count`, `association_count`
