Public ad libraries are useful for creative research, but manually opening the same competitors every week gets repetitive. A small automation can collect creative observations, compare them with a previous snapshot, and send a digest when something changes.
This tutorial uses the Google Ads Transparency Scraper & Winning-Ad Monitor, n8n, and Slack. Disclosure: I maintain the paid Actor through StorePulseLabs. The companion n8n workflow and Node.js examples are MIT licensed.
The Actor uses HTTP requests to public anonymous Transparency Center endpoints. It does not launch a browser or require a Google login. That reduces moving parts; it does not guarantee uninterrupted access to Google's endpoints.
What a 30-day threshold actually tells you
The output field is daysRunning, computed as whole days between firstShownAt and lastShownAt. A span of at least 30 days is a practical way to shortlist creative ideas for review: the same creative was observed over a longer period than an ad seen only recently.
It is not a profitability score. Public timestamps do not establish continuous delivery, conversions, spend, budget increases, or ROI. The Actor's event name newly_scaled_winner is a label for crossing your chosen longevity threshold, not evidence of actual scaling.
There are two modes:
-
scrape: export matching creatives. Here,minDaysRunning: 30filters out shorter spans. -
watch: retain a baseline in named Apify key-value storage and emit changes. Here, the threshold identifies known ads crossing 30 days. New ads below 30 days can still be exported; they stay in memory so future threshold crossings are detectable.
That distinction matters. A watch is not simply a repeatedly downloaded list filtered to 30+ days.
Try a watch request with curl
You need an Apify account and API token. Supply APIFY_TOKEN securely in your shell; do not paste a real token into a public example or commit it to a repository.
curl --silent --show-error --fail-with-body --max-time 210 \ --request POST \ 'https://api.apify.com/v2/acts/storepulselabs~google-ads-transparency-scraper/run-sync-get-dataset-items?timeout=180&memory=256&maxTotalChargeUsd=0.25' \ --header "Authorization: Bearer ${APIFY_TOKEN}" \ --header 'Content-Type: application/json' \ --data '{ "mode": "watch", "domains": ["nike.com", "gymshark.com"], "region": "US", "minDaysRunning": 30, "strictDomainMatch": true, "pageSize": 100, "maxWatchPagesPerTarget": 25, "stateKey": "google-ads-curl-watch", "seedFirstRun": false }' The synchronous endpoint returns dataset rows as a JSON array. With seedFirstRun: false, the initial baseline does not export initial creatives, so [] can be the expected first response. Repeat with the same state name later to observe changes. The curl state name differs from the workflow's state name so this test does not advance that workflow's baseline.
The $0.25 parameter is a maximum event charge, not an estimate of the run's cost. Hitting it can leave partial results. A timeout does not prove that a remote run stopped: inspect Apify Console before starting another POST. For workloads approaching the synchronous endpoint's 300-second limit, start a run asynchronously, poll its status, and retrieve its dataset instead.
Use the Node.js examples
Clone the companion repository and use Node.js 20+:
# APIFY_TOKEN is already available through your environment/secret manager. node examples/run_scrape.mjs node examples/run_watch.mjs There are no dependencies to install. Both examples use built-in fetch, a token header, explicit timeouts, and a spending cap; neither reads a .env file. The core request looks like this:
const response = await fetch( 'https://api.apify.com/v2/acts/storepulselabs~google-ads-transparency-scraper/run-sync-get-dataset-items?timeout=180&memory=256&maxTotalChargeUsd=0.25', { method: 'POST', headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ mode: 'scrape', domains: ['gymshark.com'], region: 'US', minDaysRunning: 30, strictDomainMatch: true, maxCreativesPerTarget: 20, maxPagesPerTarget: 3, }), signal: AbortSignal.timeout(210000), }, ); if (!response.ok) throw new Error(`Apify HTTP ${response.status}`); const rows = await response.json(); if (!Array.isArray(rows)) throw new Error('Expected a dataset array'); console.log(rows); The packaged client adds token validation and sanitized failure messages. maxCreativesPerTarget is a scrape-mode limit; it does not cap watch exports. Watch uses maxWatchPagesPerTarget to bound scan depth.
Import the n8n workflow
Download n8n_google_ads_spy.json and import it into n8n. The graph uses built-in nodes only:
Schedule Trigger / Manual test -> HTTP Request: run Apify watch -> Code: validate response and build one digest -> IF count > 0 true -> HTTP Request: Slack chat.postMessage -> check acknowledgement false -> no notification Configure two separate Header Auth credentials. The Apify credential contains Authorization: Bearer <APIFY_TOKEN>. The Slack credential contains Authorization: Bearer <SLACK_BOT_TOKEN>. Select each in its corresponding HTTP node, replace the Slack channel placeholder, grant the bot chat:write, and invite it to that channel. Slack's chat.postMessage response must contain ok: true; an HTTP 200 alone is not sufficient.
The Apify HTTP node uses Include Response Headers and Status and JSON response format. That gives the next node one envelope with body and statusCode, even for an empty array. The Code node validates that shape and builds a single digest. The IF node checks its numeric count; empty arrays take the quiet branch. Unexpected HTTP or payload errors fail the execution rather than becoming a fake quiet watch. Authentication uses n8n's Header Auth mechanism.
The schedule defaults to Monday 09:00 in Asia/Jakarta. To run daily, edit its single rule to Days / every 1 day / 09:00. Verify the workflow timezone, test manually, then save and publish/activate it. Scheduling uses the workflow/instance timezone, so do not assume your laptop timezone controls it.
Interpret the digest
status | What it means |
|---|---|
new_ad | This watch has not recorded the creative before. An older ad can first appear after a capped earlier scan. |
newly_scaled_winner | A previously recorded creative crossed the configured daysRunning threshold. |
stopped_ad | A previously recorded creative was absent from a complete, parsed scan. This is not proof that its campaign was switched off. |
Messages show each sample's daysRunning and transparencyUrl. Null spans display as unknown, and advertiser text is escaped before Slack formatting. Only ten sample rows are displayed; the full exported result remains in Apify. The first silent seed is deliberate — turn seedFirstRun on only if you want an initial export and accept its result charges.
Keep the state name stable and run one execution per state store at a time. Changing region, format, strict-domain setting, or a creative filter starts another target baseline. The strict-domain option is an advertiser-name matching heuristic, not verified corporate ownership; use explicit advertiser IDs when legal-entity identity matters.
Price, measured behavior, and failure handling
The Actor event price is $0.0012 per exported row, or $1.20 per 1,000. A genuinely zero-export quiet watch incurs $0 Actor event charges. Empty, blocked, or error source requests add no result fee; useful rows exported before a later failure can still be charged. Your n8n hosting and Slack costs are separate.
In a recorded build 0.0.13 scrape on 28 November 2026 UTC, querying Gymshark creatives at a 14-day threshold exported 30 creatives (minimum observed span: 15 days) with one residential fallback retry. A supplementary run with minDaysRunning: 365 exported 20 rows across two pages, with observed spans of 410–1,859 days, demonstrating post-filter pagination.
Do not infer a safe requests-per-IP quota from single samples. Empty exports do not establish source health: inspect batch_summary.json in Apify's Key-Value Store for blocked requests, incomplete targets, and parsing errors, and configure separate n8n execution-error alerts.
Resources
- Apify Actor: Google Ads Transparency Scraper & Winning-Ad Monitor
- Free MIT n8n Workflow & Node.js Examples: storepulselabs/google-ads-transparency-n8n-monitor on GitHub