---
title: "Ad"
description: "One ad from the Google Ads Transparency Center in full: every version, where it ran, its targeting, who paid, and optionally its text."
---

> 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/ad
```

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/ad?advertiser=AR16735076323512287233&id=CR01003845904182018049&country=DE&include=content" \
  -H "x-api-key: $APINOA_API_KEY"
```

```js tab="JavaScript"
const params = new URLSearchParams({ advertiser: "AR16735076323512287233", id: "CR01003845904182018049", country: "DE", include: "content" });
const res = await fetch(`https://gateway.apinoa.com/v1/google-ads/ad?${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/ad",
    params={"advertiser": "AR16735076323512287233", "id": "CR01003845904182018049", "country": "DE", "include": "content"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## What to Pass

| Pass | Reads | Notes |
|---|---|---|
| `id` + `advertiser` | The ad | The ad's id (`CR…`) and its advertiser's (`AR…`) |
| `id` alone | The ad | The ad's Transparency Center URL (`…/advertiser/AR…/creative/CR…`) |

`country` decides which countries come back, and for an ad shown in the EU their impressions; without it the URL's region is used, else anywhere.

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `advertiser` | string |  | The advertiser id (AR…) that ran the ad; not needed with the ad's URL. |
| `country` | string |  | The country to read the ad for: it decides which countries come back, and in the EU their impressions. Default: the URL's region, else anywhere. |
| `id` | string |  | The ad's id (CR…) with `advertiser`, or the ad's Transparency Center URL (…/advertiser/AR…/creative/CR…). |
| `include` | string list |  | content: also read each version's preview — the ad's text and pictures as it shows them, in `cards`. Best-effort: one unit per preview read; a preview that cannot be read is not billed and the ad is still returned. |
| `political` | boolean |  | Read the ad from the political ads report (as `ads?political=true` lists it). |

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

## Response

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

```json
{
  "success": true,
  "data": {
    "library": "google-ads",
    "id": "CR01003845904182018049",
    "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/cre…",
    "advertiser": {
      "id": "AR16735076323512287233",
      "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233?reg…"
    },
    "paidBy": "Nike, Inc.",
    "format": "IMAGE",
    "lastShownAt": "2026-11-25T14:07:30.000Z",
    "images": [],
    "videos": [],
    "cards": [
      {
        "text": "FC Barcelona 2026/27 Stadium Home Nike Men's Dri-FIT Soccer Replica Jers…",
        "ext": {
          "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…",
          "contentImages": [
            "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTloVQt6GPLNB8OEv…"
          ],
          "contentMeta": {
            "creativeType": 38,
            "seedType": 37,
            "variationType": 53,
            "width": 154,
            "height": 305
          }
        }
      }
    ],
    "categories": [
      "Apparel & Accessories"
    ],
    "countries": [
      {
        "country": "NL",
        "impressions": {
          "lower": 0,
          "upper": 1000
        },
        "lastShownAt": "2024-08-09",
        "ext": {
          "firstShownAfterEpochDate": "2023-03-10",
          "platforms": [
            {
              "platform": "shopping",
              "impressions": {
                "lower": 0,
                "upper": 1000
              }
            }
          ]
        }
      },
      {
        "country": "PL",
        "impressions": {
          "lower": 0,
          "upper": 1000
        },
        "lastShownAt": "2024-08-05",
        "ext": {
          "firstShownAfterEpochDate": "2023-03-25",
          "platforms": [
            {
              "platform": "shopping",
              "impressions": {
                "lower": 0,
                "upper": 1000
              }
            }
          ]
        }
      }
    ],
    "ext": {
      "category": {
        "googleProductCategory": {
          "categoryId": 166,
          "categoryName": "Apparel & Accessories"
        },
        "source": 2
      },
      "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…",
      "targeting": {
        "categories": {
          "demographics": {
            "included": true,
            "excluded": false
          },
          "geography": {
            "included": true,
            "excluded": false
          },
          "contextual": {
            "included": false,
            "excluded": false
          }
        }
      },
      "eea": {
        "impressions": {
          "lower": 3000,
          "upper": 4000
        },
        "lastShownAt": "2024-08-27",
        "platforms": [
          {
            "platform": "shopping",
            "impressions": {
              "lower": 2000,
              "upper": 3000
            }
          }
        ],
        "ext": {
          "firstShownAfterEpochDate": "2023-03-01"
        }
      }
    }
  }
}
```

## Errors

| Status | Code | Meaning |
|---|---|---|
| 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. |
| 404 | `NOT_FOUND` | The ad does not exist in the Ads Transparency Center. |
| 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, plus 1 credit for each extra call it makes — at most 10 more, so 11 credits in total. [Plans and credits](https://apinoa.com/en/pricing).

## Notes

- An `Ad`, 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`.
- `cards` is every version of the ad: an archived picture (`image`, with its size) or a preview (`ext.previewUrl`).
- `countries` lists where the ad was shown and when it was last shown there. For ads shown in the EU (read with an EU `country`) and political ads, each also carries its impressions as a stated range, per Google platform in its `ext.platforms` where stated; `ext.eea` and `ext.us` give the totals.
- `ext.targeting` says which kinds of targeting an EU ad used (demographics, geography, contextual…) and, for a political ad, its location criteria. `paidBy` is who paid for the ad, `categories` Google's category for what it promotes, and `aiGenerated` is set when Google marks synthetic media.
- `include=content` also reads each preview: the card's `text` is the text it shows, one line per text in order (placeholders the preview itself shows, such as `<Open Hours>`, are kept), and `ext.contentImages` the pictures it loads. It costs one unit per preview read. A preview that cannot be read is left out and not billed; the ad is still returned. Pictures of an ad (`image`) are not read as text.
- The Transparency Center does not publish video files, so `videos` is empty; a video ad's preview is in `ext.previewUrl`.
