{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Checker: Ads Transparency per Website",
    "description": "Google Ads checker: does a website run Google Ads? One row per domain from Google's Ads Transparency Center: advertisers (verified, country), ad count, formats, Search/YouTube/Shopping platforms, last ad date. Not advertising is an answer too. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "3l4qr20r9UlG7L2eX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~google-ads-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-google-ads-checker",
        "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/steadyscrape~google-ads-checker/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-google-ads-checker",
        "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/steadyscrape~google-ads-checker/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-google-ads-checker",
        "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": {
          "websites": {
            "title": "Websites",
            "maxItems": 25000,
            "type": "array",
            "description": "One per line: a domain (<code>acme.com</code>) or any link into the site (<code>https://www.acme.com/contact</code>). Each website is checked once, as its main domain (<code>shop.acme.co.uk</code> → <code>acme.co.uk</code>), because that is how Google lists ads. Up to 25,000 per run, together with the dataset below. Facebook pages, Yelp listings and other platform pages are not a business's own website: they come back as free rows that say so.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Or take the websites from a dataset",
            "type": "string",
            "description": "Pick the dataset of another run (a Google Maps scrape, a lead list, a CRM export) and every item's website is checked. Only the dataset you pick here can be read. Items without a website are skipped and counted in the status message; a dataset that cannot be read, or holds no website, comes back as one free row saying why."
          },
          "datasetField": {
            "title": "Dataset field with the website",
            "type": "string",
            "description": "The field of each dataset item that holds its website, as a dotted path (<code>website</code>, <code>company.domain</code>). Leave empty to take the first field named like <code>website</code>, <code>homepage</code>, <code>domain</code> or <code>url</code> that holds a website."
          },
          "region": {
            "title": "Region",
            "pattern": "^\\s*([aA][nN][yY][wW][hH][eE][rR][eE]|[aA][lL][lL]|[wW][oO][rR][lL][dD][wW][iI][dD][eE]|[uU][kK]|[aA][fF]|[aA][xX]|[aA][lL]|[dD][zZ]|[aA][sS]|[aA][dD]|[aA][oO]|[aA][iI]|[aA][qQ]|[aA][gG]|[aA][rR]|[aA][mM]|[aA][wW]|[aA][uU]|[aA][tT]|[aA][zZ]|[bB][sS]|[bB][hH]|[bB][dD]|[bB][bB]|[bB][yY]|[bB][eE]|[bB][zZ]|[bB][jJ]|[bB][mM]|[bB][tT]|[bB][oO]|[bB][qQ]|[bB][aA]|[bB][wW]|[bB][vV]|[bB][rR]|[iI][oO]|[bB][nN]|[bB][gG]|[bB][fF]|[bB][iI]|[cC][vV]|[kK][hH]|[cC][mM]|[cC][aA]|[kK][yY]|[cC][fF]|[tT][dD]|[cC][lL]|[cC][nN]|[cC][xX]|[cC][cC]|[cC][oO]|[kK][mM]|[cC][gG]|[cC][dD]|[cC][kK]|[cC][rR]|[cC][iI]|[hH][rR]|[cC][uU]|[cC][wW]|[cC][yY]|[cC][zZ]|[dD][kK]|[dD][jJ]|[dD][mM]|[dD][oO]|[eE][cC]|[eE][gG]|[sS][vV]|[gG][qQ]|[eE][rR]|[eE][eE]|[sS][zZ]|[eE][tT]|[fF][kK]|[fF][oO]|[fF][jJ]|[fF][iI]|[fF][rR]|[gG][fF]|[pP][fF]|[tT][fF]|[gG][aA]|[gG][mM]|[gG][eE]|[dD][eE]|[gG][hH]|[gG][iI]|[gG][rR]|[gG][lL]|[gG][dD]|[gG][pP]|[gG][uU]|[gG][tT]|[gG][gG]|[gG][nN]|[gG][wW]|[gG][yY]|[hH][tT]|[hH][mM]|[vV][aA]|[hH][nN]|[hH][kK]|[hH][uU]|[iI][sS]|[iI][nN]|[iI][dD]|[iI][rR]|[iI][qQ]|[iI][eE]|[iI][mM]|[iI][lL]|[iI][tT]|[jJ][mM]|[jJ][pP]|[jJ][eE]|[jJ][oO]|[kK][zZ]|[kK][eE]|[kK][iI]|[kK][pP]|[kK][rR]|[kK][wW]|[kK][gG]|[lL][aA]|[lL][vV]|[lL][bB]|[lL][sS]|[lL][rR]|[lL][yY]|[lL][iI]|[lL][tT]|[lL][uU]|[mM][oO]|[mM][gG]|[mM][wW]|[mM][yY]|[mM][vV]|[mM][lL]|[mM][tT]|[mM][hH]|[mM][qQ]|[mM][rR]|[mM][uU]|[yY][tT]|[mM][xX]|[fF][mM]|[mM][dD]|[mM][cC]|[mM][nN]|[mM][eE]|[mM][sS]|[mM][aA]|[mM][zZ]|[mM][mM]|[nN][aA]|[nN][rR]|[nN][pP]|[nN][lL]|[nN][cC]|[nN][zZ]|[nN][iI]|[nN][eE]|[nN][gG]|[nN][uU]|[nN][fF]|[mM][kK]|[mM][pP]|[nN][oO]|[oO][mM]|[pP][kK]|[pP][wW]|[pP][sS]|[pP][aA]|[pP][gG]|[pP][yY]|[pP][eE]|[pP][hH]|[pP][nN]|[pP][lL]|[pP][tT]|[pP][rR]|[qQ][aA]|[rR][eE]|[rR][oO]|[rR][uU]|[rR][wW]|[bB][lL]|[sS][hH]|[kK][nN]|[lL][cC]|[mM][fF]|[pP][mM]|[vV][cC]|[wW][sS]|[sS][mM]|[sS][tT]|[sS][aA]|[sS][nN]|[rR][sS]|[sS][cC]|[sS][lL]|[sS][gG]|[sS][xX]|[sS][kK]|[sS][iI]|[sS][bB]|[sS][oO]|[zZ][aA]|[gG][sS]|[sS][sS]|[eE][sS]|[lL][kK]|[sS][dD]|[sS][rR]|[sS][jJ]|[sS][eE]|[cC][hH]|[sS][yY]|[tT][wW]|[tT][jJ]|[tT][zZ]|[tT][hH]|[tT][lL]|[tT][gG]|[tT][kK]|[tT][oO]|[tT][tT]|[tT][nN]|[tT][rR]|[tT][mM]|[tT][cC]|[tT][vV]|[uU][gG]|[uU][aA]|[aA][eE]|[gG][bB]|[uU][sS]|[uU][mM]|[uU][yY]|[uU][zZ]|[vV][uU]|[vV][eE]|[vV][nN]|[vV][gG]|[vV][iI]|[wW][fF]|[eE][hH]|[yY][eE]|[zZ][mM]|[zZ][wW])?\\s*$",
            "type": "string",
            "description": "A country code (<code>US</code>, <code>CA</code>, <code>GB</code>, <code>DE</code>) to check only ads shown there, or <code>anywhere</code>. A plumber in Toronto runs ads in CA, none in US.",
            "default": "anywhere"
          },
          "residentialFallback": {
            "title": "Fall back to residential proxies",
            "type": "boolean",
            "description": "When Google refuses the run's own IP and the datacenter proxies, retry through residential proxies (included in the price: you pay per website, not per proxy byte). Off: those websites come back with status <code>blocked</code>, unpaid.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}