1. Platforms
  2. Google Scraper API
  3. Google Ads Transparency ad details API

Google Ads Transparency ad details API

Google Ads Transparency ad details, as JSON, with id, url, advertiser, status, started_at and more.

GET api.socialscrape.dev/v1/google/ad-library/ad

Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits

You send url.

Part of the Google Scraper API: 3 Google endpoints on one key.

Request

Send your key in the x-api-key header.

1curl -G "https://api.socialscrape.dev/v1/google/ad-library/ad" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode 'url=https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR17814369753519620097'

Parameters

NameTypeRequiredDescription
urlurlyesCreative URL (adstransparency.google.com/advertiser/AR.../creative/CR...).

Every request also accepts trim, raw and max_age_days.

Response

Sample from a recorded response, shortened. Values are examples, not your data.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_e52368df68c5b101805bc02e",8  "data": {9    "object": "ad",10    "platform": "google",11    "id": "CR17814369753519620097",12    "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR17814369753519620097",13    "advertiser": {14      "object": "advertiser",15      "platform": "google",16      "id": "AR16735076323512287233",17      "name": "Nike, Inc.",18      "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233",19      "page_id": null,20      "country": null,21      "verified": null,22      "ad_count": null,23      "extra": null24    },25    "status": "unknown",26    "started_at": null,27    "ended_at": null,28    "title": null,29    "body": null,30    "cta_text": null,31    "landing_url": null,32    "format": "image",33    "media": {34      "thumbnail_url": null,35      "video_url": null,36      "audio_url": null,37      "image_urls": [38        "https://tpc.googlesyndication.com/archive/simgad/13349513027616705912",39        "https://tpc.googlesyndication.com/archive/simgad/4311864814729701321"40      ],41      "width": 348,42      "height": 22943    },44    "regions": null,45    "publisher_platforms": null,46    "impressions": null,47    "spend": null,48    "extra": {49      "last_shown_at": "2026-10-30T01:15:03Z",50      "preview_urls": [51        "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=9975158271&creativeId=68114166...",52        "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=9975158271&creativeId=68114166..."53      ],54      "region_stats": [55        {56          "criterion_id": 2840,57          "last_shown": "2026-10-29",58          "region": "US"59        }60      ],61      "variations": 462    }63  },64  "cursor": null,65  "has_more": null66}

Fields

One Ad in data.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"ad"
platformPlatformyesthe ad library's platform
idstringyes
urlstring or null
advertiserAdvertiser or null
status"active" or "inactive" or "unknown"
started_atstring (ISO 8601 date-time) or null
ended_atstring (ISO 8601 date-time) or null
titlestring or null
bodystring or null
cta_textstring or null
landing_urlstring or null
formatstring or null"image" | "video" | "carousel" | "text" | platform-specific
mediaMedia
Show the other 5 fields
FieldTypeAlwaysNotes
regionsstring[] or null
publisher_platformsstring[] or nullwhere it ran: facebook, instagram, ...
impressionsRange or null
spendRange or null
extraobject or null

Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.

Questions

Which errors can it return?

invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

Is there an SDK call for it?

The Python client has client.google.ad_library_ad(...) and the TypeScript client client.google.adLibraryAd(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.

Can an AI agent call it?

Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.