{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Transparency Center Scraper & API: Full Ad Copy",
    "description": "[$0.40/1K ads] Every ad a company runs on Google, from the Ads Transparency Center: headline and description as separate fields, creatives, run dates, countries and reach. Returns all results, not the first page, and never bills you for a blocked or empty search.",
    "version": "0.5",
    "x-build-id": "h3Cl5HfkWlRkCmAkZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fieldnote~google-ads-transparency-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fieldnote-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/fieldnote~google-ads-transparency-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fieldnote-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/fieldnote~google-ads-transparency-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fieldnote-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": {
          "searchTerms": {
            "title": "Domains, advertiser names, advertiser IDs or Transparency Center URLs",
            "type": "array",
            "description": "One entry per line. Examples: nike.com, Nike Retail BV, AR18378488041124659201, or any adstransparency.google.com URL. Paste thousands of domains for a bulk check.",
            "items": {
              "type": "string"
            }
          },
          "searchTermsFromUrl": {
            "title": "Load search terms from a file or Google Sheet",
            "type": "string",
            "description": "Link to a public Google Sheet, CSV or text file. The first column is read, one search term per row, and added to the list above."
          },
          "mode": {
            "title": "What to return",
            "enum": [
              "ADS",
              "CHECK",
              "REMOVED_ADS"
            ],
            "type": "string",
            "description": "Use Check to screen a long list of domains cheaply before scraping the ones that matter. Removed ads is one Europe-wide list published by Google: search terms and filters do not apply to it.",
            "default": "ADS"
          },
          "regions": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter ISO codes (US, DE, IT...). Ads shown in any of these countries are returned once, without duplicates. Leave empty for all countries. Results never depend on where the scraper runs.",
            "items": {
              "type": "string"
            }
          },
          "format": {
            "title": "Ad format",
            "enum": [
              "ALL",
              "TEXT",
              "IMAGE",
              "VIDEO"
            ],
            "type": "string",
            "description": "Return only ads of this format.",
            "default": "ALL"
          },
          "platforms": {
            "title": "Google platforms",
            "type": "array",
            "description": "Return only ads shown on these Google platforms. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "SEARCH",
                "YOUTUBE",
                "SHOPPING",
                "MAPS",
                "PLAY"
              ],
              "enumTitles": [
                "Google Search",
                "YouTube",
                "Google Shopping",
                "Google Maps",
                "Google Play"
              ]
            }
          },
          "politicalOnly": {
            "title": "Political ads only",
            "type": "boolean",
            "description": "Searches Google's political advertising archive for the selected countries and adds the spend range, currency and number of times shown for each ad. Leave the search terms empty to browse every political ad of a country.",
            "default": false
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "NEWEST",
              "OLDEST",
              "SPEND_HIGH",
              "SPEND_LOW",
              "IMPRESSIONS_HIGH",
              "IMPRESSIONS_LOW"
            ],
            "type": "string",
            "description": "Political ads are sorted by Google across the whole archive. Other ads always arrive newest first, so sorting by times shown is applied to the ads this run collects and needs details turned on.",
            "default": "NEWEST"
          },
          "dateFrom": {
            "title": "Shown from",
            "type": "string",
            "description": "Only ads shown on or after this date. Format YYYY-MM-DD, for example 2026-10-01."
          },
          "dateTo": {
            "title": "Shown until",
            "type": "string",
            "description": "Only ads shown on or before this date. Format YYYY-MM-DD."
          },
          "maxAdsPerTerm": {
            "title": "Maximum ads per search term",
            "minimum": 1,
            "type": "integer",
            "description": "Hard limit per search term. You are charged only for ads actually returned.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include per-country details",
            "type": "boolean",
            "description": "Adds advertiser legal name, country and verification, creative variations, every country where the ad ran with first and last shown dates, impression ranges (EU), the split by Google platform and targeting categories.",
            "default": false
          },
          "extractAdContent": {
            "title": "Extract ad content",
            "type": "boolean",
            "description": "Text ads: headline, description, display URL, call to action, the original template with dynamic keyword insertion, location extensions and sitelinks. Video ads: YouTube ID and channel or a direct MP4 link, duration and title. Shopping ads: products. Plus the landing URL.",
            "default": false
          },
          "readImageText": {
            "title": "Read text inside image ads",
            "type": "boolean",
            "description": "Reads the words printed on display banners and other image creatives and returns them as text.",
            "default": false
          },
          "visitLandingPage": {
            "title": "Visit landing page",
            "type": "boolean",
            "description": "Opens each ad's landing page once and adds the final URL after redirects, HTTP status, page title, meta description and H1.",
            "default": false
          },
          "downloadMedia": {
            "title": "Save creative media",
            "type": "boolean",
            "description": "Stores each image or MP4 creative in the run's key-value store and adds a permanent link, so the file survives after Google's link expires.",
            "default": false
          },
          "onlyNewAds": {
            "title": "Only ads not returned before",
            "type": "boolean",
            "description": "Monitoring mode. Remembers the ads returned for each search term and, on the next runs, returns and charges only the new ones. Combine with a schedule.",
            "default": false
          },
          "maxAdvertisersPerName": {
            "title": "Advertisers matched per name",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "When a search term is a name, how many matching advertiser accounts to include.",
            "default": 1
          },
          "fields": {
            "title": "Output fields",
            "type": "array",
            "description": "Optional. Keep only these fields in the output (creativeId and advertiserId are always kept). Useful to cut tokens when feeding an LLM.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxy is used by default because Google rejects most datacenter IPs. Change only if you know why.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}