{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Transparency Scraper: Ads by Domain · $0.79/1K",
    "description": "Get the ads any company runs on Google from the Ads Transparency Center for $0.79 per 1,000 ads. Search by domain, advertiser ID or brand name (up to 10 advertisers per brand), filter by 60 regions, platform and dates, and get the advertiser, format, dates and preview links. No login or API key.",
    "version": "0.0",
    "x-build-id": "6feDPQgrvtXdatt9N"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ownscraper~google-ads-transparency-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ownscraper-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/ownscraper~google-ads-transparency-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ownscraper-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/ownscraper~google-ads-transparency-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ownscraper-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",
        "required": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Domains, advertiser IDs or brand names (limited for free users)",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "One per line, up to 100 per run. Use a domain (nike.com or a website URL), an advertiser ID (starts with AR, followed by digits) or a brand name (Nike). You can find the advertiser ID in the URL of the advertiser page on the Google Ads Transparency Center, and you can also paste that URL. For a brand name, the actor picks up to Max advertisers per brand name among the advertisers whose name contains the brand name as a whole word (Apple matches Apple Inc. and Apple Bank, not Applebee's): the one whose name equals the brand name (ignoring Inc., Ltd, GmbH...) comes first, then the ones with the most ads. Each row has advertiserName and matchedBrand, so you can check which advertiser it came from. If a brand name does not pick the company you want, use its domain or advertiser ID instead. Other inputs are skipped without a charge.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "maxAdsPerQuery": {
            "title": "Max ads per search (limited for free users)",
            "minimum": 1,
            "maximum": 700,
            "type": "integer",
            "description": "Upper limit of ads saved for each domain or advertiser ID, and for each advertiser picked for a brand name, from 1 to 700. One search returns at most 700 ads, even if the advertiser has more. You pay only for saved ads.",
            "default": 40
          },
          "maxAdvertisersPerBrand": {
            "title": "Max advertisers per brand name",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "For a brand name, how many matching advertisers to get ads from, from 1 to 10. By default only the best-matching advertiser is scraped. Raise this to include more advertisers that share the brand name (they may be unrelated companies or people). Domains and advertiser IDs are not affected.",
            "default": 1
          },
          "region": {
            "title": "Region",
            "enum": [
              "ANY",
              "US",
              "GB",
              "JP",
              "DE",
              "FR",
              "CA",
              "AU",
              "KR",
              "BR",
              "IN",
              "IT",
              "ES",
              "NL",
              "MX",
              "ID",
              "TR",
              "SE",
              "PL",
              "CH",
              "SA",
              "AE",
              "TW",
              "BE",
              "ZA",
              "AR",
              "TH",
              "NO",
              "DK",
              "AT",
              "SG",
              "HK",
              "MY",
              "IL",
              "PH",
              "VN",
              "IE",
              "NZ",
              "CO",
              "CL",
              "FI",
              "PT",
              "EG",
              "NG",
              "CZ",
              "RO",
              "PK",
              "PE",
              "GR",
              "HU",
              "KZ",
              "QA",
              "KW",
              "UA",
              "BD",
              "MA",
              "KE",
              "SK",
              "EC",
              "BG",
              "HR"
            ],
            "type": "string",
            "description": "Only get ads shown in this region (60 countries). Any region gets ads shown anywhere. Brand names also work with Any region: advertisers are looked up in the United States and their ads are taken from any region.",
            "default": "ANY"
          },
          "format": {
            "title": "Ad format",
            "enum": [
              "all",
              "text",
              "image",
              "video"
            ],
            "type": "string",
            "description": "Only get ads of this format.",
            "default": "all"
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "any",
              "search",
              "shopping",
              "maps",
              "play"
            ],
            "type": "string",
            "description": "Only get ads shown on this Google platform.",
            "default": "any"
          },
          "dateFrom": {
            "title": "Shown from",
            "type": "string",
            "description": "Only get ads that were shown at some time in this period (YYYY-MM-DD, from 2018-05-31). Leave Shown to empty to go up to today (UTC). firstShown and lastShown in the results still cover the whole time the ad has run, not only this period. Cannot be used with New since."
          },
          "dateTo": {
            "title": "Shown to",
            "type": "string",
            "description": "End of the period (YYYY-MM-DD, up to today in UTC). Leave Shown from empty to start from 2018-05-31. Cannot be used with New since."
          },
          "newSince": {
            "title": "New since",
            "type": "string",
            "description": "Only get ads first shown on or after this date (YYYY-MM-DD, from 2018-05-31 to today in UTC). Ads first shown earlier are left out without a charge, so you may get fewer ads than the maximum. With newSince, the Actor reads maxAdsPerQuery ads, rounded up to a multiple of 40 and at most 700, then keeps only ads first shown on or after that date. Raise maxAdsPerQuery to cover all new ads. Cannot be used with Shown from or Shown to."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}