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

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/ads/llms.txt)

```http
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

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

```js tab="JavaScript"
const params = new URLSearchParams({ political: "true", country: "US" });
const res = await fetch(`https://gateway.apinoa.com/v1/google-ads/ads?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/google-ads/ads",
    params={"political": "true", "country": "US"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## What to Pass

| Pass | Reads | Notes |
|---|---|---|
| `advertiser` | Every ad these advertisers ran | Up to 10 advertiser ids (`AR…`), comma-separated |
| `domain` | Every ad that leads to this website, whichever advertiser ran it | `nike.com` |
| `political=true` | Political ads | Alone (with `country`), or with `advertiser` or `domain` |

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

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `advertiser` | string list |  | Every ad these advertisers ran: up to 10 advertiser ids (AR…), comma-separated (`advertisers?query=` finds one by name). |
| `country` | string |  | Only ads shown in this country (ISO 3166-1 alpha-2). Default: anywhere. |
| `cursor` | string |  | Opaque cursor from the previous page's `cursor`. Pass it alone for the next page. |
| `domain` | string |  | Every ad that leads to this website (nike.com), whichever advertiser ran it. |
| `endDate` | string |  | Only ads shown on or before this day (YYYY-MM-DD). |
| `format` | enum |  | Only ads of this format: text, image or video. `text` `image` `video` |
| `limit` | integer 1–100 |  | Ads per page, 1–100 (default 40). |
| `platform` | enum |  | Only ads shown on this Google platform: search, youtube, shopping, maps or play. `play` `maps` `search` `shopping` `youtube` |
| `political` | boolean |  | Political ads only (the Transparency Center's political ads report): these state impressions, spend and regions. |
| `startDate` | string |  | Only ads shown on or after this day (YYYY-MM-DD). |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## Response

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

```json
{
  "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

| Status | Code | Meaning |
|---|---|---|
| 400 | `INVALID_CURSOR` | The `cursor` is not one this operation returned. Start again without it. |
| 400 | `INVALID_PARAMS` | A parameter is missing, unknown or out of range. The message names it. |
| 401 | `UNAUTHORIZED` | The `x-api-key` header is missing, or the key is revoked or unknown. |
| 402 | `INSUFFICIENT_CREDITS` | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 429 | `MARKETPLACE_SATURATED` | Too many concurrent calls. Retry after the `Retry-After` seconds. |
| 502 | `UPSTREAM_ERROR` | The platform answered with something unusable. Retry with backoff. |

Every code is listed in [Errors](/docs/errors). Failed calls are not billed.

## Pricing

**Price** 1 credit per call. [Plans and credits](https://apinoa.com/en/pricing).

## Notes

- An `AdPage`, the same record every library in the [Ads API](/docs/api-reference/ads/response-schema) 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.
