Skip to main content
POST
Replace the File on an Image Creative

Authorizations

Authorization
string
header
required

API key en el header Authorization: Basic TU_API_KEY. La key va tal cual, sin codificar en base64. Las credenciales se entregan al comenzar la integración.

Body

multipart/form-data
file
string
required

The absolute or relative path to the image (JPEG, PNG, or GIF) file.

Example:

"@/path/to/image.png"

Response

default - application/json

successful operation

description
integer

A short description of the creative.

Example:

""

group
integer

The media group identifier (ID).

Example:

87

name
string

A descriptive name of the creative.

Example:

"Demo Creative"

file_size
integer

The size of the uploaded image file.

Example:

329438

uploaded_time
string<date-time>

The date and time when the file was uploaded.

Example:

"2019-04-21 13:22:59"

height
integer

The height of the creative.

Example:

400

width
integer

The width of the creative.

Example:

650

object
string

A string denoting the current resource being requested or affected.

Example:

"image_creative"

id
integer

The current resource identifier (ID).

Example:

115260

self
string

The relative URL of the current resource being requested or affected.

Example:

"/v2/creatives/image/115260"

file_name
string

The name of the uploaded file.

Example:

"creative.png"

mime_type
string

The MIME type of the uploaded creative.

Example:

"image/png"