{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Scraper - Transparency Monitor",
    "description": "Competitor ad intelligence for $0.50/1K results. Monitor new and removed Google, YouTube, Search, Display and Shopping ads, build swipe files, download creatives, and inspect copy, CTAs, landing pages, markets, platforms and dates.",
    "version": "1.0",
    "x-build-id": "YLpiaDKuy8G8eqgXs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vortex_data~google-ads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vortex_data-google-ads",
        "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/vortex_data~google-ads/runs": {
      "post": {
        "operationId": "runs-sync-vortex_data-google-ads",
        "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/vortex_data~google-ads/run-sync": {
      "post": {
        "operationId": "run-sync-vortex_data-google-ads",
        "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",
        "required": [
          "searchTargets"
        ],
        "properties": {
          "searchTargets": {
            "title": "🎯 Domains, names, IDs, or URLs",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "Paste a brand name, keyword, domain, Google Ads Transparency advertiser ID such as AR08888592736429539329, or a Transparency Center URL.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "resultsLimit": {
            "title": "🔢 Max ads",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum dataset rows saved across all competitors. Use 20 for a cheap test, 100-500 for normal research, and 0 only when you want everything available.",
            "default": 50
          },
          "filterRegion": {
            "title": "🌍 Country",
            "type": "string",
            "description": "Return ads shown in a specific country. Leave All countries for the broadest competitor view.",
            "default": "ALL"
          },
          "filterFormat": {
            "title": "🎞️ Ad format",
            "enum": [
              "ALL",
              "TEXT",
              "IMAGE",
              "VIDEO"
            ],
            "type": "string",
            "description": "Choose Text, Image, or Video only when you need a specific creative type. Leave All formats for normal competitor research.",
            "default": "ALL"
          },
          "timeRangePreset": {
            "title": "📅 Date range",
            "enum": [
              "ALL_TIME",
              "LAST_7_DAYS",
              "LAST_30_DAYS",
              "LAST_90_DAYS",
              "THIS_YEAR"
            ],
            "type": "string",
            "description": "Return ads whose active period overlaps this date range. Custom dates below override this preset.",
            "default": "ALL_TIME"
          },
          "customStartDate": {
            "title": "📅 Custom start date",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$",
            "type": "string",
            "description": "Optional exact start date. Use YYYY-MM-DD, for example 2026-06-01."
          },
          "customEndDate": {
            "title": "📅 Custom end date",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$",
            "type": "string",
            "description": "Optional exact end date. Use YYYY-MM-DD, for example 2026-06-30."
          },
          "downloadAssets": {
            "title": "🎨 Download creative files",
            "type": "boolean",
            "description": "Download direct images, thumbnails, videos, and HTML5 bundles to the key-value store when Google exposes durable media URLs. YouTube videos and expiring googlevideo streams stay as links.",
            "default": false
          },
          "extractOcrText": {
            "title": "🔎 Image OCR",
            "type": "boolean",
            "description": "Extract text baked into image creatives. This adds image downloads and CPU work, so leave it off when speed matters most.",
            "default": false
          },
          "extractVideoOcrText": {
            "title": "🎬 Video OCR",
            "type": "boolean",
            "description": "Best-effort text extraction for video creatives. Direct video assets are sampled with a few frames when Google exposes them; YouTube videos use thumbnail OCR instead of downloading full videos.",
            "default": false
          },
          "archiveLandingPages": {
            "title": "🔗 Archive landing pages",
            "type": "boolean",
            "description": "Save one HTML copy per unique decoded landing URL to the key-value store. Use this when you need evidence of competitor landing pages, not just final URLs.",
            "default": false
          },
          "includeReachStats": {
            "title": "📈 Reach and targeting stats",
            "type": "boolean",
            "description": "Fetch Google-exposed regions, platforms, impression ranges, and targeting flags. This is the most complete competitor-intelligence mode, but it is slower because Google requires one extra detail lookup per ad.",
            "default": false
          },
          "monitorMode": {
            "title": "📌 Track new and removed ads",
            "type": "boolean",
            "description": "Use this for daily or weekly schedules. Limited runs label ads as new or seen inside the sampled result window. Accurate full-advertiser new/removed tracking requires Max ads set to 0, because Google's top results window can shift.",
            "default": false
          },
          "monitorName": {
            "title": "🏷️ Monitor name",
            "type": "string",
            "description": "Use the same name every time for one competitor watchlist, for example NIKE_US. Change it only when you want to start a separate monitor history.",
            "default": "GOOGLE_ADS_MONITOR"
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}