v1

latestOpenAPI 3.0.32026-07-2226694862.5 KB
Creatives

Create Creative

post/networks/creatives

Request body

network_offer_idinteger required

The ID of the offer this creative belongs to. Only required when creating a new creative on its own (not part of an offer creation).

namestring required

Name of the creative.

creative_type'image' | 'html' | 'thumbnail' | 'email' | 'archive' | 'video' | 'text' | 'link' required

Type of the creative. Can be one of: image, html, thumbnail, email, archive, video, text, or link.

is_privateboolean required

Whether the creative is accessible by all affiliates.

creative_status'active' | 'paused' | 'deleted' required

Status of the creative. Can be active, paused, or deleted.

html_codestring

HTML content of the creative. Required only if creative_type is html, email, or link.

widthinteger

Width of the creative. Required only if creative_type is html.

heightinteger

Height of the creative. Required only if creative_type is html.

email_fromstring

Content of the From field of the email. Required only if creative_type is email.

email_subjectstring

Content of the Subject field of the email. Required only if creative_type is email.

additional_offer_idsinteger[] required

IDs of all additional offers linked to this creative.

is_apply_specific_affiliatesboolean required

Whether to restrict the creative to specific affiliates. Defaults to false.

Response

network_offer_creative_idinteger

Unique creative ID.

network_idinteger

Network ID.

network_offer_idinteger

Associated offer ID.

namestring

Name of the creative.

creative_type'image' | 'html' | 'thumbnail' | 'email' | 'archive' | 'video' | 'text' | 'link'

Type of the creative. Can be one of: image, html, thumbnail, email, archive, video, text, or link.

is_privateboolean

Whether the creative is accessible by all affiliates.

creative_status'active' | 'paused' | 'deleted'

Status of the creative. Can be active, paused, or deleted.

resource_urlstring

URL to the creative resource file.

html_codestring

HTML content of the creative. Present when creative_type is html, email, or link.

widthinteger

Width of the creative in pixels.

heightinteger

Height of the creative in pixels.

email_fromstring

Content of the From field of the email.

email_subjectstring

Content of the Subject field of the email.

time_createdinteger

Unix timestamp of creation.

time_savedinteger

Unix timestamp of last update.

additional_offer_idsinteger[] nullable

IDs of all additional offers linked to this creative.

is_apply_specific_affiliatesboolean

Whether the creative is restricted to specific affiliates.

email_subject_linesstring

Additional email subject lines for the creative.

email_from_linesstring

Additional email from lines for the creative.

Example response

{
  "time_created": 1734455015,
  "time_saved": 1734455015
}