offers を管理するには、Mintegral token を使用する必要があります。詳細は Token を確認してください。
creative_md5、creative_name、creative_type、resolutionに基づいてcreative listsを取得し、照会をサポートする方法は以下のとおりです。
https://ss-api.mintegral.com/api/open/v1/creatives/source
GET
GET /api/open/v1/creatives/source
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
{ "page": 1, "creative_type": "VIDEO", "limit": 10 }
| Fields | Type | Explanations | Default Value | Examples |
|---|---|---|---|---|
creative_md5 Optional |
string | creativeのUnique md5。複数のmd5は,で区切ってください。Note: 1回の検索で指定できる最大数は200です。 |
— | "0a6335cd9151ac5dc79ad996f4e12674" |
creative_name Optional |
string | Creative name | — | "creative_test.png" |
creative_type Optional |
string | Creative Type。含まれる値:"IMAGE" 、"VIDEO"、"PLAYABLE" |
— | "IMAGE" |
resolution Optional |
string | creativeのResolution。複数のmd5は . で区切ってください。 Note: 1回の検索で指定できる最大数は200です。 |
— | "1200x627" |
page Optional |
int | Page | 1 | 1 |
limit Optional |
int | 各pageのLimit。Maximum: 200 >200の場合は200を返します |
200 | 50 |
| Fields | Type | Explanations |
|---|---|---|
| code | int | 200 codeはsuccessです。その他はfailです。 |
| msg | string | successの場合は"success"を返します。failの場合は詳細なerror infoを返します。 |
| data | json | successの場合はcreatives dataを返します。failの場合は詳細なerror infoを返します。 |
| page | int | current page |
| limit | int | quantity limit |
| total | int | total amount |
| list | array<json> | |
| creative_type | string | Creative Type。含まれる値:"IMAGE"、"VIDEO"、"PLAYABLE" |
| creative_md5 | string | creativeのUnique md5 |
| creative_name | string | Creative name |
| resolution | string | creativeのPixelまたはdimension |
| size | number | creativeのSize。単位はKBです。 |
| language | string | playable adsのLanguage |
| platform | string | playable adsのApplicable platform。Enum value: "ANDROID"、"IOS"、"ALL" |
{
"code": 200,
"msg": "success",
"data": {
"page": 1,
"limit": 2,
"total": 4,
"list": [
{
"creative_type": "IMAGE",
"creative_name": "dd.png",
"creative_md5": "0a6335cd9151ac5dc79ad996f4e12674",
"resolution": "300x300",
"size": 10.039,
"language": null,
"platform": null
},
{
"creative_type": "IMAGE",
"creative_name": "aaa.png",
"creative_md5": "0a6335cd9151ac5dc79ad996f4e12674",
"resolution": "300x300",
"size": 10.039,
"language": null,
"platform": null
}
]
}
}