{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Transparency Scraper & Funnel Spy | $1.50/1K Ads",
    "description": "Extract competitor ads from Google Ads Transparency Center by domain, brand, or advertiser ID. Decodes unlisted YouTube ad videos, copy, days running & landing page pixels.",
    "version": "1.0",
    "x-build-id": "QyyvhtoXnIs640q1n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/devoted_helix~google-ads-transparency-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-devoted_helix-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/devoted_helix~google-ads-transparency-scraper/runs": {
      "post": {
        "operationId": "runs-sync-devoted_helix-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/devoted_helix~google-ads-transparency-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-devoted_helix-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": "Competitor Domains",
            "type": "array",
            "description": "Exact competitor domains to extract ads for (e.g. shopify.com, monday.com, hubspot.com).",
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Brand Names or Keywords",
            "type": "array",
            "description": "Brand names or company keywords. Automatically resolves verified Advertiser IDs (or lists matching advertisers when Result Type = advertisers). Result Type = advertisers searches these names plus the domains above.",
            "items": {
              "type": "string"
            }
          },
          "advertiserIds": {
            "title": "Google Advertiser IDs (AR...)",
            "type": "array",
            "description": "Direct Google Ads Transparency Advertiser IDs starting with AR (e.g. AR15972262369074085889).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Transparency Center URLs",
            "type": "array",
            "description": "Paste URLs directly from adstransparency.google.com (advertiser pages or domain search URLs).",
            "items": {
              "type": "string"
            }
          },
          "resultType": {
            "title": "Result Type",
            "enum": [
              "ads",
              "advertisers"
            ],
            "type": "string",
            "description": "Choose 'ads' to extract ad creatives & funnel intel, or 'advertisers' to discover verified advertiser accounts and ad-volume bands.",
            "default": "ads"
          },
          "region": {
            "title": "Target Country / Region (ISO-2)",
            "type": "string",
            "description": "Two-letter ISO country code where the ads were shown (e.g. US, GB, DE, FR, CA, AU, TR, NL, ES, IT, BR, IN, JP, AE).",
            "default": "US"
          },
          "adFormat": {
            "title": "Ad Format Filter",
            "enum": [
              "ALL",
              "TEXT",
              "IMAGE",
              "VIDEO"
            ],
            "type": "string",
            "description": "Filter returned creatives by ad format (ALL, TEXT, IMAGE, or VIDEO).",
            "default": "ALL"
          },
          "maxAdsPerTarget": {
            "title": "Max Ads per Target",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of ads to return for each domain, brand query, or advertiser ID.",
            "default": 25
          },
          "minDaysRunning": {
            "title": "Minimum Days Running (Winner Filter)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Only return ads that have been running for at least N days (e.g. set 14 or 30 to filter strictly for profitable evergreen ads).",
            "default": 0
          },
          "onlyActiveAds": {
            "title": "Only Currently Active Ads",
            "type": "boolean",
            "description": "When enabled, excludes historical paused ads and keeps only ads shown within the last 7 days.",
            "default": false
          },
          "includeCreativeDetails": {
            "title": "Enrich Full Creative Details, Copy & Unlisted YouTube Links",
            "type": "boolean",
            "description": "Fetches full creative variations, regional impression dates, and decodes Google preview bundles to extract exact landing page subpaths, ad text/headlines, and unlisted YouTube video URLs.",
            "default": true
          },
          "analyzeLandingPage": {
            "title": "Analyze Competitor Landing Page & Ad Pixels",
            "type": "boolean",
            "description": "Optional paid add-on ($0.01 per unique landing page). Inspects each exact landing page decoded from the creatives to extract hero H1 hooks, pricing/trial offers, CTAs, tracking pixels (Meta, Google, TikTok, LinkedIn, GTM, Hotjar, Clarity), and SaaS tech stack. Requires 'Enrich Full Creative Details'. Charged only when the page loads successfully; root-domain fallbacks and blocked pages are never charged.",
            "default": false
          },
          "onlyNewAds": {
            "title": "Competitor Monitor Mode (Only New Ads)",
            "type": "boolean",
            "description": "Tracks seen creative IDs in a persistent Apify Key-Value Store and outputs only newly launched ads since your previous scheduled run.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor Store Name",
            "type": "string",
            "description": "Custom name for the persistent Key-Value Store when Monitor Mode is enabled.",
            "default": "google-ads-competitor-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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}