Skip to content

Upload Creatives

PS: You need to use Token to change the status, for more details, please check Token

Through this interface, you could update creatives to get MD5, and then apply in offers.

Request Address

Upload Image / Upload Video

https://ss-storage-api.mintegral.com/api/open/v1/creatives/upload

Upload Playable

https://ss-storage-api.mintegral.com/api/open/v1/playable/upload

Request Method

POST

Request Example

json
POST /api/open/v1/creatives/upload
HTTP/1.1 Host: ss-storage-api.mintegral.com
Content-Type: multipart/form-data;boundary=xxxx

Request Parameter

FieldsTypeExplanationsDefault ValueExamples
filefileCreative file detail. If md5 of file is already existed, error happened.

Response

FieldsTypeExplanations
codeint200 code, is success. Others, are fail.
msgstringIf success, return to "success". If fail, return to detailed wrong info.
datajsonIf success, return to creative data. If fail, return to detailed wrong info.
creative_md5stringMD5 for creative which has been uploaded successfully.
creative_namestringCreative name, please note, creative name must be letters, digits, or the underscore

Response Example

json
{
  "msg": "success",
  "code": 200,
  "data": {
    "creative_md5": "0a6335cd9151ac5dc79ad996f4e12674",
    "creative_name": "creative_test.png"
  }
}