Upload assets
Overview
This article explains how to upload assets to create creatives for display and video formats. All creatives that use a native format (sponsored products) don't need assets.
Main endpoints
| Method | Endpoint | Description | Reference |
|---|---|---|---|
| POST | https://api.kaminoretail.dev/v2/accounts/{account_id}/assets |
Upload an asset. |
|
Attributes
The following table defines common attributes. The exhaustive list of attributes is available in Upload asset. If you have any questions, contact the Equativ team.
| Attribute | Data type | Description | Example |
|---|---|---|---|
accountId |
integer | ID of the client account. | 4 |
id |
integer | ID of the asset, generated by Kamino. | 1234 |
location |
string | URL of the content on our CDN. This attribute is required when attaching the asset to a creative. |
https://cdn.kaminoretail.io/creative-assets/.../0f8a137f-5357-4353-98f9-e15d374b9.mp4
|
mimetype |
string | Mimetype of the asset. | video/mp4 |
name |
string | Name of the asset, generated by Kamino. | 1dd4a1b9-f9d3-46a4-916b-8a899066ba66 |
size |
integer |
Size of the asset in bytes. Maximum size: 64 MB. |
134225 |