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-31

Parameters

ParameterTypeRequiredDescription
actionstringYesFixed value: advertiserStatistics
advertiserIdnumberYesPlain advertiser ID
startDaystringYesDate in YYYY-MM-DD; the selected range can cover at most 8 Google Ads weekly buckets
endDaystringYesDate in YYYY-MM-DD; the selected range can cover at most 8 Google Ads weekly buckets

Limits

  • startDay and endDay can cover at most 8 Google Ads weekly buckets: days 1-7, 8-14, 15-21, and 22-end of each month.
  • The response contains active weekly rows only. Zero-count host/week rows are omitted.
  • If the selected range still produces more than 20,000 active weekly rows, the API returns an error. Narrow the date range and retry.

Example

GET /api/v1/ads-statistics?action=advertiserStatistics&advertiserId=39687&startDay=2026-03-01&endDay=2026-03-31
Authorization: Bearer YOUR_API_KEY

Response 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": [
            {
              "id": 900001,
              "adCount": 8,
              "advertiserId": 39687,
              "hostId": 141835,
              "month": 202603,
              "week": 1,
              "host": {
                "domain": "ai.law",
                "host": "www.ai.law",
                "id": 141835
              },
              "countries": [
                {
                  "adCount": 8,
                  "country": "US",
                  "countryName": "United States"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Response Fields

FieldDescription
data.endpointFixed value: ads-statistics
data.actionFixed value: advertiserStatistics
data.costCreditsCredits consumed by this request
data.remainingCreditsRemaining credits after deduction
data.query.actionNormalized action name
data.query.advertiserIdPlain advertiser ID
data.query.startDayNormalized start date
data.query.endDayNormalized end date
data.result.adsAdvertiserAdvertiser profile
data.result.hostWeekStatisticsActive weekly host breakdown for the advertiser; zero-count host/week rows are omitted
data.result.hostWeekStatistics[].hostHost profile for that row
data.result.hostWeekStatistics[].adCountAd count for that host/week
data.result.weekHostStatisticsWeek-grouped detailed rows
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyListActive detailed weekly records
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].advertiserIdPlain advertiser ID
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].hostIdPlain host ID
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].countriesCountry-level ad counts