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

> Get LinkedIn's rendered preview of existing ads, returned as embeddable iframe tags for desktop and mobile placements

Get LinkedIn's rendered preview of existing ads, returned as embeddable iframe tags for desktop and mobile placements. Use it to show how an ad looks before a campaign goes live. Supports single image, carousel, video, single job and event ads.

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

## Inputs

| Field     | Type                                 | Required | Default | Description                                                                                                                                                                                         |
| --------- | ------------------------------------ | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account` | DynamicAccount                       | Yes      | -       | LinkedIn Ads account that owns the ads.                                                                                                                                                             |
| `ad_ids`  | string or array of string or integer | Yes      | -       | Ad IDs or creative URNs to preview, as a list or comma separated. Up to 20 per call. linkedin\_ads\_list\_ads returns these. Supported for single image, carousel, video, single job and event ads. |

## Output

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

Returns one row per ad, placement and device, each carrying an embeddable iframe tag. When several ads are asked for, a failing ad carries an error and the rest still return.

**Fields**: `ad_id`, `creative`, `placement`, `device`, `preview`, `error`
