Upload Audio Asset
POST {{campaign_url}}/creativeAssets/audio?marketId=1
Upload a creative asset (audio)
You can upload an audio file (creative asset) for a creative by sending this POST
request. Open the body tab and in the value cell for file
, select an audio file from your device to upload.
Upon uploading, the request generates a S3 UUID for the uploaded creative asset. This value automatically populates the audioAssetKey
variable, which can then be used in a POST
New Creative request.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
marketId | number | Numeric 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/425b5ead4d574817ab4df91f975b1f0d.mp3","adSizeId":"13","resourceType":"CreativeAsset"}],"errors":[]}