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

# Get Ad

> Get a single LinkedIn ad (creative) by id, including its actual content

Get a single LinkedIn ad (creative) by id, including its actual content. The ad's referenced post is resolved via the Posts API and returned under 'content' (copy, media, link, CTA). In LinkedIn's API an ad is a creative.

|                      |                           |
| -------------------- | ------------------------- |
| **App**              | LinkedIn Ads              |
| **Operation ID**     | `linkedin_ads_get_ad`     |
| **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 that owns the ad.                                                             |
| `ad_id`   | string or SelectItem | Yes      | -       | The ad to fetch. In LinkedIn's API this is a creative. Accepts a creative id or urn:li:sponsoredCreative URN. |

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

## Output

**Type**: `Dict`

Returns \{ creative: raw LinkedIn creative, content: raw referenced post (or null), content\_error: present only if the post could not be resolved }.

**Fields**: `creative`, `content`, `content_error`
