Creative
Auth: Brand API authentication
creative/list
| Key | Description | Required | Type |
|---|---|---|---|
status | Status | No | Array |
privacy | Permission | No | Array |
keyword | Keyword | No | string |
start_time | Start Time | No | string |
end_time | End Time | No | string |
type | Type | Yes | string |
page_num | Page Number | No | string |
page_size | Page Size | No | string |
Request:
{
"type": "IMAGE",
"status": ["Active"],
"privacy": ["PUBLIC"],
"start_time": "1681282362",
"end_time": "1683874362",
"page_num": "1",
"page_size": "10"
}
creative/create
| Key | Description | Required | Type |
|---|---|---|---|
type | Type | No | string |
link | Link (Required when type == TEXT) | No | string |
content | Content (Required when type == TEXT) | No | string |
images | Images (Required when type == IMAGE) | No | Array |
alternate | Alternate Text | No | string |
category | Category | No | string |
start_time | Start Time | Yes | string |
end_time | End Time | Yes | string |
privacy | Privacy | No | string |
site_ids | Site ids (Required when privacy == PRIVATE) | No | Array |
title | Title | No | string |
highligh | High light | No | Array |
Request:
{
"title": "Summer banner",
"privacy": "PUBLIC",
"start_time": "1681282362",
"end_time": "1683874362",
"type": "TEXT",
"link": "https://example.com/sale",
"content": "20% off this week",
"alternate": "Summer sale",
"category": "Promotion",
"highligh": []
}
Response:
{ "code": 0, "data": [132508], "msg": "success" }
creative/modify
| Key | Description | Required | Type |
|---|---|---|---|
alternate | Alternate Text | No | string |
category | Category | No | string |
id | ID | Yes | string |
start_time | Start Time | No | string |
end_time | End Time | No | string |
privacy | Privacy | No | string |
type | Type | No | string |
link | Link (Required when type == TEXT) | No | string |
content | Content (Required when type == TEXT) | No | string |
title | Title | No | string |
Request:
{
"id": "132505",
"title": "Updated title",
"privacy": "PUBLIC",
"alternate": "Updated alt",
"category": "Promotion"
}