Inputs
SelectItem
Output
Type:Dict
Returns the uploaded asset’s URN, its type (image/video/document), and the owning organization URN.
Fields: media_urn, media_type, organizationDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Uploads a single image, video, or document to LinkedIn and returns its asset URN (urn:li:image / urn:li:video / urn:li:document), owned by the given Company Page
| App | LinkedIn Ads |
| Operation ID | linkedin_ads_upload_media |
| Type | Action |
| Connection | linkedin_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization | string or SelectItem | Yes | - | Company Page that owns the uploaded asset (the same organization used as the post author). Accepts an organization id or urn:li:organization:123. |
image_url | string | No | - | Image to upload. Accepts a direct image URL or a Google Drive share link (set to ‘Anyone with the link’). Returns an urn:li:image URN. Provide exactly one of image_url, video_url, or document_url. |
video_url | string | No | - | Video to upload. Accepts a direct video URL or a Google Drive share link (set to ‘Anyone with the link’). Returns an urn:li:video URN. Waits for LinkedIn to finish processing. Provide exactly one of image_url, video_url, or document_url. |
document_url | string | No | - | Document to upload: PDF, PPT, PPTX, DOC, or DOCX up to 100MB and 300 pages. Accepts a direct file URL or a Google Drive share link (set to ‘Anyone with the link’). Returns an urn:li:document URN. Provide exactly one of image_url, video_url, or document_url. |
| 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. |
Dict
Returns the uploaded asset’s URN, its type (image/video/document), and the owning organization URN.
Fields: media_urn, media_type, organization