{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Transparency Center Scraper: Ad Creatives",
    "description": "Google Ads Transparency Scraper lists the ads an advertiser runs on Google from the Transparency Center, by domain, name or advertiser ID. Country, date and format filters are applied by Google; pagination goes past the first 100 ads. Returns first and last shown dates and the rendered image.",
    "version": "80.44",
    "x-build-id": "6m5P56JrL1aEdw4kr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/webdatatools~google-ads-transparency-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-webdatatools-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/webdatatools~google-ads-transparency-scraper/runs": {
      "post": {
        "operationId": "runs-sync-webdatatools-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/webdatatools~google-ads-transparency-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-webdatatools-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": {
          "advertisers": {
            "title": "Advertisers",
            "type": "string",
            "description": "Advertiser domains (e.g. nike.com), names (e.g. Nike) or Transparency Center advertiser IDs (AR…), separated by semicolons or new lines. Example: \"nike.com; shopify.com\". Empty runs the demo advertiser nike.com."
          },
          "domain": {
            "title": "Advertiser domain (alias)",
            "type": "string",
            "description": "Alias for 'advertisers'. Enter a single domain (e.g., nike.com). Use 'advertisers' for multiple values."
          },
          "advertiser": {
            "title": "Advertiser (alias)",
            "type": "string",
            "description": "Alias for 'advertisers'. Enter a single advertiser domain, ID, or name."
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "2-letter country code (e.g. US, GB, DE, TR) to keep only ads Google lists as shown in that country. Leave empty for all regions. An unknown code stops the run with INVALID_INPUT before anything is charged."
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Keep ads shown at any time on or after this day (YYYY-MM-DD, e.g. 2026-10-01). Sent to Google as a server-side filter. Leave empty for no lower bound."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Keep ads shown at any time on or before this day (YYYY-MM-DD, e.g. 2026-10-31). Leave empty for no upper bound."
          },
          "format": {
            "title": "Ad format",
            "enum": [
              "all",
              "text",
              "image",
              "video"
            ],
            "type": "string",
            "description": "Ad format, filtered by Google: all, text, image or video. Text ads keep Google's rendered image in imageUrl.",
            "default": "all"
          },
          "maxAds": {
            "title": "Max ads per advertiser",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum ads per advertiser (default 40, up to 10,000). The Actor pages through Google's results 100 at a time and stops at this number, at your maximum charge per run, or when Google has no more ads.",
            "default": 40
          },
          "downloadImages": {
            "title": "Save ad images",
            "type": "boolean",
            "description": "Download each ad's rendered image from Google and keep it in the run's key-value store under the creative ID (imageStoredUrl, size, SHA-256, width and height on the row). Text ads are archived by Google as an image too; video ads usually have none. No extra charge per image.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Only new ads since last run (monitor store)",
            "type": "string",
            "description": "Name of a key-value store that remembers which ads were already delivered for each advertiser and filter set (e.g. competitor-ads). Later runs with the same name deliver and charge only ads not seen before. The first run sets the baseline: use a high Max ads per advertiser. Leave empty for normal runs."
          },
          "reportStoppedAds": {
            "title": "Also report ads that stopped running",
            "type": "boolean",
            "description": "Needs a monitor store. Each run reads every ad Google showed in the last Stopped after days and remembers them; ads that were running at the previous run and are gone now are delivered as rows with changeType \"stopped\" (charged like any ad). The first run only saves the baseline. Cannot be combined with Shown from / Shown until.",
            "default": false
          },
          "stoppedAfterDays": {
            "title": "Stopped after days",
            "minimum": 2,
            "maximum": 30,
            "type": "integer",
            "description": "An ad counts as stopped when Google has not shown it for this many days (today included). Google updates the last-shown day with up to one day delay, so 3 is the safe minimum for daily schedules.",
            "default": 3
          },
          "proxyMode": {
            "title": "Connection to Google",
            "enum": [
              "auto",
              "never",
              "always"
            ],
            "type": "string",
            "description": "auto: direct first; if Google rate-limits the run's IP (HTTP 429/403), the rest of the run goes through Apify residential proxy at once, at no extra charge to you. never: direct only (a rate-limited IP waits 5, 15 and 30 s, then reports RATE_LIMITED). always: residential proxy from the first request.",
            "default": "auto"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}