Partners
Auth: Brand API authentication
publisher/publisher_list
| Key | Description | Required | Type |
|---|---|---|---|
publisher_group_account_id | Publisher Group Account ID (formerly publisher_id) | No | int |
publisher_id | Publisher ID (formerly channel_id) | No | int |
status | Status | No | string |
page | Page | No | int |
page_size | Page Size | No | int |
Request:
{
"publisher_group_account_id": 109271,
"publisher_id": 40837,
"status": "joined",
"page": 1,
"page_size": 20
}
Response fields
| Key | Description | Type |
|---|---|---|
publisher_id | Publisher ID | string |
publisher_name | Publisher Name | string |
status | Status | string |
title | Title | string |
host | Host | string |
word | Word | array |
userid | User ID | string |
medium_id | Medium ID | string |
category | Category | array |
description | Publisher Description | string |
promotion_method | Promotion Method | array |
publisher_group_account | Publisher Group Account | object |
publisher_group_account.publisher_group_account_id | Publisher Group Account ID | string |
publisher_group_account.publisher_group_account_name | Publisher Group Account Name | string |
publisher_group_account.description | Publisher Group Account Description | string |
Response (abbreviated):
{
"code": 0,
"msg": "success",
"data": [
{
"publisher_id": "40837",
"publisher_name": "aaa_bait",
"status": "adopt",
"title": "s1",
"host": "http://s1.host",
"word": ["2123", "2413213"],
"userid": "109271",
"medium_id": "PB00040837",
"category": ["Food & Drink"],
"description": "",
"promotion_method": ["affiliate"],
"publisher_group_account": {
"publisher_group_account_id": "109271",
"publisher_group_account_name": "aaa_bai",
"description": ""
}
}
]
}
publisher/maintenance
Approve, reject, block, or terminate publisher channels.
| Key | Description | Required | Type |
|---|---|---|---|
userId | User id (One of userId and site_ids is required) | Yes | string |
site_ids | Site ids (One of userId and site_ids is required) | Yes | string |
mail_id | Mail id | No | string |
auto_approve | Auto Approve | No | int |
status | Status (adopt / unblock / terminated / refuse) | Yes | string |
Request:
{
"site_ids": "40828",
"auto_approve": 1,
"status": "adopt"
}
Response:
{ "code": 0, "data": null, "msg": "success" }
Error codes
| Code | Description |
|---|---|
0 | Success |
1000 | Publisher does not exist |
1001 | Invalid token |
1002 | Call frequency too high |
1003 | Missing required parameters or incorrect format |