Create Asset

Create a new Asset to get a direct Upload URL.

post/v1/advertiser/{advertiser_id}/asset

Request

  • Base URL
    https://api.kevel.co
  • URL
    https://api.kevel.co/v1/advertiser/{advertiser_id}/asset
  • Auth
    API key in header X-Adzerk-ApiKey

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.