{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Scraper & Ad Copy, Email full contact info",
    "description": "Scrape the Google Ads Transparency Center by brand, domain or advertiser ID: every ad with its copy (headline, description, display URL, sitelinks), format, first and last shown dates, countries, EU reach and YouTube video. Track new and stopped ads. No login.",
    "version": "0.2",
    "x-build-id": "aRhbWwahO11CVmUWp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mangop~google-ads-transparency-center-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mangop-google-ads-transparency-center-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/mangop~google-ads-transparency-center-scraper/runs": {
      "post": {
        "operationId": "runs-sync-mangop-google-ads-transparency-center-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/mangop~google-ads-transparency-center-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-mangop-google-ads-transparency-center-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": {
          "mode": {
            "title": "What to collect",
            "enum": [
              "ads",
              "contacts"
            ],
            "type": "string",
            "description": "Ads: one row per ad, with its copy, format, dates and links. Advertiser contacts: one row per advertiser website, with the email, phone and social profiles shown on the website, plus who pays for the ads and how many run. Contacts cost more per row because every website is read.",
            "default": "ads"
          },
          "queries": {
            "title": "Brands, websites or advertiser IDs (optional)",
            "type": "array",
            "description": "One per line. A website (\"nike.com\") covers every advertiser whose ads lead there. A brand name (\"Nike\") finds the matching advertiser accounts. An advertiser ID (\"AR16735076323512287233\") or a Transparency Center link is exact. Leave empty to find advertisers by keyword or country instead.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Find advertisers by keyword (optional)",
            "type": "array",
            "description": "Words in the advertiser's website address, one per line, in the language of the country: \"dentist\", \"zahnarzt\", \"plumber\". Finds every website with Google ads that contains the word, in the countries below. Leave brands and keywords empty to scan the advertisers of the countries.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Countries",
            "type": "array",
            "description": "Only ads shown, and advertisers advertising, in these countries. Leave empty for anywhere. A scan without brands or keywords needs at least one country.",
            "items": {
              "type": "string",
              "enum": [
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "VG",
                "BN",
                "BG",
                "BF",
                "BI",
                "CV",
                "KH",
                "CM",
                "CA",
                "IC",
                "BQ",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CK",
                "CR",
                "CI",
                "HR",
                "CW",
                "CY",
                "CZ",
                "CD",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "SZ",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "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",
                "MK",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "CG",
                "RE",
                "RO",
                "RW",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "KR",
                "ES",
                "LK",
                "SR",
                "SJ",
                "SE",
                "CH",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "BS",
                "GM",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "VI",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VA",
                "VE",
                "VN",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ],
              "enumTitles": [
                "Albania (AL)",
                "Algeria (DZ)",
                "American Samoa (AS)",
                "Andorra (AD)",
                "Angola (AO)",
                "Anguilla (AI)",
                "Antarctica (AQ)",
                "Antigua and Barbuda (AG)",
                "Argentina (AR)",
                "Armenia (AM)",
                "Aruba (AW)",
                "Australia (AU)",
                "Austria (AT)",
                "Azerbaijan (AZ)",
                "Bahrain (BH)",
                "Bangladesh (BD)",
                "Barbados (BB)",
                "Belarus (BY)",
                "Belgium (BE)",
                "Belize (BZ)",
                "Benin (BJ)",
                "Bermuda (BM)",
                "Bhutan (BT)",
                "Bolivia (BO)",
                "Bosnia and Herzegovina (BA)",
                "Botswana (BW)",
                "Bouvet Island (BV)",
                "Brazil (BR)",
                "British Indian Ocean Territory (IO)",
                "British Virgin Islands (VG)",
                "Brunei (BN)",
                "Bulgaria (BG)",
                "Burkina Faso (BF)",
                "Burundi (BI)",
                "Cabo Verde (CV)",
                "Cambodia (KH)",
                "Cameroon (CM)",
                "Canada (CA)",
                "Canary Islands (IC)",
                "Caribbean Netherlands (BQ)",
                "Cayman Islands (KY)",
                "Central African Republic (CF)",
                "Chad (TD)",
                "Chile (CL)",
                "China (CN)",
                "Christmas Island (CX)",
                "Cocos (Keeling) Islands (CC)",
                "Colombia (CO)",
                "Comoros (KM)",
                "Cook Islands (CK)",
                "Costa Rica (CR)",
                "Cote d'Ivoire (CI)",
                "Croatia (HR)",
                "Curacao (CW)",
                "Cyprus (CY)",
                "Czechia (CZ)",
                "Democratic Republic of the Congo (CD)",
                "Denmark (DK)",
                "Djibouti (DJ)",
                "Dominica (DM)",
                "Dominican Republic (DO)",
                "Ecuador (EC)",
                "Egypt (EG)",
                "El Salvador (SV)",
                "Equatorial Guinea (GQ)",
                "Eritrea (ER)",
                "Estonia (EE)",
                "Eswatini (SZ)",
                "Ethiopia (ET)",
                "Falkland Islands (Islas Malvinas) (FK)",
                "Faroe Islands (FO)",
                "Fiji (FJ)",
                "Finland (FI)",
                "France (FR)",
                "French Guiana (GF)",
                "French Polynesia (PF)",
                "French Southern and Antarctic Lands (TF)",
                "Gabon (GA)",
                "Georgia (GE)",
                "Germany (DE)",
                "Ghana (GH)",
                "Gibraltar (GI)",
                "Greece (GR)",
                "Greenland (GL)",
                "Grenada (GD)",
                "Guadeloupe (GP)",
                "Guam (GU)",
                "Guatemala (GT)",
                "Guernsey (GG)",
                "Guinea (GN)",
                "Guinea-Bissau (GW)",
                "Guyana (GY)",
                "Haiti (HT)",
                "Heard Island and McDonald Islands (HM)",
                "Honduras (HN)",
                "Hong Kong (HK)",
                "Hungary (HU)",
                "Iceland (IS)",
                "India (IN)",
                "Indonesia (ID)",
                "Iraq (IQ)",
                "Ireland (IE)",
                "Isle of Man (IM)",
                "Israel (IL)",
                "Italy (IT)",
                "Jamaica (JM)",
                "Japan (JP)",
                "Jersey (JE)",
                "Jordan (JO)",
                "Kazakhstan (KZ)",
                "Kenya (KE)",
                "Kiribati (KI)",
                "Kuwait (KW)",
                "Kyrgyzstan (KG)",
                "Laos (LA)",
                "Latvia (LV)",
                "Lebanon (LB)",
                "Lesotho (LS)",
                "Liberia (LR)",
                "Libya (LY)",
                "Liechtenstein (LI)",
                "Lithuania (LT)",
                "Luxembourg (LU)",
                "Macao (MO)",
                "Madagascar (MG)",
                "Malawi (MW)",
                "Malaysia (MY)",
                "Maldives (MV)",
                "Mali (ML)",
                "Malta (MT)",
                "Marshall Islands (MH)",
                "Martinique (MQ)",
                "Mauritania (MR)",
                "Mauritius (MU)",
                "Mayotte (YT)",
                "Mexico (MX)",
                "Micronesia (FM)",
                "Moldova (MD)",
                "Monaco (MC)",
                "Mongolia (MN)",
                "Montenegro (ME)",
                "Montserrat (MS)",
                "Morocco (MA)",
                "Mozambique (MZ)",
                "Myanmar (Burma) (MM)",
                "Namibia (NA)",
                "Nauru (NR)",
                "Nepal (NP)",
                "Netherlands (NL)",
                "New Caledonia (NC)",
                "New Zealand (NZ)",
                "Nicaragua (NI)",
                "Niger (NE)",
                "Nigeria (NG)",
                "Niue (NU)",
                "Norfolk Island (NF)",
                "North Macedonia (MK)",
                "Northern Mariana Islands (MP)",
                "Norway (NO)",
                "Oman (OM)",
                "Pakistan (PK)",
                "Palau (PW)",
                "Palestine (PS)",
                "Panama (PA)",
                "Papua New Guinea (PG)",
                "Paraguay (PY)",
                "Peru (PE)",
                "Philippines (PH)",
                "Pitcairn Islands (PN)",
                "Poland (PL)",
                "Portugal (PT)",
                "Puerto Rico (PR)",
                "Qatar (QA)",
                "Republic of the Congo (CG)",
                "Reunion (RE)",
                "Romania (RO)",
                "Rwanda (RW)",
                "Saint Helena, Ascension and Tristan da Cunha (SH)",
                "Saint Kitts and Nevis (KN)",
                "Saint Lucia (LC)",
                "Saint Martin (MF)",
                "Saint Pierre and Miquelon (PM)",
                "Saint Vincent and the Grenadines (VC)",
                "Samoa (WS)",
                "San Marino (SM)",
                "Sao Tome and Principe (ST)",
                "Saudi Arabia (SA)",
                "Senegal (SN)",
                "Seychelles (SC)",
                "Sierra Leone (SL)",
                "Singapore (SG)",
                "Sint Maarten (SX)",
                "Slovakia (SK)",
                "Slovenia (SI)",
                "Solomon Islands (SB)",
                "Somalia (SO)",
                "South Africa (ZA)",
                "South Georgia and the South Sandwich Islands (GS)",
                "South Korea (KR)",
                "Spain (ES)",
                "Sri Lanka (LK)",
                "Suriname (SR)",
                "Svalbard and Jan Mayen (SJ)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Taiwan (TW)",
                "Tajikistan (TJ)",
                "Tanzania (TZ)",
                "Thailand (TH)",
                "The Bahamas (BS)",
                "The Gambia (GM)",
                "Timor-Leste (TL)",
                "Togo (TG)",
                "Tokelau (TK)",
                "Tonga (TO)",
                "Trinidad and Tobago (TT)",
                "Tunisia (TN)",
                "Turkiye (TR)",
                "Turkmenistan (TM)",
                "Turks and Caicos Islands (TC)",
                "Tuvalu (TV)",
                "U.S. Virgin Islands (VI)",
                "Uganda (UG)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "United Kingdom (GB)",
                "United States (US)",
                "United States Minor Outlying Islands (UM)",
                "Uruguay (UY)",
                "Uzbekistan (UZ)",
                "Vanuatu (VU)",
                "Vatican City (VA)",
                "Venezuela (VE)",
                "Vietnam (VN)",
                "Wallis and Futuna (WF)",
                "Western Sahara (EH)",
                "Yemen (YE)",
                "Zambia (ZM)",
                "Zimbabwe (ZW)"
              ]
            },
            "default": []
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Ads (or advertisers, in contacts mode) to deliver in total, shared evenly by your brands, keywords and countries. Each result is charged; the run also stops at your maximum cost per run.",
            "default": 100
          },
          "format": {
            "title": "Ad format",
            "enum": [
              "all",
              "text",
              "image",
              "video"
            ],
            "type": "string",
            "description": "Only text (search), image or video ads.",
            "default": "all"
          },
          "platform": {
            "title": "Google platform",
            "enum": [
              "all",
              "search",
              "youtube",
              "shopping",
              "maps",
              "play"
            ],
            "type": "string",
            "description": "Only ads shown on one Google surface.",
            "default": "all"
          },
          "dateFrom": {
            "title": "Shown from",
            "type": "string",
            "description": "Only ads shown on or after this date: YYYY-MM-DD or relative (\"30 days\"). Google keeps about 12 months of dates."
          },
          "dateTo": {
            "title": "Shown until",
            "type": "string",
            "description": "Only ads shown on or before this date: YYYY-MM-DD or relative (\"7 days\")."
          },
          "maxAdsPerAdvertiser": {
            "title": "Max ads per advertiser",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Ads mode: most ads per brand and country, and per advertiser website found by a keyword or scan. 0 = share Max results evenly between brands, and a few ads per website found (Max results / 20, at most 10), so a search covers more advertisers.",
            "default": 0
          },
          "includeAdText": {
            "title": "Read ad copy",
            "type": "boolean",
            "description": "Ads mode: headline, description, display URL, business name and sitelinks of text ads (from Google's preview data, or by OCR when Google only shows a picture), plus call to action, landing page and YouTube video. No extra charge; makes runs slower.",
            "default": true
          },
          "includeDetails": {
            "title": "Countries, EU reach and targeting",
            "type": "boolean",
            "description": "Ads mode: one more request per ad for every country with its dates, EU impression ranges per platform, audience targeting and who paid. Charged as a separate event per ad.",
            "default": false
          },
          "includeWithoutEmail": {
            "title": "Include advertisers without an email",
            "type": "boolean",
            "description": "Contacts mode: keyword searches and country scans deliver only advertisers whose website shows an email. Turn on to get the others too (website, phone, social profiles), at the lower price for a row without an email. Brands you list always get a row.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Any name, for example \"dentists-de\". Runs with the same name remember what they delivered: ads get a status (new, running, stopped) and advertisers new or known. Schedule the Actor with it. Empty = no monitoring."
          },
          "onlyNew": {
            "title": "Deliver only new results",
            "type": "boolean",
            "description": "With a monitor name: only ads, or advertisers, that earlier runs did not deliver. Ads that stopped since the last run come as free notices. Known results are not charged.",
            "default": false
          },
          "maxAdvertisersPerQuery": {
            "title": "Max advertiser accounts per brand name",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "A brand name can match several accounts (one per country or legal entity). The biggest matching accounts are kept; namesakes with under 1% of the top account's ads are skipped.",
            "default": 5
          },
          "maxConcurrency": {
            "title": "Parallel connections",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Connections used at once. More is faster for big runs; each one waits about a second between Google requests so it is not blocked.",
            "default": 6
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}