{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Ads Creative Scraper - PPC Intelligence",
    "description": "Scrape public Google Ads Transparency Center creatives by advertiser domain, advertiser ID, creative URL, or copied target URL with enrichment, clean output rows, and strict timeouts.",
    "version": "0.1",
    "x-build-id": "HWDllCiNzstKf5Qeh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/glowing_glove~google-ads-creative-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-glowing_glove-google-ads-creative-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/glowing_glove~google-ads-creative-scraper/runs": {
      "post": {
        "operationId": "runs-sync-glowing_glove-google-ads-creative-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/glowing_glove~google-ads-creative-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-glowing_glove-google-ads-creative-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": {
          "targetUrl": {
            "title": "Target URL",
            "type": "string",
            "description": "Full Google Ads Transparency Center URL. When supplied, this exact page is used first.",
            "default": ""
          },
          "domains": {
            "title": "Advertiser domains",
            "type": "array",
            "description": "Advertiser domains to search, such as nike.com, shopify.com, or allbirds.com.",
            "default": [
              "nike.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Optional advertiser names or keywords. Domains are more reliable when available.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "advertiserIds": {
            "title": "Advertiser IDs",
            "type": "array",
            "description": "Optional Google Ads Transparency advertiser IDs such as AR16735076323512287233.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "creativeUrls": {
            "title": "Creative URLs",
            "type": "array",
            "description": "Optional direct Google Ads Transparency creative detail URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "Two-letter region code used by Google Ads Transparency Center.",
            "default": "US"
          },
          "platform": {
            "title": "Platform filter",
            "enum": [
              "all",
              "search",
              "youtube",
              "display",
              "shopping",
              "maps"
            ],
            "type": "string",
            "description": "Optional platform label for your workflow. Google may not expose this on every public page.",
            "default": "all"
          },
          "format": {
            "title": "Format filter",
            "enum": [
              "all",
              "text",
              "image",
              "video"
            ],
            "type": "string",
            "description": "Optional creative format label for filtering and output context.",
            "default": "all"
          },
          "maxResults": {
            "title": "Max creatives",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum useful creative rows to write. Billing should be based on delivered rows, not requested rows.",
            "default": 10
          },
          "enrichDetails": {
            "title": "Open creative detail pages",
            "type": "boolean",
            "description": "Open each creative detail page to collect last shown date, format, region text, variation count, and public media asset URLs.",
            "default": false
          },
          "includeAssetUrls": {
            "title": "Include public asset URLs",
            "type": "boolean",
            "description": "Include public image/media asset URLs visible on creative detail pages.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Number of source pages or detail pages to process in parallel.",
            "default": 2
          },
          "requestHandlerTimeoutSecs": {
            "title": "Timeout per source",
            "minimum": 45,
            "maximum": 1200,
            "type": "integer",
            "description": "Maximum seconds spent on one source or detail page.",
            "default": 60
          },
          "maxRunMinutes": {
            "title": "Max run minutes",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Whole-run guard to avoid runaway sessions.",
            "default": 4
          },
          "monitorChanges": {
            "title": "Detect changes",
            "type": "boolean",
            "description": "Save a snapshot and compare creative IDs across scheduled runs.",
            "default": false
          },
          "onlyChanges": {
            "title": "Output only changes",
            "type": "boolean",
            "description": "When change detection is enabled, output only new creative rows.",
            "default": false
          },
          "proxyUrl": {
            "title": "Custom proxy URL",
            "type": "string",
            "description": "Optional full HTTP, HTTPS, or SOCKS proxy URL.",
            "default": ""
          },
          "proxyMode": {
            "title": "Apify proxy mode",
            "enum": [
              "none",
              "auto",
              "datacenter",
              "residential"
            ],
            "type": "string",
            "description": "Fallback Apify proxy mode used only when Custom proxy URL is empty.",
            "default": "none"
          },
          "proxyCountryCode": {
            "title": "Residential proxy country",
            "type": "string",
            "description": "Optional two-letter country code for Apify residential proxy mode.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}