Upload creative file
HTTP method
Endpoint
POST
/v1/offers/{offer_id}/creatives
Path parameters
Parameter
Description
offer_id
The unique id for the offer.
Note:10 creative files can be uploaded in maximum, and more than 1 creative file can be upload at one time. Creative files support formats include zip, jpeg, jpg, png, gif; A single file cannot exceed 20M, and the image pixel must between 50 to 3200 in both length and width.
Request body parameters
Field
Type
Description
Nullable
file
file
Upload the file.
No
Response body parameters
Field
Type
Description
id
integer
A string that uniquely identifies this creative.
offer_id
integer
A string that uniquely identifies this offer.
url
string
The url of the creative preview.
mime
string
content-type.
size
integer
The size of the file in bytes.
width
integer
The width of the image.
height
integer
The height of the image.
filename
string
The name of the file that was uploaded, optionally passed in.
Example request
Request POST https://{networkname}.api.offerslook.com/v1/offers/23/creatives
Request POST http://{networkname}.api.offerslook.com/v1/offers/23/creatives
Example response
Last updated