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

> List ads in a LinkedIn Ads account, with optional parent ad set filter and status filter

List ads in a LinkedIn Ads account, with optional parent ad set filter and status filter. In LinkedIn's API ads are creatives; each creative's parent campaign is what LinkedIn's newer UI naming calls an ad set.

|                      |                           |
| -------------------- | ------------------------- |
| **App**              | LinkedIn Ads              |
| **Operation ID**     | `linkedin_ads_list_ads`   |
| **Type**             | Action                    |
| **Connection**       | `linkedin_ads` (required) |
| **Credits per run**  | 1                         |
| **Agent / MCP tool** | Yes                       |

## Inputs

| Field      | Type                                | Required | Default | Description                                                                                                                                                    |
| ---------- | ----------------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`  | DynamicAccount                      | Yes      | -       | Select the LinkedIn Ads account to list ads from.                                                                                                              |
| `adset_id` | string or SelectItem                | No       | -       | Optional. Filter ads by their parent ad set (LinkedIn campaign), applied client-side. Accepts an ad set id or urn:li:sponsoredCampaign URN.                    |
| `status`   | array of string or SelectableOption | No       | -       | Filter ads by intended status (applied client-side). Multiple can be selected. Options: ACTIVE, PAUSED, DRAFT, ARCHIVED, CANCELED, PENDING\_DELETION, REMOVED. |
| `limit`    | integer                             | No       | `100`   | Maximum number of ads to return. The node paginates LinkedIn internally to reach this many.                                                                    |

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

Returns LinkedIn's raw creative (ad) objects, unmodified, so they can be fed into other nodes. Field set varies per ad.

**Fields**: `id`, `campaign`, `intendedStatus`, `content`, `review`, `isServing`, `servingHoldReasons`, `createdAt`, `lastModifiedAt`
