Apinoa Docs

Ads

Every ad an advertiser ran, every ad that leads to a website, or a country's political ads, from the Google Ads Transparency Center.

View raw .mdx
GET | POST /v1/google-ads/ads

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

Request

curl "https://gateway.apinoa.com/v1/google-ads/ads?political=true&country=US" \
  -H "x-api-key: $APINOA_API_KEY"

What to Pass

PassReadsNotes
advertiserEvery ad these advertisers ranUp to 10 advertiser ids (AR…), comma-separated
domainEvery ad that leads to this website, whichever advertiser ran itnike.com
political=truePolitical adsAlone (with country), or with advertiser or domain

Pass advertiser or domain. The filters (country, platform, format, startDate, endDate, political) work with either.

Parameters

ParameterTypeRequiredNotes
advertiserstring listEvery ad these advertisers ran: up to 10 advertiser ids (AR…), comma-separated (advertisers?query= finds one by name).
countrystringOnly ads shown in this country (ISO 3166-1 alpha-2). Default: anywhere.
cursorstringOpaque cursor from the previous page's cursor. Pass it alone for the next page.
domainstringEvery ad that leads to this website (nike.com), whichever advertiser ran it.
endDatestringOnly ads shown on or before this day (YYYY-MM-DD).
formatenumOnly ads of this format: text, image or video. text image video
limitinteger 1–100Ads per page, 1–100 (default 40).
platformenumOnly ads shown on this Google platform: search, youtube, shopping, maps or play. play maps search shopping youtube
politicalbooleanPolitical ads only (the Transparency Center's political ads report): these state impressions, spend and regions.
startDatestringOnly ads shown on or after this day (YYYY-MM-DD).

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns AdPage in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "library": "google-ads",
    "items": [
      {
        "library": "google-ads",
        "id": "CR12655672276457357313",
        "url": "https://adstransparency.google.com/advertiser/AR16405420687142944769/cre…",
        "advertiser": {
          "id": "AR16405420687142944769",
          "name": "Claire M Sheehan",
          "url": "https://adstransparency.google.com/advertiser/AR16405420687142944769?reg…"
        },
        "format": "VIDEO",
        "firstShownAt": "2026-04-27T21:28:26.000Z",
        "lastShownAt": "2026-11-26T10:53:12.000Z",
        "impressions": {
          "lower": 9000,
          "upper": 10000
        },
        "spend": {
          "lower": 0,
          "upper": 100
        },
        "currency": "USD",
        "images": [],
        "videos": [],
        "cards": [],
        "countries": [
          {
            "country": "US"
          }
        ],
        "ext": {
          "daysShown": 213,
          "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…"
        }
      },
      {
        "library": "google-ads",
        "id": "CR05008684663233839105",
        "url": "https://adstransparency.google.com/advertiser/AR17096688148651442177/cre…",
        "advertiser": {
          "id": "AR17096688148651442177",
          "name": "ONE BLACK RABBIT LLC",
          "url": "https://adstransparency.google.com/advertiser/AR17096688148651442177?reg…"
        },
        "format": "VIDEO",
        "firstShownAt": "2026-11-23T08:01:48.000Z",
        "lastShownAt": "2026-11-26T10:51:22.000Z",
        "impressions": {
          "lower": 9000,
          "upper": 10000
        },
        "spend": {
          "lower": 100,
          "upper": 200
        },
        "currency": "USD",
        "images": [],
        "videos": [],
        "cards": [],
        "countries": [
          {
            "country": "US"
          }
        ],
        "ext": {
          "daysShown": 4,
          "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…"
        }
      }
    ],
    "cursor": "NCDFmqSVNCZe1x7I2Dlpdve6UW2f6CepaQCZa9AfPYkj6ap8pJiJDz0cbxyQD3Gx7OgZ5jaP…",
    "total": 977094
  }
}

Errors

StatusCodeMeaning
400INVALID_CURSORThe cursor is not one this operation returned. Start again without it.
400INVALID_PARAMSA parameter is missing, unknown or out of range. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_CREDITSYour credits do not cover this call. Choose a plan or top up in the dashboard.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe platform answered with something unusable. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price 1 credit per call. Plans and credits.

Notes

  • An AdPage, the same record every library in the Ads API returns. What only the Transparency Center states is in ext.
  • How many ads match is stated as a range for most searches (totalRange, e.g. 8000–9000) and exactly for small and political ones (total). Neither is rounded or estimated.
  • Political ads also carry impressions and spend as stated ranges, the currency of the spend, and the countries they ran in. Other ads carry no impressions or spend: Google does not publish them.
  • Most text ads are listed as a picture of the ad (images, with its width and height); others have a preview in ext.previewUrl. ad?include=content reads an ad's text from its preview.
  • ext.daysShown is on how many days the ad was shown, and ext.matchedDomain the website a domain search matched it on.
  • url is the ad's page in the Transparency Center; ad?id= takes it as it is.
  • Up to 100 ads a page (limit, default 40). For the next page, pass cursor alone.

On this page