v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Create Asset

Create a new Asset to get a direct Upload URL.

post/v1/advertiser/{advertiser_id}/asset

Path parameters

advertiser_idinteger required

The ID of the Kevel Advertiser that the Asset belongs to

Request body

Namestring required

The Asset name.

Type'video' | 'image' required

The type of Asset.

ContentURLstring

Optionally provide a link to your own externally hosted file instead of uploading a file to Kevel storage.

Response

200

Idinteger
AdvertiserIdinteger
Namestring
Statusstring
Typestring
UploadURLstring
IsDeletedboolean

Example response

{
  "Id": 12345,
  "AdvertiserId": 56789,
  "Name": "The Asset name",
  "Status": "pending",
  "Type": "video",
  "UploadURL": "The direct upload URL"
}