Update Creative Set
PS: You need to use Token to change the status, for more details, please check Token
This interface can be used to update creative groups
Request method
https://ss-api.mintegral.com/api/open/v1/creative_set
Request method
PUT
Request example
json
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"
}
]
}
Request Params
field | dataType | isRequired | desc | defaultValue |
---|---|---|---|---|
offer_id | int | Y | Offer ID | — |
creative_set_name | string | Y | Creative Set Name | — |
geos | array<string> | N | Countries/regions where creative sets are used | — |
ad_outputs | array<int> | N | The types of ideas the creative set expects to assemble are listed below [enum - ad_output] | — |
creatives | array<object> | N | List of creatives bound to the creative set | — |
option | string | Y | The edit mode of this material in the creative group: ENABLE for addition, DISABLE for deletion | — |
creative_name | string | Y | Creative Name | — |
creative_md5 | string | Y | Creative MD5 | — |
Response
field | dataType | desc |
---|---|---|
code | int | 200 code, is success. Others, are fail |
msg | string | If success, return to "success". If fail, return to detailed wrong info |
data | json | If success, return to "success". If fail, return to detailed wrong info |
Response Example
json
{
"msg": "success",
"code": 200,
"data": {}
}