Domain Image Ads API
Query image ad assets under one domain.
Endpoint
GET /api/v1/ads-statistics?action=domainImageAds&hostId=598&startDay=20260301&endDay=20260331Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | Fixed value: domainImageAds |
hostId | number | Yes | Plain host ID |
startDay | string | Yes | Date in YYYYMMDD |
endDay | string | Yes | Date in YYYYMMDD |
Example
GET /api/v1/ads-statistics?action=domainImageAds&hostId=598&startDay=20260301&endDay=20260331
Authorization: Bearer YOUR_API_KEYResponse Example
{
"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"
}
}
}Response Fields
| Field | Description |
|---|---|
data.endpoint | Fixed value: ads-statistics |
data.action | Fixed value: domainImageAds |
data.costCredits | Credits consumed by this request |
data.remainingCredits | Remaining credits after deduction |
data.query.action | Normalized action name |
data.query.hostId | Plain host ID |
data.query.startDay | Normalized start date |
data.query.endDay | Normalized end date |
data.result | Object keyed by Ads Transparency detail URL |
data.result.<detailUrl> | Image asset or bundle URL |