See llms.txt for all machine-readable content.

Back to Templates

Log weekly Google Ads Transparency creatives to Google Sheets with Apify alerts via Slack or email

Quick overview

Each week this workflow runs the Google Ads Transparency Scraper Actor on Apify for a list of advertiser names or domains, appends only new creatives to a Google Sheet, and sends a Slack or email alert when something new appears after the first baseline run.

How it works

  1. Runs on a Monday weekly schedule (or manually for testing) and loads configuration such as advertiser queries, region/format filters, and notification settings.
  2. Calls the Apify Google Ads Transparency Scraper Actor with the configured queries and limits, and retrieves the resulting dataset.
  3. Filters the Apify dataset to keep only rows that represent ads and include a creativeId.
  4. Reads existing rows from the target Google Sheets tab and compares creativeId values to detect creatives not already logged.
  5. Appends any newly found creatives to Google Sheets with metadata like advertiser, dates shown, URLs, and timestamps.
  6. If this is not the baseline run and new creatives were added, sends a digest alert to either Slack or email based on your notifyVia setting.

Setup

  1. Install the verified community node @apify/n8n-nodes-apify (n8n 1.57.0 or later). On n8n Cloud, the instance owner may need to allow verified community nodes. See https://docs.apify.com/integrations/n8n
  2. Connect an Apify API credential (API token from Apify Console → Settings → Integrations / API). Do not paste tokens into the workflow.
  3. Connect Google Sheets, plus Slack or SMTP, matching notifyVia in the configuration node.
  4. In Configure weekly check, set queries (one advertiser name or domain per line), region, format, maxAdsPerAdvertiser, notifyVia (slack or email), and the Google Sheet ID.
  5. Create a Google Sheet whose first row is: creativeId, advertiserName, advertiserId, format, firstShown, lastShown, daysShown, adUrl, query, region, imageUrl, previewUrl, scrapedAt, loggedAt. Use the sheet name in the configuration node (default Ad creatives).
  6. Run the workflow once with the manual trigger to build the baseline, then enable the Monday schedule. Alerts for new creatives start on later runs.

Requirements

  • Required package: @apify/n8n-nodes-apify (tested with 0.9.0 on n8n 2.47.7)

Additional info

List price is $0.0015 per ad saved on the Apify Free plan; paid plans are slightly lower. The Actor also writes one advertiser summary per advertiser; confirm that event on the Store Pricing tab (listed at $0.01 in the Actor's event pricing). This template does not set previousRunDatasetId, so it does not incur change-alert charges; new creatives are detected by comparing the sheet. A default of 3 advertisers × 50 ads is up to about $0.23 in ad charges, plus any summary charges. maxTotalChargeUsd on the Apify node is a hard cap (0.50 in this template). Leave extractAdText off unless you have separately confirmed that option for your use case.