Skip to content

How to get a company's Google ads from the Ads Transparency Center

Updated · 2 steps

Google's Ads Transparency Center lists the ads every verified advertiser runs. Fetchproof turns it into two calls: one to find an advertiser and one to list their ads, with first-shown and last-shown dates where Google publishes them.

01

Find the advertiser

Search by name to get advertiser_id values and the domains linked to the brand. Many brands have one advertiser account per country, so check region and number_of_ads_estimate to pick the right one. Pass region to search outside the US.

cURL

curl --request GET 'https://api.fetchproof.com/v1/google/adLibrary/advertisers/search?query=Nike' \
  --header 'x-api-key: YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.fetchproof.com/v1/google/adLibrary/advertisers/search?query=Nike", {
  method: 'GET',
  headers: {
    'x-api-key': process.env.FETCHPROOF_API_KEY,
  },
});
const data = await response.json();
console.log(data);

Python

import os
import requests

response = requests.get(
    "https://api.fetchproof.com/v1/google/adLibrary/advertisers/search?query=Nike",
    headers={"x-api-key": os.environ["FETCHPROOF_API_KEY"]},
)
print(response.json())

Go

package main

import (
  "fmt"
  "io"
  "net/http"
  "os"
)

func main() {
  req, _ := http.NewRequest("GET", "https://api.fetchproof.com/v1/google/adLibrary/advertisers/search?query=Nike", nil)
  req.Header.Set("x-api-key", os.Getenv("FETCHPROOF_API_KEY"))
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := io.ReadAll(res.Body)
  fmt.Println(string(body))
}

PHP

<?php
$ch = curl_init("https://api.fetchproof.com/v1/google/adLibrary/advertisers/search?query=Nike");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    'x-api-key: ' . getenv('FETCHPROOF_API_KEY'),
  ],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Excerpt of published sample response Full response →
{
  "success": true,
  "credits_remaining": 100,
  "credits_charged": 1,
  "advertisers": [
    {
      "name": "Nike",
      "advertiser_id": "AR06641858037806006273",
      "region": "KE",
      "number_of_ads_estimate": 1
    }
  ],
  "websites": [
    {
      "domain": "nike.in"
    }
  ]
}
02

List their ads

Pass either an advertiser_id from step 1 or a domain. Narrow results with region, platform (google_search, youtube, google_shopping, google_maps or google_play), format (text, image or video), topic, or a start_date and end_date. Each ad has its creative id, format, a link to the ad in the Transparency Center, and its first-shown and last-shown dates when Google publishes them.

GET /v1/google/company/ads 1 credit per call

cURL

curl --request GET 'https://api.fetchproof.com/v1/google/company/ads?domain=nike.com' \
  --header 'x-api-key: YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.fetchproof.com/v1/google/company/ads?domain=nike.com", {
  method: 'GET',
  headers: {
    'x-api-key': process.env.FETCHPROOF_API_KEY,
  },
});
const data = await response.json();
console.log(data);

Python

import os
import requests

response = requests.get(
    "https://api.fetchproof.com/v1/google/company/ads?domain=nike.com",
    headers={"x-api-key": os.environ["FETCHPROOF_API_KEY"]},
)
print(response.json())

Go

package main

import (
  "fmt"
  "io"
  "net/http"
  "os"
)

func main() {
  req, _ := http.NewRequest("GET", "https://api.fetchproof.com/v1/google/company/ads?domain=nike.com", nil)
  req.Header.Set("x-api-key", os.Getenv("FETCHPROOF_API_KEY"))
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := io.ReadAll(res.Body)
  fmt.Println(string(body))
}

PHP

<?php
$ch = curl_init("https://api.fetchproof.com/v1/google/company/ads?domain=nike.com");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    'x-api-key: ' . getenv('FETCHPROOF_API_KEY'),
  ],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Excerpt of published sample response Full response →
{
  "success": true,
  "credits_remaining": 100,
  "credits_charged": 1,
  "ads": [
    {
      "advertiserId": "AR16989736393464872961",
      "creativeId": "CR17716351401459712001",
      "format": "text",
      "adUrl": "https://adstransparency.google.com/advertiser/AR16989736393464872961/creative/CR1771635140…",
      "advertiserName": "NIKETA'S COMPANY S.R.L.",
      "imageUrl": null,
      "firstShown": "2025-11-05T09:59:40.000Z",
      "lastShown": "2025-12-10T08:43:57.000Z"
    }
  ],
  "cursor": null,
  "number_of_ads_estimate": 1
}

What it costs

Listing ads costs 1 credit per request. Set get_ad_details=true to include each ad's full details, which costs 25 credits per request. In detail responses, firstShown can be null even when the default list has a date.

Political ads

To search political ads by topic, also pass a region, such as US or AU.

Try it with 100 free credits

Sign up with an email address, no card. Credits never expire. Errors cost 0 credits, and each endpoint page lists exactly what it charges.