Apinoa Docs

Ad

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

View raw .mdx
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

curl "https://gateway.apinoa.com/v1/google-ads/ad?advertiser=AR16735076323512287233&id=CR01003845904182018049&country=DE&include=content" \
  -H "x-api-key: $APINOA_API_KEY"

What to Pass

PassReadsNotes
id + advertiserThe adThe ad's id (CR…) and its advertiser's (AR…)
id aloneThe adThe 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

ParameterTypeRequiredNotes
advertiserstringThe advertiser id (AR…) that ran the ad; not needed with the ad's URL.
countrystringThe 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.
idstringThe ad's id (CR…) with advertiser, or the ad's Transparency Center URL (…/advertiser/AR…/creative/CR…).
includestring listcontent: 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.
politicalbooleanRead 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.

Response

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

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

StatusCodeMeaning
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.
404NOT_FOUNDThe ad does not exist in the Ads Transparency Center.
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, plus 1 credit for each extra call it makes — at most 10 more, so 11 credits in total. Plans and credits.

Notes

  • An Ad, the same record every library in the Ads API 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.

On this page