快手广告平台:查询图片信息get接口

请求接口:https://ad.e.kuaishou.com/rest/openapi/v1/file/ad/image/get

请求方式:GET

数据格式:JSON

请求参数


字段 类型 是否必填 说明 备注
advertiser_id long 必填 快手广告主ID 在获取access_token的时候返回
image_token string
图片token


请求样例(备注:创建创意时使用)


字段 类型 说明
code int 返回码
message string 返回信息
data struct JSON返回值
url string 图片预览地址
width long 图片宽度
height long 图片高度
size long 图片大小
format string 图片格式
signature string 图片MD5值
image_token string 图片token


返回样例


curl -X GET \
 -H 'Access-Token: 3129597beaf601b9e7' \  -H 'Content-Type: application/json' \  -d '{    "advertiser_id": 20000152,
   "image_token":"market812d0cdf27114ea999bf94404dc252b0.png"
   }'
 -L 'https://ad.e.kuaishou.com/rest/openapi/v1/file/ad/image/get'


返回样例


复制
{    "code": 0,    "message": "OK",    "data": {        "url": "http://static.yximgs.com/udata/pkg/market812d0cdf2704dc252b0.png",        "width": 450,        "height": 450,        "size": 52527,        "format": "png",        "signature":"69d99a7c1fdf3f4b271b",        "image_token": "27114ea999bf94404dc252b0.png"
   }
}


文章均来自互联网如有不妥请联系作者删除QQ:314111741 地址:http://www.mqs.net/post/8668.html

相关阅读

添加新评论