{
  "title": "Google Shopping Products - Prices, Merchants & Changes",
  "type": "object",
  "schemaVersion": 1,
  "description": "Minimal input: {\"queries\": [\"wireless headphones\"], \"maxResultsPerSource\": 3}. Cost is $0.015 per parsed page plus $0.002 per delivered product. Empty monitoring/filter results still incur page fees. Set maxTotalChargeUsd in Apify run options for a monetary cap.",
  "properties": {
    "queries": {
      "title": "Search queries",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [
        "wireless headphones"
      ],
      "description": "Product keywords, for example [\"wireless headphones\"]. Up to 50 queries. Each successfully parsed page costs $0.015 and each delivered product costs $0.002.",
      "sectionCaption": "Sources and result limits"
    },
    "maxResultsPerSource": {
      "title": "Maximum delivered rows per source",
      "type": "integer",
      "description": "Maximum rows delivered per query/channel after filters and monitoring, for example 50. A source can return fewer. Duplicates are removed across this run.",
      "default": 50,
      "minimum": 1,
      "maximum": 2000,
      "prefill": 3
    },
    "country": {
      "title": "Google market",
      "type": "string",
      "description": "Search market: us (USD), gb (GBP), de/fr (EUR), ca (CAD) or au (AUD). For example \"gb\" requests UK offers. Currency is read from the displayed price; no currency conversion. Queries use English interface text.",
      "default": "us",
      "enum": [
        "us",
        "gb",
        "de",
        "fr",
        "ca",
        "au"
      ]
    },
    "merchants": {
      "title": "Merchant names",
      "type": "array",
      "description": "Keep merchant names containing any entry, case-insensitive; for example [\"Best Buy\"]. Empty means any merchant. Filtering adds no fee; parsed pages still cost $0.015.",
      "default": [],
      "editor": "stringList",
      "items": {
        "type": "string"
      }
    },
    "minPrice": {
      "title": "Minimum displayed price",
      "type": "number",
      "description": "Minimum numeric displayed price in that market, for example 20. Zero disables the bound. A source \"from\" price is compared by its displayed minimum, without shipping or tax.",
      "default": 0,
      "minimum": 0
    },
    "maxPrice": {
      "title": "Maximum displayed price",
      "type": "number",
      "description": "Maximum numeric displayed price in that market, for example 100. Zero disables the bound. Filters run before row billing; parsed pages are still billed.",
      "default": 0,
      "minimum": 0
    },
    "onlyNewOrChanged": {
      "title": "Only new or changed offers",
      "type": "boolean",
      "description": "true compares title/merchant product identity and price text/currency with previously delivered rows under monitorKey. First run delivers matches; later runs emit new or changed prices with previous_price. Default false. Unchanged checks still pay parsed-page fees.",
      "default": false
    },
    "titleContains": {
      "title": "Title includes any",
      "type": "array",
      "description": "Keep titles containing at least one phrase, case-insensitive; for example [\"wireless\"] or [\"math\"]. Empty means any title. Applied before row billing; successful page checks are still billed.",
      "default": [],
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "sectionCaption": "Title filters"
    },
    "titleExcludes": {
      "title": "Title excludes any",
      "type": "array",
      "description": "Drop titles containing any phrase, case-insensitive; for example [\"case\"] or [\"trailer\"]. Empty disables exclusions. Dropped rows are not billed; parsed pages are.",
      "default": [],
      "editor": "stringList",
      "items": {
        "type": "string"
      }
    },
    "monitorKey": {
      "title": "Monitor name",
      "type": "string",
      "description": "Name for persistent delivered-row history, for example \"daily-competitors\". Use 1–60 letters, digits, underscores or hyphens. Reuse with the same target list and filters; change it for a new baseline. Keeps the latest 50,000 delivered IDs.",
      "default": "default",
      "editor": "textfield",
      "sectionCaption": "Monitoring and page limits"
    },
    "excludeIds": {
      "title": "Previously collected IDs",
      "type": "array",
      "description": "Skip exact output id values, for example [\"a-previous-id\"]. Up to 10,000. An optional alternative to persistent monitoring; excluded rows are not billed but parsed pages are.",
      "default": [],
      "editor": "stringList",
      "items": {
        "type": "string"
      }
    },
    "maxPagesPerSource": {
      "title": "Maximum pages per source",
      "type": "integer",
      "description": "Safety cap on successful page reads per query/channel, for example 5. Maximum 50. Every parsed page costs $0.015, including filtered/unchanged pages. The result limit can stop sooner. Source pagination does not guarantee complete coverage.",
      "default": 5,
      "minimum": 1,
      "maximum": 50
    }
  },
  "required": [
    "queries"
  ]
}
