Upload Display Asset

POST {{campaign_url}}/creativeAssets/display?marketId=1

Upload a creative asset (display)

You can upload a display file (creative asset) for a creative by sending this POST request. Open the body tab and in the value cell for file, select an image file from your device to upload.

Upon uploading, the request generates a S3 UUID for the uploaded creative asset. This value automatically populates the displayAssetKey variable, which can then be used in a POST New Creative request.

Request Params

KeyDatatypeRequiredDescription
marketIdnumberNumeric ID associated with a given market. Required only if you have access to multiple markets.

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

RESPONSES

status: OK

{"data":[{"creativeAssetKey":"2022_09/9db32060e8c94e18849015ad293742d4.png","adSizeId":"3","resourceType":"CreativeAsset"}],"errors":[]}