Appearance
Company Ads
GET /v1/google/company/ads
Fetches public ads for a company from the Google Ad Transparency Library by domain or advertiser_id. Each ad includes advertiserId, creativeId, format, adUrl, advertiserName, domain, firstShown, and lastShown. Costs 25 credits per request when get_ad_details=true; without it, only advertiserId and creativeId are returned at 1 credit.
Authentication
All requests require the x-api-key header. Get your key at scrapecreators.com.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
domain | string | no | The domain of the company | lululemon.com |
advertiser_id | string | no | The advertiser id of the company | AR01614014350098432001 |
topic | enum(all, political) | no | The topic to search for. If you search for 'political', you will also need to pass a 'region', like 'US' or 'AU' | all |
region | string | no | The region to search for. Defaults to anywhere | US |
start_date | string | no | Start date to search for. Format: YYYY-MM-DD | 2025-08-01 |
end_date | string | no | End date to search for. Format: YYYY-MM-DD | 2025-08-11 |
get_ad_details | string | no | Set to true to get the ad details. Will cost 25 credits. | false |
cursor | string | no | Cursor to paginate through results | CgoAP7znOo9RPjf%2FEhD5utgx8m75NrTTbU0AAAAAGgn8%2BJyW%2BJQK40A%3D |
Example Request
curl
bash
curl 'https://api.scrapecreators.com/v1/google/company/ads' \
-H 'x-api-key: $SCRAPECREATORS_API_KEY'Node / TypeScript
js
const params = new URLSearchParams({ });
const res = await fetch(`https://api.scrapecreators.com/v1/google/company/ads?${params}`, {
headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);Python
python
import os, requests
r = requests.get(
'https://api.scrapecreators.com/v1/google/company/ads',
headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
params={},
)
r.raise_for_status()
print(r.json())CLI
bash
scrapecreators google-ads company-ads --helpExample Response
json
{
"success": true,
"credits_remaining": 49998226428,
"ads": [
{
"advertiserId": "AR01614014350098432001",
"creativeId": "CR08567627846124568577",
"format": "image",
"adUrl": "https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR08567627846124568577",
"advertiserName": "lululemon athletica canada inc.",
"imageUrl": null,
"firstShown": "2026-03-11T17:08:22.000Z",
"lastShown": "2026-05-04T17:59:12.000Z"
}
],
"cursor": "CgoAP7zmu%2FzKj6ijEhBBAgiPtk1y16J9lpkAAAAAGgn8%2BHbW%2BJylE6g%3D",
"number_of_ads_estimate": 20000
}Credits
Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.
Errors
| Status | Meaning | Action |
|---|---|---|
| 200 | Success. | Use the JSON payload. |
| 400 | Invalid or missing parameter. | Verify required parameters and value format. |
| 401 | Missing or invalid x-api-key. | Pass a valid API key in the header. |
| 402 | Out of credits. | Top up at scrapecreators.com or wait for plan reset. |
| 404 | Resource not found or private. | Confirm the handle, URL, or id and that the resource is public. |
| 429 | Rate limited. | Backoff and retry with exponential delay. |
| 500 | Server error or upstream platform failure. | Retry with backoff; report persistent errors to support. |