Google Search Console

Compare Search Console periods

Compare current and baseline traffic with explicit metric deltas and coverage. Up to 2 credits.

gsc_compare_periods

Як використовувати

Використовуйте через підключеного ШІ-асистента.

Приклад виклику інструмента

Копіювати конфігурацію
{
  "name": "gsc_compare_periods",
  "arguments": {
    "siteUrl": "sc-domain:example.com",
    "currentStartDate": "2026-10-01",
    "currentEndDate": "2026-10-31",
    "baselineStartDate": "2026-09-01",
    "baselineEndDate": "2026-09-30",
    "idempotency_key": "gsc-compare-example-001"
  }
}

Схема вхідних даних

Копіювати конфігурацію
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "property_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "siteUrl": {
      "description": "Exact enabled GSC URL-prefix or sc-domain property. Use property_id when several Google accounts expose the same website.",
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "dimensions": {
      "description": "Comma-separated dimensions or an array: query,page,country,device,searchAppearance,date.",
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "query",
                  "page",
                  "country",
                  "device",
                  "searchAppearance",
                  "date"
                ]
              }
            }
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "web",
            "image",
            "video",
            "news",
            "discover",
            "googleNews"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "aggregationType": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "auto",
            "byNewsShowcasePanel",
            "byProperty",
            "byPage"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "rowLimit": {
      "description": "Default 1000. At most 25000 rows per paid Google request.",
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 25000
        },
        {
          "type": "null"
        }
      ]
    },
    "startRow": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "dataState": {
      "description": "Default final. all includes fresh, potentially incomplete data.",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "all",
            "final"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "pageFilter": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "queryFilter": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "countryFilter": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z]{3}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "deviceFilter": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "DESKTOP",
            "MOBILE",
            "TABLET"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "searchAppearanceFilter": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "filterOperator": {
      "description": "Default contains for page/query; country/device/search appearance use exact matching. regex: prefix selects includingRegex unless excludingRegex is requested.",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "equals",
            "contains",
            "notEquals",
            "notContains",
            "includingRegex",
            "excludingRegex"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "detectQuickWins": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "quickWinsConfig": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "positionRange": {
              "type": "array",
              "prefixItems": [
                {
                  "type": "number",
                  "minimum": 1
                },
                {
                  "type": "number",
                  "minimum": 1
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            "minImpressions": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "minCtr": {
              "description": "Compatibility name: LOW-CTR ceiling in percent, not a fraction. 2 means CTR <= 2%. Default 1%.",
              "type": "number",
              "minimum": 0,
              "maximum": 100
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "sortBy": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "clicks",
            "impressions",
            "ctr",
            "position"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "sortDirection": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128
    },
    "currentStartDate": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "currentEndDate": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "baselineStartDate": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "baselineEndDate": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    }
  },
  "required": [
    "idempotency_key",
    "currentStartDate",
    "currentEndDate",
    "baselineStartDate",
    "baselineEndDate"
  ],
  "additionalProperties": false
}

Пов’язані інструменти