{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Transparency Center Scraper & API",
    "description": "Google Ads Transparency Center Scraper & API extracts brands, ad creatives, headlines, descriptions, ad formats, regions, and platforms from Google's ad library. Research competitor ads, monitor ad campaigns, analyze creatives, and collect advertising data for market intelligence insights.",
    "version": "1.0",
    "x-build-id": "fAzgS1Ptx0TuXkldD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/insights_data~google-ads-transparency-center-scraper-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-insights_data-google-ads-transparency-center-scraper-api",
        "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/insights_data~google-ads-transparency-center-scraper-api/runs": {
      "post": {
        "operationId": "runs-sync-insights_data-google-ads-transparency-center-scraper-api",
        "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/insights_data~google-ads-transparency-center-scraper-api/run-sync": {
      "post": {
        "operationId": "run-sync-insights_data-google-ads-transparency-center-scraper-api",
        "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": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "🔗 Domains, brands or advertisers",
            "type": "array",
            "description": "One entry per line: a website domain (nike.com), a brand name (Nike), a Google advertiser ID (AR…), an advertiser and ad ID pair (AR…/CR…) or a Transparency Center link. Each entry returns up to the limit below.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max ads per input",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "The most ads (or advertisers) to return for each entry above. A brand name that matches several advertisers shares this limit between them.",
            "default": 20
          },
          "resultType": {
            "title": "🧭 What to collect",
            "enum": [
              "ads",
              "advertisers"
            ],
            "type": "string",
            "description": "Individual ads, or one summary row per advertiser with its approximate ad count.",
            "default": "ads"
          },
          "region": {
            "title": "📍 Country",
            "enum": [
              "ANYWHERE",
              "AF",
              "AX",
              "AL",
              "DZ",
              "AS",
              "AD",
              "AO",
              "AI",
              "AQ",
              "AG",
              "AR",
              "AM",
              "AW",
              "AU",
              "AT",
              "AZ",
              "BS",
              "BH",
              "BD",
              "BB",
              "BY",
              "BE",
              "BZ",
              "BJ",
              "BM",
              "BT",
              "BO",
              "BQ",
              "BA",
              "BW",
              "BV",
              "BR",
              "IO",
              "VG",
              "BN",
              "BG",
              "BF",
              "BI",
              "KH",
              "CM",
              "CA",
              "CV",
              "KY",
              "CF",
              "TD",
              "CL",
              "CN",
              "CX",
              "CC",
              "CO",
              "KM",
              "CG",
              "CD",
              "CK",
              "CR",
              "CI",
              "HR",
              "CU",
              "CW",
              "CY",
              "CZ",
              "DK",
              "DJ",
              "DM",
              "DO",
              "EC",
              "EG",
              "SV",
              "GQ",
              "ER",
              "EE",
              "SZ",
              "ET",
              "FK",
              "FO",
              "FJ",
              "FI",
              "FR",
              "GF",
              "PF",
              "TF",
              "GA",
              "GM",
              "GE",
              "DE",
              "GH",
              "GI",
              "GR",
              "GL",
              "GD",
              "GP",
              "GU",
              "GT",
              "GG",
              "GN",
              "GW",
              "GY",
              "HT",
              "HM",
              "HN",
              "HK",
              "HU",
              "IS",
              "IN",
              "ID",
              "IR",
              "IQ",
              "IE",
              "IM",
              "IL",
              "IT",
              "JM",
              "JP",
              "JE",
              "JO",
              "KZ",
              "KE",
              "KI",
              "KW",
              "KG",
              "LA",
              "LV",
              "LB",
              "LS",
              "LR",
              "LY",
              "LI",
              "LT",
              "LU",
              "MO",
              "MG",
              "MW",
              "MY",
              "MV",
              "ML",
              "MT",
              "MH",
              "MQ",
              "MR",
              "MU",
              "YT",
              "MX",
              "FM",
              "MD",
              "MC",
              "MN",
              "ME",
              "MS",
              "MA",
              "MZ",
              "MM",
              "NA",
              "NR",
              "NP",
              "NL",
              "NC",
              "NZ",
              "NI",
              "NE",
              "NG",
              "NU",
              "NF",
              "KP",
              "MK",
              "MP",
              "NO",
              "OM",
              "PK",
              "PW",
              "PS",
              "PA",
              "PG",
              "PY",
              "PE",
              "PH",
              "PN",
              "PL",
              "PT",
              "PR",
              "QA",
              "RE",
              "RO",
              "RU",
              "RW",
              "SH",
              "KN",
              "LC",
              "PM",
              "VC",
              "WS",
              "SM",
              "ST",
              "SA",
              "SN",
              "RS",
              "SC",
              "SL",
              "SG",
              "SX",
              "SK",
              "SI",
              "SB",
              "SO",
              "ZA",
              "GS",
              "KR",
              "SS",
              "ES",
              "LK",
              "SD",
              "SR",
              "SJ",
              "SE",
              "CH",
              "SY",
              "TW",
              "TJ",
              "TZ",
              "TH",
              "TL",
              "TG",
              "TK",
              "TO",
              "TT",
              "TN",
              "TR",
              "TM",
              "TC",
              "TV",
              "UM",
              "VI",
              "UG",
              "UA",
              "AE",
              "GB",
              "US",
              "UY",
              "UZ",
              "VU",
              "VA",
              "VE",
              "VN",
              "WF",
              "EH",
              "YE",
              "ZM",
              "ZW"
            ],
            "type": "string",
            "description": "Only ads shown in this country. Choose Anywhere to search every country.",
            "default": "US"
          },
          "includeDetails": {
            "title": "🔬 Full ad details",
            "type": "boolean",
            "description": "Adds ad versions, countries shown with dates, impressions, platform split and audience targeting to every ad. Turn off for a faster, lighter list.",
            "default": true
          },
          "includeAdText": {
            "title": "📝 Ad text",
            "type": "boolean",
            "description": "Reads the headline, description, display link and business name of text, search and shopping ads. Picture and video ads keep their words in the image, so these stay empty. Slower.",
            "default": false
          },
          "adFormat": {
            "title": "🖼️ Ad format",
            "enum": [
              "ALL",
              "TEXT",
              "IMAGE",
              "VIDEO"
            ],
            "type": "string",
            "description": "Only ads of this format.",
            "default": "ALL"
          },
          "platforms": {
            "title": "📱 Where the ad ran",
            "type": "array",
            "description": "Only ads shown on these Google platforms. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "SEARCH",
                "YOUTUBE",
                "SHOPPING",
                "MAPS",
                "PLAY"
              ],
              "enumTitles": [
                "Google Search",
                "YouTube",
                "Shopping",
                "Maps",
                "Google Play"
              ]
            }
          },
          "startDate": {
            "title": "📅 Shown since",
            "type": "string",
            "description": "Only ads shown on or after this day. Pick a date or a relative value such as 30 days, 2 weeks or 3 months."
          },
          "endDate": {
            "title": "🗓️ Shown until",
            "type": "string",
            "description": "Only ads first shown on or before this day. Pick a date or a relative value such as 7 days."
          },
          "political": {
            "title": "🗳️ Political ads only",
            "type": "boolean",
            "description": "Return only political and election ads, with the spend and impression ranges Google publishes for them.",
            "default": false
          },
          "candidateNameKeyword": {
            "title": "🔎 Candidate or party name",
            "type": "string",
            "description": "Political ads only: keep ads that mention this candidate or party name."
          },
          "impressionRanges": {
            "title": "📈 Impressions range",
            "type": "array",
            "description": "Only ads whose impressions fall in one of the chosen ranges. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "RANGE_0_TO_1K",
                "RANGE_1K_TO_10K",
                "RANGE_10K_TO_50K",
                "RANGE_50K_TO_100K",
                "RANGE_100K_TO_250K",
                "RANGE_250K_TO_500K",
                "RANGE_500K_TO_1M",
                "RANGE_1M_TO_2500K",
                "RANGE_2500K_TO_5M",
                "RANGE_5M_TO_10M",
                "RANGE_10M_AND_ABOVE"
              ],
              "enumTitles": [
                "0 to 1K",
                "1K to 10K",
                "10K to 50K",
                "50K to 100K",
                "100K to 250K",
                "250K to 500K",
                "500K to 1M",
                "1M to 2.5M",
                "2.5M to 5M",
                "5M to 10M",
                "10M and above"
              ]
            }
          },
          "sortBy": {
            "title": "🔃 Sort ads by",
            "enum": [
              "LAST_ACTIVITY_DATE",
              "IMPRESSIONS",
              "REVENUE"
            ],
            "type": "string",
            "description": "The order ads are collected in, which matters when you limit the number of ads.",
            "default": "LAST_ACTIVITY_DATE"
          },
          "sortDescending": {
            "title": "⬇️ Highest or latest first",
            "type": "boolean",
            "description": "On: biggest or most recent first. Off: smallest or oldest first.",
            "default": true
          },
          "maxAdvertisersPerQuery": {
            "title": "🏷️ Advertisers per brand name",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "When an entry is a brand name, how many matching advertisers to look at.",
            "default": 5
          },
          "onlyNewAds": {
            "title": "🆕 Only ads not seen before",
            "type": "boolean",
            "description": "Skips ads this actor returned in earlier runs of your account, so a scheduled run delivers only new ads.",
            "default": false
          },
          "knownAdsDataset": {
            "title": "📂 Skip ads from earlier results",
            "type": "string",
            "description": "Pick the results of an earlier run. Ads already in it are skipped and do not count towards the limit."
          },
          "detailConcurrency": {
            "title": "⚡ Parallel lookups",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many ads are looked up at the same time.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Choose your own proxy. Leave off to let the actor decide."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}