{
  "name": "Apify: Google Ads Transparency: new and stopped competitor ads",
  "nodes": [
    {
      "parameters": {
        "content": "## Google Ads Transparency: new and stopped competitor ads\n\nEvery Monday: only the Google ads that are new, changed or stopped since last week for a competitor's website. $2 per 1,000 ads, plus $2 per 1,000 for ad text (on here); stopped ads are free; the first run sets the baseline.\n\n**Setup:** open *Run Actor* and create a *Header Auth* credential: name `Authorization`, value `Bearer <your Apify API token>` (Apify Console > Settings > API & Integrations). Edit the JSON body for your own input; the input fields are on https://apify.com/waffle-iron/google-ads-transparency-scraper/input-schema\n\nThe run waits up to 5 minutes and returns one n8n item per row. For longer runs, start the run and poll it instead (Apify docs: Run Actor).",
        "height": 300,
        "width": 460
      },
      "id": "note",
      "name": "About this workflow",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -120,
        -340
      ]
    },
    {
      "parameters": {},
      "id": "manual",
      "name": "Run now",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 8
            }
          ]
        }
      },
      "id": "schedule",
      "name": "Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        200
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/waffle-iron~google-ads-transparency-scraper/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"domains\": [\n    \"hubspot.com\"\n  ],\n  \"onlyChanges\": true,\n  \"memoryName\": \"n8n-competitor-ads\",\n  \"maxAdsPerAdvertiser\": 40,\n  \"includeAdText\": true\n}",
        "options": {
          "timeout": 330000
        }
      },
      "id": "run",
      "name": "Run Actor",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        0
      ]
    }
  ],
  "connections": {
    "Run now": {
      "main": [
        [
          {
            "node": "Run Actor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule": {
      "main": [
        [
          {
            "node": "Run Actor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "active": false
}