UploadImage
Upload image assets in your LinkedIn organization/ad-account which can be used to create posts and ads.
Procedure Specific Information
To use this stored procedure, exactly one of the following parameters must be specified (besides the ones reported in the table below as Required):- LocalFile
- FileStream
- FileData
If no parameter is used, or more than one parameter is used, the procedure will fail.
Below are some other restrictions for image assets:
- Only images with a total pixel count (width X height) less than 36,152,320 are allowed.
- The following formats are supported: JPG, PNG, and GIF.
- For the GIF format, up to 250 frames can be used.
Input
| Name | Type | Required | Description |
| OwnerURN | String | True | The URN of the account or organization to use as the new image's owner. |
| LocalFile | String | False | The absolute path of the image file in your system to upload to LinkedIn. |
| FileData | String | False | A Base64-encoded string containing the data of the image to upload to LinkedIn. Useful in cases when neither the 'LocalFile' parameter nor the 'FileStream' parameter are viable options. |
Result Set Columns
| Name | Type | Description |
| ImageURN | String | The URN of the new image asset that was created, if the upload was successful. |