Advertiser Statistics API
Query weekly advertiser statistics from Google Ads transparency data.
Endpoint
GET /api/v1/ads-statistics?action=advertiserStatistics&advertiserId=39687&startDay=2026-03-01&endDay=2026-03-31Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | Fixed value: advertiserStatistics |
advertiserId | number | Yes | Plain advertiser ID |
startDay | string | Yes | Date in YYYY-MM-DD |
endDay | string | Yes | Date in YYYY-MM-DD |
Example
GET /api/v1/ads-statistics?action=advertiserStatistics&advertiserId=39687&startDay=2026-03-01&endDay=2026-03-31
Authorization: Bearer YOUR_API_KEYResponse Example
{
"code": "ok",
"message": "ok",
"data": {
"endpoint": "ads-statistics",
"action": "advertiserStatistics",
"costCredits": 3,
"remainingCredits": 97,
"query": {
"action": "advertiserStatistics",
"advertiserId": "39687",
"startDay": "2026-03-01",
"endDay": "2026-03-31"
},
"result": {
"adsAdvertiser": {
"advertiser": "ai.law",
"country": "US",
"countryName": "United States",
"id": 39687
},
"hostWeekStatistics": [
{
"adCount": 8,
"host": {
"domain": "ai.law",
"host": "www.ai.law",
"id": 141835
},
"month": 202603,
"week": 1
}
],
"weekHostStatistics": [
{
"month": 202603,
"week": 1,
"adsHostAdvertiserWeeklyList": [
{
"adCount": 8,
"advertiserId": 39687,
"hostId": 141835,
"month": 202603,
"week": 1,
"host": {
"domain": "ai.law",
"host": "www.ai.law",
"id": 141835
},
"advertiser": {
"advertiser": "ai.law",
"country": "US",
"countryName": "United States",
"id": 39687
},
"countries": [
{
"adCount": 8,
"country": "US",
"countryName": "United States"
}
]
}
]
}
]
}
}
}Response Fields
| Field | Description |
|---|---|
data.endpoint | Fixed value: ads-statistics |
data.action | Fixed value: advertiserStatistics |
data.costCredits | Credits consumed by this request |
data.remainingCredits | Remaining credits after deduction |
data.query.action | Normalized action name |
data.query.advertiserId | Plain advertiser ID |
data.query.startDay | Normalized start date |
data.query.endDay | Normalized end date |
data.result.adsAdvertiser | Advertiser profile |
data.result.hostWeekStatistics | Weekly host breakdown for the advertiser |
data.result.hostWeekStatistics[].host | Host profile for that row |
data.result.hostWeekStatistics[].adCount | Ad count for that host/week |
data.result.weekHostStatistics | Week-grouped detailed rows |
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList | Detailed weekly records |
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].advertiserId | Plain advertiser ID |
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].hostId | Plain host ID |
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].countries | Country-level ad counts |