{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Transparency Scraper: Ads, Reach & Ad Copy",
    "description": "Extract Google Ads creatives, ad copy, variations, active days, and EU/US reach by domain, brand name, advertiser ID, URL, or Website Contact Scraper datasetId. Pay per delivered row. Not affiliated with Google.",
    "version": "0.0",
    "x-build-id": "i2TwELYymsHyv9dyn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kizukidata~google-ads-transparency-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kizukidata-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/kizukidata~google-ads-transparency-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kizukidata-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/kizukidata~google-ads-transparency-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kizukidata-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": {
          "domains": {
            "title": "Company domains",
            "type": "array",
            "description": "Company domains or website URLs (e.g. [\"nike.com\", \"stripe.com\"]). Returns ads pointing to each domain.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Brand names or keywords",
            "type": "array",
            "description": "Brand or advertiser names (e.g. [\"Nike\"]). Resolved via advertiser suggestions. Leave all targets empty to run a sample domain check.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "advertiserIds": {
            "title": "Advertiser IDs",
            "type": "array",
            "description": "Google Ads advertiser IDs starting with \"AR\" (found in Transparency Center URLs).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Transparency Center URLs",
            "type": "array",
            "description": "Google Ads Transparency Center URLs for advertisers, creatives, or domain searches.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "datasetId": {
            "title": "Upstream Dataset ID",
            "type": "string",
            "description": "Apify dataset ID (for example from Website Contact Scraper or Google Maps). Reads domains and filters to google_ads adPixels when enabled."
          },
          "filterGoogleAdsOnly": {
            "title": "Keep only domains with google_ads pixel",
            "type": "boolean",
            "description": "When reading datasetId from Website Contact Scraper, skip rows whose adPixels array contains no google_ads entry.",
            "default": true
          },
          "resultType": {
            "title": "Result mode",
            "enum": [
              "ads",
              "advertisers"
            ],
            "type": "string",
            "description": "\"ads\" returns individual creatives, copy, and reach. \"advertisers\" returns one summary row per advertiser account.",
            "default": "ads"
          },
          "region": {
            "title": "Country or region",
            "type": "string",
            "description": "Two-letter country code (e.g. \"US\", \"DE\", \"GB\", \"JP\") or \"ANYWHERE\" for all regions.",
            "default": "ANYWHERE"
          },
          "platforms": {
            "title": "Google platforms",
            "type": "array",
            "description": "Filter by surface: SEARCH, YOUTUBE, SHOPPING, MAPS, or PLAY. Leave empty for all surfaces.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "adFormat": {
            "title": "Ad format",
            "enum": [
              "ALL",
              "TEXT",
              "IMAGE",
              "VIDEO"
            ],
            "type": "string",
            "description": "Filter creatives by format: ALL, TEXT, IMAGE, or VIDEO.",
            "default": "ALL"
          },
          "startDate": {
            "title": "Shown on or after (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional lower bound date (YYYY-MM-DD, e.g. 2026-01-01) within the last 12 months.",
            "default": ""
          },
          "endDate": {
            "title": "Shown on or before (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional upper bound date (YYYY-MM-DD, e.g. 2026-11-16).",
            "default": ""
          },
          "includeDetails": {
            "title": "Include creative details & EEA/US reach",
            "type": "boolean",
            "description": "Included in base price. Fetches variations, countries shown, verified legal name, targeting signals, and EEA/US impression ranges.",
            "default": true
          },
          "includeAdText": {
            "title": "Decode ad copy & preview assets",
            "type": "boolean",
            "description": "Included in base price. Extracts headlines, descriptions, display URLs, business names, and video/image asset links.",
            "default": true
          },
          "onlyNewAds": {
            "title": "Only new ads since last run",
            "type": "boolean",
            "description": "Return and pay only for creatives not seen in previous scheduled runs (tracked per account store).",
            "default": false
          },
          "maxAdsPerTarget": {
            "title": "Max ads per target",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum creatives or advertiser rows collected per target (1-1,000, default 20).",
            "default": 20
          },
          "maxAdvertisersPerQuery": {
            "title": "Max advertisers per brand query",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "When searching queries by brand name, how many top suggested advertiser accounts to include (1-20, default 3).",
            "default": 3
          },
          "maxItems": {
            "title": "Maximum rows per run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Total delivered rows cap per run (1-5,000, default 20). Keep <= 20 for fast MCP tool calls.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Uses Apify datacenter proxy by default (no residential proxy required).",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}