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

# Create Ad From Post

> Sponsor an existing LinkedIn post as an ad: create a creative under an ad set that references an existing post URN (urn:li:ugcPost / urn:li:share)

Sponsor an existing LinkedIn post as an ad: create a creative under an ad set that references an existing post URN (urn:li:ugcPost / urn:li:share). Use linkedin\_ads\_list\_posts to find a post. Supports single or bulk.

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

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. |
| `update_type` | string or SelectableOption | Yes | - | Create a single ad from a post ('single') or many at once ('bulk'). |
| `adset_id` | string or SelectItem | No | - | Ad set (LinkedIn sponsored campaign) the ad belongs to. Maps to the creative's campaign. |
| `post` | string | No | - | The existing post to sponsor, as a LinkedIn post URN (e.g. urn:li:ugcPost:123 or urn:li:share:123). Use linkedin\_ads\_list\_posts to find one. |
| `ad_name` | string | No | - | Optional creative name. Up to 255 characters. |
| `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). |
| `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Each row supports: post, adset\_id, ad\_name, status. |
| `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures so the workflow can continue. Default false. |

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

Returns the created creative id(s) and (in bulk) per-row results.

**Fields**: `creative_ids`, `created_count`, `success_count`, `failed_count`, `results`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.