Skip to main content
POST
/
api
/
v2
/
network
/
offers
/
{offer_id}
/
creatives
Create creative
curl --request POST \
  --url 'https://{domain}/api/v2/network/offers/{offer_id}/creatives?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "string",
  "type": 1,
  "status": 1,
  "description": "Sample description",
  "image": "string",
  "image_data": "string",
  "image_width": 1,
  "image_height": 1
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>",
  "info": {
    "creative": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api-key
string
query
required

API key passed as query parameter. User must have api_status enabled.

Path Parameters

offer_id
integer
required

Offer ID.

Body

application/json
title
string
required
Maximum string length: 128
type
integer
required

1=banner, 2=email, 3=other, 4=xml_feed.

status
integer
required
description
string
image
string
image_data
string

Base64-encoded image data (required for banner type).

image_width
integer
image_height
integer
offer_url_id
integer

Landing page ID (required for banner/email/other).

count_impressions
enum<integer>
Available options:
0,
1
html_code
string

HTML code (required for email/other type).

plain_text
string
xml_feed_url
string

XML feed URL (required for xml_feed type).

language
string

ISO 639-1 language code.

Maximum string length: 128
categories_ids
integer[]

Response

Creative created.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object