DownloadAsset
Downloads document, image, or video assets from your LinkedIn organization or ad account, allowing you to retrieve creative files for reuse, reporting, or backup purposes.
Procedure Specific Information
For document assets, LinkedIn returns the data in PDF format when downloading through this procedure.
Input
| Name | Type | Required | Description |
| URN | String | True | Uniform Resource Name (URN) of the asset to download. Supported types include 'urn:li:document:', 'urn:li:image:', and 'urn:li:video:'. |
| LocalFile | String | False | Specifies the absolute local file path where the downloaded asset should be saved. |
| Overwrite | Boolean | False | If the value is 'true', an existing file at the specified LocalFile path will be overwritten during download.
The default value is false. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | If the value is 'true', the asset was downloaded successfully; if 'false', the download failed. |
| FileData | String | Contains the downloaded asset data as a Base64-encoded string. This output is returned only when both LocalFile and FileStream parameters are not specified. |