Inputs
SelectItem
SelectableOption
Output
Type:Dict
Returns the created creative id(s) and (in bulk) per-row results.
Fields: creative_ids, created_count, success_count, failed_count, resultsDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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)
| App | LinkedIn Ads |
| Operation ID | linkedin_ads_create_ad_from_post |
| Type | Action |
| Connection | linkedin_ads (required) |
| Credits per run | 2 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| 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. |
| 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. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | |
label | string | Yes | - |
Dict
Returns the created creative id(s) and (in bulk) per-row results.
Fields: creative_ids, created_count, success_count, failed_count, results