{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Transparency Scraper — Ad Copy & Video [$2.50/1K]",
    "description": "[$2.50/1K] Fast, no-browser Google Ads Transparency Center scraper. Extract Search ad headlines & descriptions, Shopping titles, YouTube video IDs, bulk domain ad-spend checks, date/platform filters & EU DSA reach.",
    "version": "1.2",
    "x-build-id": "0luNsOpcH9Ir7FEWv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/appropriate_ideal_ksi~google-ads-transparency-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-appropriate_ideal_ksi-google-ads-transparency-pro",
        "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/appropriate_ideal_ksi~google-ads-transparency-pro/runs": {
      "post": {
        "operationId": "runs-sync-appropriate_ideal_ksi-google-ads-transparency-pro",
        "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/appropriate_ideal_ksi~google-ads-transparency-pro/run-sync": {
      "post": {
        "operationId": "run-sync-appropriate_ideal_ksi-google-ads-transparency-pro",
        "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": "Competitor Domains",
            "type": "array",
            "description": "List of domains or website URLs to extract Google Ads for (e.g. 'shopify.com', 'nike.com', 'booking.com').",
            "items": {
              "type": "string"
            }
          },
          "bulkDomainsText": {
            "title": "Bulk Domains Paste (One Per Line — Optional)",
            "type": "string",
            "description": "Paste hundreds of prospect domains (one per line or comma-separated) directly from Clay, Apollo, or Google Sheets."
          },
          "searchQueries": {
            "title": "Brand, Company, or Agency Names",
            "type": "array",
            "description": "Brand names or advertising agencies automatically resolved via Google SearchSuggestions (e.g. 'HubSpot', 'Airbnb', 'AAMP LLC').",
            "items": {
              "type": "string"
            }
          },
          "advertiserIds": {
            "title": "Google Advertiser IDs (AR...)",
            "type": "array",
            "description": "Exact Google Ads Transparency Advertiser IDs starting with AR (e.g. 'AR16735076323512287233').",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Direct Google Ads Transparency URLs",
            "type": "array",
            "description": "Paste any adstransparency.google.com advertiser, domain search, or single creative (.../creative/CR...) URLs.",
            "items": {
              "type": "string"
            }
          },
          "resultType": {
            "title": "Result Mode",
            "enum": [
              "ads",
              "advertisers"
            ],
            "type": "string",
            "description": "Choose 'ads' for full creative records, or 'advertisers' for fast B2B Lead-Gen Screening (1 row per domain showing whether they run Google Ads, verified payer, and formats).",
            "default": "ads"
          },
          "region": {
            "title": "Target Country / Region",
            "type": "string",
            "description": "ISO-2 country code where ads were shown (e.g. 'US', 'GB', 'DE', 'FR', 'IN', 'CA', 'AU') or 'anywhere' for worldwide.",
            "default": "anywhere"
          },
          "adFormat": {
            "title": "Ad Format Filter",
            "enum": [
              "ALL",
              "TEXT",
              "IMAGE",
              "VIDEO"
            ],
            "type": "string",
            "description": "Filter ads by creative format, or select ALL to capture Search Text, Shopping/Display Images, and YouTube Videos.",
            "default": "ALL"
          },
          "platforms": {
            "title": "Google Platform / Surface Filter (Optional)",
            "type": "array",
            "description": "Optionally restrict results to specific Google surfaces (e.g. 'SEARCH', 'YOUTUBE', 'SHOPPING', 'MAPS', 'PLAY'). Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "startDate": {
            "title": "Shown On or After Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Only return ads active on or after this date (e.g. '2026-10-01'). Leave empty for all available dates."
          },
          "endDate": {
            "title": "Shown On or Before Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Only return ads active on or before this date (e.g. '2026-11-14'). Leave empty for no upper bound."
          },
          "maxAdsPerTarget": {
            "title": "Max Ads per Domain / Advertiser",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of unique ad creatives to extract per target domain or advertiser (Free Apify plan preview: up to 25/run; Paid Apify plans: up to 10,000/target).",
            "default": 25
          },
          "maxTotalAds": {
            "title": "Global Max Ads Cap (Entire Run — Optional)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard ceiling on total records emitted across the entire run for strict budget predictability. Leave empty for no global cap."
          },
          "maxAdvertisersPerQuery": {
            "title": "Max Advertisers per Brand/Agency Query",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many matching advertiser accounts to scrape per searchQuery. Set to 5–20 when searching an ad agency name to discover all client accounts.",
            "default": 1
          },
          "onlyNewAds": {
            "title": "Monitor Mode: Only New Ads",
            "type": "boolean",
            "description": "Remembers seen creative IDs in a named Key-Value Store across scheduled runs and only outputs (and charges for) brand-new competitor ads.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor Key-Value Store Name",
            "type": "string",
            "description": "Key-Value Store name used when 'Monitor Mode: Only New Ads' is enabled.",
            "default": "google-ads-seen-creatives"
          },
          "includeCreativeDetails": {
            "title": "Include Full Variations, Payer & EU DSA Reach",
            "type": "boolean",
            "description": "Fetches all creative variations, verified payer legal entity, EU DSA targeting disclosures, and per-country impression ranges (included at no extra add-on charge).",
            "default": true
          },
          "extractAdCopy": {
            "title": "Extract Ad Copy, Shopping Titles & YouTube Video IDs",
            "type": "boolean",
            "description": "Parses Google's ad preview payload to extract Search headlines, descriptions, display URLs, Shopping product titles, and YouTube video URLs (included at no extra add-on charge).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional)",
            "type": "object",
            "description": "Optional proxy settings. Direct connection works reliably with sub-second speed and keeps platform usage near zero.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}