Domain Image Ads API
查询指定域名下的图片广告素材。
接口地址
GET /api/v1/ads-statistics?action=domainImageAds&hostId=598&startDay=20260301&endDay=20260331请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
action | string | 是 | 固定值:domainImageAds |
hostId | number | 是 | 明文 host ID |
startDay | string | 是 | 日期格式 YYYYMMDD |
endDay | string | 是 | 日期格式 YYYYMMDD |
请求示例
GET /api/v1/ads-statistics?action=domainImageAds&hostId=598&startDay=20260301&endDay=20260331
Authorization: Bearer YOUR_API_KEY响应示例
{
"code": "ok",
"message": "ok",
"data": {
"endpoint": "ads-statistics",
"action": "domainImageAds",
"costCredits": 2,
"remainingCredits": 98,
"query": {
"action": "domainImageAds",
"hostId": "598",
"startDay": "20260301",
"endDay": "20260331"
},
"result": {
"https://adstransparency.google.com/advertiser/AR02788840342533701633/creative/CR05409403162035486721?region=anywhere": "https://tpc.googlesyndication.com/archive/simgad/9793661073103132559",
"https://adstransparency.google.com/advertiser/AR02788840342533701633/creative/CR08716171188432273409?region=anywhere": "https://tpc.googlesyndication.com/archive/sadbundle/$csp%3Darchive$/7034451900108615439/index.html"
}
}
}响应字段
| 字段 | 说明 |
|---|---|
data.endpoint | 固定值 ads-statistics |
data.action | 固定值 domainImageAds |
data.costCredits | 本次请求消耗积分 |
data.remainingCredits | 扣费后的剩余积分 |
data.query.action | 规范化后的 action |
data.query.hostId | 明文 host ID |
data.query.startDay | 规范化后的开始日期 |
data.query.endDay | 规范化后的结束日期 |
data.result | 以详情页 URL 为 key 的对象 |
data.result.<detailUrl> | 对应的图片素材或 bundle 地址 |