1. Platforms
  2. Google Scraper API
  3. Google Ads Transparency advertiser search API

Google Ads Transparency advertiser search API

Google Ads Transparency advertiser search, as JSON, with id, name, url, page_id, country and more.

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

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

You send query.

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/advertisers/search" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode 'query=nike' \4  --data-urlencode 'region=US'

Parameters

NameTypeRequiredDescription
querystringyesSearch terms. Also accepted as keyword, q.
cursorstringOpaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page.
regionstringTwo-letter country code (ISO 3166-1) for results that vary by country. Also accepted as country, geo.

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_7b41fb6b4e347350def3e7b8",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "advertiser",13        "platform": "google",14        "id": "AR16735076323512287233",15        "name": "Nike, Inc.",16        "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233",17        "page_id": null,18        "country": "US",19        "verified": null,20        "ad_count": 9000,21        "extra": {22          "ad_count_upper": 1000023        }24      },25      {26        "object": "advertiser",27        "platform": "google",28        "id": "AR17567291692413878273",29        "name": "Nike Klara",30        "url": "https://adstransparency.google.com/advertiser/AR17567291692413878273",31        "page_id": null,32        "country": "US",33        "verified": null,34        "ad_count": 11,35        "extra": null36      }37    ],38    "cursor": null,39    "has_more": false,40    "parent": null41  },42  "cursor": null,43  "has_more": false44}

Fields

A page of results. Each entry in items is a Advertiser. cursor and has_more page through the rest.

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

FieldTypeAlwaysNotes
object"advertiser"
platformPlatformyesthe ad library's platform
idstring or null
namestring or null
urlstring or null
page_idstring or null
countrystring or null
verifiedboolean or null
ad_countinteger 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), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

How do I get more than one page?

Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.

Is there an SDK call for it?

The Python client has client.google.ad_library_advertisers_search(...) and the TypeScript client client.google.adLibraryAdvertisersSearch(). 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.