> ## 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 List Associations

> List Microsoft Ads shared list associations by campaign IDs or list IDs, including negative keyword lists and brand lists

List Microsoft Ads shared list associations by campaign IDs or list IDs, including negative keyword lists and brand lists. Returns the actual linked campaign and list IDs, not just association counts.

|                      |                                               |
| -------------------- | --------------------------------------------- |
| **App**              | Microsoft Ads                                 |
| **Operation ID**     | `microsoft_ads_list_shared_list_associations` |
| **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.                                                                                                                                               |
| `campaign_ids` | string or array of string                                                                                   | No       | -                     | Campaign IDs to find attached lists for. Accepts a list or comma/newline-separated IDs. Supply campaign\_ids OR list\_ids. Campaigns are queried in batches of 100.             |
| `list_ids`     | string or array of string                                                                                   | No       | -                     | Shared list IDs to find associated campaigns for. Accepts a list or comma/newline-separated IDs. Supply list\_ids OR campaign\_ids. Microsoft requires one list ID per request. |
| `list_type`    | enum (`NegativeKeywordList`, `AccountPlacementExclusionList`, `AccountPlacementInclusionList`, `BrandList`) | No       | `NegativeKeywordList` | Shared list type in the ad account library. Defaults to NegativeKeywordList.                                                                                                    |

### 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**: `List[Dict]`

Returns native associations including EntityId, EntityType, SharedEntityId and SharedEntityType.
