Skip to content

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

fielddataTypeisRequireddescdefaultValue
offer_idintYOffer ID
creative_set_namestringYCreative Set Name
geosarray<string>NCountries/regions where creative sets are used
ad_outputsarray<int>NThe types of ideas the creative set expects to assemble are listed below [enum - ad_output]
creativesarray<object>NList of creatives bound to the creative set
   optionstringYThe edit mode of this material in the creative group: ENABLE for addition, DISABLE for deletion
   creative_namestringYCreative Name
   creative_md5stringYCreative MD5

Response

fielddataTypedesc
codeint200 code, is success. Others, are fail
msgstringIf success, return to "success". If fail, return to detailed wrong info
datajsonIf success, return to "success". If fail, return to detailed wrong info

Response Example

json
{
  "msg": "success",
  "code": 200,
  "data": {}
}