需要携带 Token,详情看Token
通过此接口可用于更新创意组
https://ss-api.mintegral.com/api/open/v1/creative_set
PUT
PUT /api/open/v1/creative_set HTTP/1.1
Host: ss-api.mintegral.com
Content-Type: application/json
{
"offer_id": 100,
"creative_set_name": "test_group_1",
"geos": [
"US",
"CN"
],
"ad_outputs": [
111,
121,
131,
132
],
"creatives": [
{
"creative_name": "test_creative_1",
"creative_md5": "abcd",
"option": "ENABLE"
},
{
"creative_name": "test_creative_1",
"creative_md5": "abcd",
"option": "DISABLE"
}
]
}
| 字段 | 类型 | 是否必填 | 说明 | 默认值 |
|---|---|---|---|---|
| offer_id | int | Y | 广告单元 ID | — |
| creative_set_name | string | Y | 创意组组名称 | — |
| geos | array<string> | N | 创意组投放地区 | — |
| ad_outputs | array<int> | N | 创意组组装的 创意类型 |
— |
| creatives | array<object> | N | 创意组素材 | — |
| option | string | Y | 此素材在该创意组的编辑方式,ENABLE为新增,DISABLE为删除 |
— |
| creative_name | string | Y | 素材名称 | — |
| creative_md5 | string | Y | 素材md5 | — |
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 200 表示成功,其他表示失败 |
| msg | string | 成功,返回"success",失败返回相应的错误信息 |
| data | json | 如果失败,返回具体的错误信息 |
{
"msg": "success",
"code": 200,
"data": {}
}