Use this when your Clay table already has a list of competitor websites and you want their recent Google ads (headline, description, dates, landing URL) from the Google Ads Transparency Center. The Actor is xsi/google-ads-transparency (Google Ads Transparency Center Scraper & API + MCP), the current Store build.
This page is a copy-paste setup. Clay does not document importing a table or an HTTP API column from a JSON file, so you configure the column by hand. A machine-readable annex of the same settings lives in google-ads-transparency.http-api.json.
1. Copy this into Clay
In your Clay table: Add enrichment → search HTTP API → open the Configure tab.
Method: POST
Endpoint:
https://api.apify.com/v2/actors/xsi~google-ads-transparency/run-sync-get-dataset-itemsHeaders:
| Key | Value |
|---|---|
Authorization | Bearer YOUR_APIFY_TOKEN |
Use your own Apify API token (Settings → API & Integrations in Apify Console). Do not put the token in the URL. Prefer a Clay HTTP API (Headers) account so the token is stored encrypted at workspace level instead of in plain text on the column. Clay sets Content-Type: application/json automatically.
JSON body:
{
"domain": "/Domain",
"regions": ["US"],
"maxAdsPerQuery": 10
}Your table needs a column titled Domain (a website such as nike.com is enough). The quotes around /Domain are required. If your column has another title, replace Domain with that exact title.
regions and maxAdsPerQuery match the official example input and the input-schema prefill of the current Store build. Keep maxAdsPerQuery modest: this sync endpoint returns HTTP 408 if the run takes more than 300 seconds. Mapping a Country column into the regions array is UNVERIFIED in Clay's docs, so the starter body keeps ["US"].
The body leaves includeDetails, ocrImageAds and downloadMedia unset, so the Actor's schema defaults apply (all three default to false). Ad copy (includeAdText) defaults to true and is included in the ad event price.
Column mapping: after you run Test on a single row, open the cell and use Add as column for the fields you want. Useful fields from the Actor's official dataset schema (overview view plus README example keys, current Store build):
| Field | Description (from the official dataset schema of the current Store build, GET /v2/acts/xsi~google-ads-transparency/builds/default) |
|---|---|
inputDomain | The input this row answers (website, advertiser name, ID or URL) — join key for Clay/n8n/Sheets. |
status | ok = one ad. domain_summary = one free summary row per website and country. no_ads_found = the input returned no ads (free, not billed). Other free status rows: error, rate_limited, not_processed (a cost or item limit was reached first). |
format | Ad format as published by Google, typically TEXT, IMAGE or VIDEO. Null on summary and status rows. |
headline | Ad headline from Google's official preview, or from OCR when textFromImage is true. Null when Google keeps a text ad only as an image and OCR is off (ocrImageAds is false by default), and for image or HTML5 ads whose copy is not in the preview. This is expected, not an error; turn on ocrImageAds to read image-only text ads (+$0.001 only when text is found). |
description | Ad description text from Google's official preview, or from OCR when textFromImage is true. Null when no preview text is available and OCR is off or found nothing. |
cta | Call-to-action label when the ad has one (for example Shop now). Null when none is present, and on summary and status rows. |
landingUrl | https:// form of the visible URL. Google does not publish the exact click-through URL, so this is not invented: landingUrlSource tells you it comes from the display URL. Null when there is no visible URL. |
firstShownDate | First date the ad was shown (YYYY-MM-DD). Always present on ok ad rows. Null on summary and status rows. |
lastShownDate | Last date the ad was shown (YYYY-MM-DD). Always present on ok ad rows. Null on summary and status rows. |
daysActive | Days between first and last shown date, inclusive. Always present on ok ad rows. Null on summary and status rows. |
isWinningAd | true when the ad is still running and has been running for at least winningAdMinDays (default 30) — a heuristic for ads the advertiser keeps. false on summary rows and when the threshold is not met. |
isNewLaunch | true when the ad was first shown in the last 7 days. false on summary rows and when it is older. |
detectedPromoCodes | Promo codes written in the ad copy right after a 'code' keyword (several languages), e.g. ["SAVE20"]. Null when none are found. |
detectedDiscounts | Discount phrases in the ad copy, e.g. ["Up To 50% Off"]. Phrases like '100% cotton' or '24/7' are not treated as discounts. Null when none are found. |
region | Country this row is about (ISO 3166-1 alpha-2, e.g. US) or ANYWHERE when no country filter was set. |
imageUrl | Image of the ad (image ads, or the archived rendering of a text ad). Null when no image is available. |
youtubeUrl | YouTube video URL of a video ad when Google exposes it. Null for non-video ads and when Google does not publish a URL. |
transparencyUrl | Official Ads Transparency Center page of the ad. Null on summary and status rows. |
adId | Stable Google creative ID (CR…). Use it to de-duplicate across runs (delta mode). Null on summary and status rows. |
advertiserId | Google advertiser ID (AR…). Null on summary and status rows. |
advertiserName | Verified legal advertiser name as published by Google. Null on summary and status rows. |
domain | Website Google associates with the ad. Null on summary and status rows. |
displayUrl | Visible URL shown in the ad (as Google displays it). Null when Google does not publish one. |
landingUrlSource | Where landingUrl comes from (typically display_url). Null when landingUrl is null. |
isActive | true when the ad was seen in the last 2 days (still running). Null on some summary fields; false on stopped-ad monitor rows. |
regionImpressionsMin | EU/EEA only, when includeDetails is on: lower bound of impressions in that country. Null otherwise (including the US and the UK, where Google does not publish impression ranges). |
regionImpressionsMax | EU/EEA only, when includeDetails is on: upper bound of impressions in that country. Null otherwise. |
euImpressionsMin | EU/EEA only, when includeDetails is on: lower bound of total EU impressions. Null otherwise. |
euImpressionsMax | EU/EEA only, when includeDetails is on: upper bound of total EU impressions. Null otherwise. |
textFromImage | true when headline/description were read with OCR from an image-only text ad (billed as ad-text only if readable text was found). false when the copy comes from Google's preview or when OCR was not used. |
adsCount | On domain_summary rows: number of ad rows returned for that website and country (same value as adsReturned). On no_ads_found and other status rows: 0. Null on individual ad rows. |
error | On status rows (no_ads_found, error, rate_limited, not_processed): an actionable message that explains why there is no ad. Null on ok and domain_summary rows. |
The HTTP response is a JSON array. With the body above, that array is typically several ad objects plus one domain_summary row (includeDomainSummary defaults to true and is described in the input schema as a free summary row). The whole array lands in the enrichment cell of that Clay row.
Clay's documented field-path examples use object paths such as data.user.email. The exact path syntax for a root-level array is UNVERIFIED, which is why the Add as column step after a test row is the reliable way to map fields.
If you instead want one Clay row per ad in a new table, Clay's docs point to HTTP API as source ("create tables from endpoints returning multiple records"). Source mode requires a saved account for authentication. The results path must point to an array; the docs' example is a nested key such as items. The correct results path for a root-level array is UNVERIFIED — use Preview before importing. If you use source mode, set Response timeout above 300000 milliseconds (the unit is documented; the default value is not published, UNVERIFIED).
Optional: add a conditional run so the column only fires when Domain is not empty.
Then Test one row. If the cell looks right, run the enrichment on the table.
2. Price (pay per event)
Pay per result. No xsi subscription; volume discount tiers require a paid Apify plan.
Prices below are the current pay-per-event rates returned by the Apify API on 30 November 2026, 11:17 Europe/Brussels (pricing object startedAt 26 November 2026, 13:45 Europe/Brussels — the later of two pricing entries, with no end date). Tiers are Apify plan names as the API reports them.
With the starter body above (no EU details, no OCR, no media download), each returned ad is billed as the primary event ad. The input schema describes the domain_summary row as free.
| Event | FREE | BRONZE | SILVER | GOLD, PLATINUM, DIAMOND |
|---|---|---|---|---|
ad (primary) | 0.001 | 0.0009 | 0.0008 | 0.0007 |
ad-detail (replaces ad when includeDetails is true) | 0.0015 | 0.0013 | 0.0012 | 0.001 |
ad-text (OCR copy, only when text is found) | 0.001 | 0.001 | 0.001 | 0.001 |
media-file (each file actually saved) | 0.002 | 0.002 | 0.002 | 0.002 |
advertiser | 0.002 | 0.002 | 0.002 | 0.002 |
new-ad-alert (monitor mode) | 0.005 | 0.005 | 0.005 | 0.005 |
monitor-check (monitor mode) | 0.001 | 0.001 | 0.001 | 0.001 |
mcp-tool-call | 0.003 | 0.003 | 0.003 | 0.003 |
A starter row with maxAdsPerQuery: 10 can therefore bill up to 10 × the ad price for that tier (for example 0.010 USD on FREE if 10 ads are returned). Typical duration was not measured in this delivery (no run was launched).
Apify also records apifyMarginPercentage: 0.2 and minimalMaxTotalChargeUsd: 0.01 on this pricing object.
3. Limits
- The
run-sync-get-dataset-itemsendpoint waits until the run finishes and then returns the dataset items. If the run takes more than 300 seconds, Apify responds with HTTP 408 (run-timeout-exceeded). The HTTP response is an error object, not the dataset items. - The Actor's default run timeout is 3,600 seconds and default memory is 256 MB. That default does not extend the 300-second HTTP cap of this sync endpoint.
- You may add
?timeout=240to the endpoint if you want the run to stop before that HTTP cap. This query parameter is a run timeout in seconds; it does not raise the 300-second HTTP limit. - You may add
?maxTotalChargeUsd=...to cap the cost of the run. Choose your own value (it should cover ads plus any extras you enable: details, OCR, media). maxAdsPerQueryis an exact cap per website and country (input schema: minimum 1, maximum 100,000, prefill 10).- Clay HTTP API as source can import at most 50,000 rows per import, and documents a Response timeout in milliseconds. The client timeout of the enrichment column is UNVERIFIED.
4. Errors
From Apify (official API reference):
| HTTP | When |
|---|---|
| 401 | Missing or invalid token (invalid-token) |
| 408 | Run exceeded 300 seconds on this endpoint |
From Clay (HTTP API error-code reference): 200 success; 400 body parse / syntax; 401 invalid credentials; 402 request could not be completed; 403 no permission; 404 wrong URL; 409 conflict; 429 rate limit.
If Clay shows Body parse error (400), check that string column references are quoted: "domain": "/Domain" is correct; "domain": /Domain is not.
The official dataset schema also describes free status rows such as no_ads_found, error, rate_limited and not_processed (a cost or item limit was reached first).
5. Test the body yourself (optional)
The starter body below was validated locally against the input schema of the current Store build. The official exampleRunInput is the same plus an explicit Residential proxyConfiguration (also validated). No Apify run was launched to produce this guide.
{
"domain": "nike.com",
"regions": ["US"],
"maxAdsPerQuery": 10
}Run this on your machine with your token if you want a live check. It starts a real Actor run and can be billed (see the price table). Do not use a shared or owner token.
curl -X POST "https://api.apify.com/v2/actors/xsi~google-ads-transparency/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domain":"nike.com","regions":["US"],"maxAdsPerQuery":10}'To re-validate the examples against the schema only (still no run):
python3 -m pip install jsonschema
python3 validate_examples.py6. What this JSON annex is not
google-ads-transparency.http-api.json is a configuration to copy. Official Clay docs cover:
- Sharing a workbook or table with Share as Template (a public link or specific emails; structure plus one sample row, not a JSON file).
- Saving an HTTP API setup as a template from inside Clay after it works.
- Column group templates, also created from inside a table.
- The Clay CLI / API for workflows. Official docs state that tables can't be created through the API or CLI.
A Clay workspace login is therefore required to actually create the column. There is no documented JSON-file import for this setup.
The official path is /v2/actors/.... Apify still documents /v2/acts/... as a deprecated but fully functional alias for the same handlers. New setups should use /v2/actors/.
Sources
Verified with curl (HTTP 200, body present) on 30 November 2026, Europe/Brussels:
- Run Actor synchronously and get dataset items — POST path, 300-second / 408 limit, input in the JSON body,
timeoutandmaxTotalChargeUsdquery parameters - Apify API —
Authorization: Bearer <token>recommended; legacy/v2/acts/prefix - API integration — how to create a token; prefer the header over
?token= - HTTP API (Clay) — enrichment vs source, body
/Columnsyntax, headers, tests, error codes, source timeout unit - Table columns (Clay) — Add as column
- Share workbooks and tables as templates (Clay)
- Column group templates (Clay)
- Workflows (Clay) — tables cannot be created through the API or CLI
Actor name, latest build, input schema, dataset fields and prices: GET https://api.apify.com/v2/acts/xsi~google-ads-transparency and GET .../builds/default on 30 November 2026, 11:17 Europe/Brussels.
UNVERIFIED
- Clay HTTP API enrichment client timeout (not documented; source mode documents a response timeout in milliseconds with no published default).
- Clay field-path syntax when the HTTP response is a root-level JSON array, and the results path to use for a root-level array in HTTP API as source.
- Mapping a Clay Country column into the JSON array
regions. - Typical run duration for this Actor (not measured here; no run was launched).
- Whether omitted
proxyConfigurationis filled with the input-schema default at run time (the schema default is Residential; the official example also sets it explicitly). If you want to be explicit, use the official example body inexamples/google-ads-transparency.body.official-example.json.