{
  "openapi": "3.0.1",
  "info": {
    "title": "📢 Google Ads Transparency Scraper: Every Ad by Brand or Domain",
    "description": "Every ad any advertiser runs on Google Search, YouTube, Shopping, Maps and Play, from the public Ads Transparency Center. ✅ Format, first and last shown, days running, image, ad link. 🎯 Region, platform, format and date filters. 🔔 Only-new mode. 🔓 No login.",
    "version": "1.0",
    "x-build-id": "BKxZgnVrpn4FS6sCJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/findata~google-ads-transparency-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-findata-google-ads-transparency-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/findata~google-ads-transparency-scraper/runs": {
      "post": {
        "operationId": "runs-sync-findata-google-ads-transparency-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/findata~google-ads-transparency-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-findata-google-ads-transparency-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "preset": {
            "title": "Advertisers",
            "enum": [
              "custom",
              "sample",
              "ai-tools",
              "crm-sales",
              "fintech",
              "dtc-brands",
              "home-services"
            ],
            "type": "string",
            "description": "Pick a ready-made set of advertisers or use your own. \"The advertisers I list below\" runs exactly the lines in the next field, and if that field is empty it falls back to the sample so a run never fails for lack of input. The other choices add a curated competitor set on top of anything you paste.",
            "default": "custom"
          },
          "sources": {
            "title": "Domains, brands or advertiser IDs",
            "type": "array",
            "description": "One per line. A website domain (stripe.com) finds every ad pointing at it. A brand name (Stripe) finds the matching advertiser. An advertiser ID (AR16951989901585285121) or any Transparency Center URL works too, including a link to a single ad. Optional when a list is chosen above.",
            "items": {
              "type": "string"
            }
          },
          "region": {
            "title": "Region",
            "enum": [
              "anywhere",
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "BE",
              "AT",
              "CH",
              "SE",
              "NO",
              "DK",
              "FI",
              "PL",
              "PT",
              "CZ",
              "RO",
              "GR",
              "MX",
              "BR",
              "AR",
              "CL",
              "CO",
              "IN",
              "JP",
              "KR",
              "SG",
              "PH",
              "ID",
              "MY",
              "TH",
              "VN",
              "TR",
              "IL",
              "AE",
              "SA",
              "ZA",
              "NG",
              "EG"
            ],
            "type": "string",
            "description": "Country the ads were shown in. Anywhere covers every country Google reports.",
            "default": "anywhere"
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "any",
              "search",
              "youtube",
              "shopping",
              "maps",
              "play"
            ],
            "type": "string",
            "description": "Where the ad ran. When set, each ad is tagged with it in the output.",
            "default": "any"
          },
          "format": {
            "title": "Ad format",
            "enum": [
              "any",
              "text",
              "image",
              "video"
            ],
            "type": "string",
            "description": "Text, image or video ads.",
            "default": "any"
          },
          "shownWithin": {
            "title": "Shown in the last",
            "enum": [
              "any",
              "1",
              "7",
              "30",
              "90",
              "365"
            ],
            "type": "string",
            "description": "Only ads shown on these calendar days (UTC, today included). Use the date fields below for an exact range instead.",
            "default": "any"
          },
          "minDaysShown": {
            "title": "Minimum days shown",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads that ran at least this many days. Applied after the ads are fetched and before billing, so dropped ads are never charged. Long-running ads are usually the ones that work, so 30 or more is a quick way to see an advertiser's winners. 0 keeps everything.",
            "default": 0
          },
          "dateFrom": {
            "title": "Shown from (exact date)",
            "type": "string",
            "description": "Optional start of an exact date range. Overrides \"Shown in the last\"."
          },
          "dateTo": {
            "title": "Shown until (exact date)",
            "type": "string",
            "description": "Optional end of an exact date range."
          },
          "maxAdsPerSource": {
            "title": "Max ads per domain or brand",
            "minimum": 0,
            "type": "integer",
            "description": "Newest ads first. 0 means every ad Google has, up to a safety cap of 50,000 per domain or brand. Runs on the sample list are capped at 20 per advertiser.",
            "default": 50
          },
          "maxAdvertisersPerBrand": {
            "title": "Advertisers per brand name",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "A brand name can match several advertiser accounts (Stripe, Stripe Payments UK). 1 takes the best match; raise it to include the others.",
            "default": 1
          },
          "includeDetails": {
            "title": "Add country-by-country detail",
            "type": "boolean",
            "description": "Adds every country each ad ran in with its own first and last shown dates, EU impression ranges and all ad variations. One extra request per ad at about one request a second, so 100 ads take roughly two more minutes. No extra charge.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new ads",
            "type": "boolean",
            "description": "Output only ads not seen in earlier runs with the same store name. You pay only for new ads.",
            "default": false
          },
          "seenStoreName": {
            "title": "Seen-ads store name",
            "type": "string",
            "description": "Named key-value store that remembers ad IDs between runs. Use a different name per monitor.",
            "default": "google-ads-seen"
          },
          "maxConcurrency": {
            "title": "Parallel lookups",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many domains or brands to work on at once. Requests to Google are spaced about a second apart either way, so this only overlaps the waiting.",
            "default": 2
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}