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
endDaystringYesDate 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_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": [
            {
              "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

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.hostWeekStatisticsWeekly host breakdown for the advertiser
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[].adsHostAdvertiserWeeklyListDetailed weekly records
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].advertiserIdPlain advertiser ID
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].hostIdPlain host ID
data.result.weekHostStatistics[].adsHostAdvertiserWeeklyList[].countriesCountry-level ad counts