Platforms/Google/Ad

Google Ads Transparency Ad API

GET ยท 1 credit

Send an ad's id or link, and get its advertiser, format, every version of it, the countries it was shown in and when it was last shown.

GET /v1/google/ad-library/ads

Example request

const url = `${process.env.API_URL}/v1/google/ad-library/ads?url=https%3A%2F%2Fadstransparency.google.com%2Fadvertiser%2FAR16735076323512287233%2Fcreative%2FCR07264436911983296513`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
creative_idNoAn ad's id: CR and 20 digits, the company ads endpoint's creative_id. Give creative_id or url.
urlNoAn ad's link: adstransparency.google.com/advertiser/<id>/creative/<id>. Give creative_id or url.

Example response

{
  "data": {
    "advertiser_id": "AR16735076323512287233",
    "creative_id": "CR07264436911983296513",
    "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR07264436911983296513",
    "advertiser_name": "Nike, Inc.",
    "domain": null,
    "format": "image",
    "first_shown": null,
    "last_shown": "2026-11-29",
    "preview_url": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&creative=1",
    "image_url": "https://tpc.googlesyndication.com/archive/simgad/1234567890",
    "variations": [
      {
        "preview_url": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&creative=1&variation=1",
        "image_url": "https://tpc.googlesyndication.com/archive/simgad/1234567890"
      },
      {
        "preview_url": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&creative=1&variation=2",
        "image_url": "https://tpc.googlesyndication.com/archive/simgad/1234567891"
      }
    ],
    "countries": [
      "US",
      "CA",
      "GB"
    ]
  },
  "page": null,
  "meta": {
    "platform": "google",
    "endpoint": "ad",
    "params": {
      "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR07264436911983296513"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Where do ad ids come from?

From Company ads, as creative_id (CR and 20 digits), or from an ad's link: adstransparency.google.com/advertiser/<id>/creative/<id>.

What's in variations?

Each version of the ad, with a preview link that draws it and, for an ad Google keeps as an image, its image.

Why is first_shown empty?

The ad's own page doesn't give it; Company ads lists each ad with its first and last shown dates.

Works with

On other platforms

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required