Google Ad Library · Guide

How to get Google Ad Library ad details

TL;DR
To get Google Ad Library ad details, sign up for a free Captapi key, then send one GET request to /v1/ad-library/google/ad-details with your input. You get clean JSON back in seconds for 2 credits per call — no OAuth, scraping or platform SDKs. Google publishes spend and impression ranges only for election ads; commercial advertisers omit both. isActive is true when lastShown is within 7 UTC days.

How to get Google Ad Library ad details (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the Google Ad Details API

    Send an authenticated GET request to /v1/ad-library/google/ad-details with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

curl "https://api.captapi.com/v1/ad-library/google/ad-details?creative_id=https%3A%2F%2Fadstransparency.google.com%2Fadvertiser%2FAR16735076323512287233%2Fcreative%2FCR13596485266373083137" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

What the response looks like

{
  "success": true,
  "data": {
    "platform": "google",
    "id": "CR15270586105863340033",
    "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR15270586105863340033",
    "adFormat": "image",
    "firstShown": "2023-11-16T21:45:32.000Z",
    "lastShown": "2026-10-19T09:06:34.000Z",
    "advertiser": {
      "id": "AR16735076323512287233",
      "name": "Nike, Inc.",
      "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233",
      "logo": null,
      "location": null
    },
    "media": [
      "https://tpc.googlesyndication.com/archive/simgad/15967988832178542585"
    ],
    "isActive": true
  }
}

Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
creative_idstring YesGoogle Ads Transparency URL containing AR... advertiser and CR... creative IDs. A creative that does not exist under the advertiser is a definitive 404 AD_NOT_FOUND (upstream answered) — 503 is reserved for actual transport failures.
countrystringNoTwo-letter ISO country code. Default US. Non-ISO codes are a definitive 400 INVALID_COUNTRY.
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Frequently asked questions

What does the Google Ad Details API do?

The Google Ad Details API lets you fetch full metadata and key stats from a public Google Ad Library ad using one GET request to /v1/ad-library/google/ad-details. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Google Ad Details API cost?

Each successful call costs 2 credits. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.

Do I need a Google Ad Library API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle access, rate limits, retries, and authentication for you.

Is the Google Ad Details API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

Ready to get Google Ad Library ad details?

Start free with 100 credits — no credit card required.

Get your free API key