请求接口:https://ad.e.kuaishou.com/rest/openapi/v1/tool/creative_word/styles
请求方式:GET
数据格式:JSON
请求参数
| 字段 | 类型 | 是否必填 | 说明 | 备注 |
|---|---|---|---|---|
| advertiser_id | long | 必填 | 快手广告主ID | 在获取access_token的时候返回 |
返回参数
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| message | string | 返回信息 |
| data | struct | JSON返回值 |
| sticker_style_id | int | 贴纸样式ID |
| sticker_styles | struct | 贴纸样式列表 |
| sticker_styles | |||
|---|---|---|---|
| 字段 | 类型 | 说明 | 备注 |
| overlay_type | string | 贴纸样式类型 | 返回格式{stickerstyle_id}{pos},sticker_style_id表示贴纸样式ID,pos表示位置,1: top, 2: mid, 3: bottom |
| overlay_preview_url | string | 贴纸样式预览链接 |
请求样例
curl -X GET \
-H 'Access-Token: 6acd879e43a32b58b5' \
-H 'Content-Type: application/json' \
-d '{
"advertiser_id": 20000152
}' -L https://ad.e.kuaishou.com/rest/openapi/v1/tool/creative_word/styles
返回样例
{ "code": 0, "message": "OK", "data": [
{ "sticker_style_id": 1, "sticker_styles": [
{ "overlay_type": "1_1", "overlay_preview_url": "http://static.yximgs.com/udata/pkg/cover_compose_18108caa985046d297a574ea61ef7674.jpg"
}
]
}
]
}
文章均来自互联网如有不妥请联系作者删除QQ:314111741 地址:http://www.mqs.net/post/8743.html
添加新评论