MCP Control
Реклама · Чтение

Реклама · Google · Поиск · Поисковые фразы

ads_google_search_terms
Фотокамера и образцы цвета

Попробуйте три запроса

Получить данные
  1. Вы указываетеКампания
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Реклама / Google / Поиск / Поисковые фразы» выполни чтение по выбранной записи (кампания). Выведи кратко: результат.
Что искать в ответе
result
Результат
Задать параметры
  1. Вы указываетеКампания
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Реклама / Google / Поиск / Поисковые фразы» на учебном примере с campaignId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
campaignId
DEMO-101
limit
3
chunkOffset
0
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Реклама / Google / Поиск / Поисковые фразы» объясни результат. Отметь отсутствующие значения.
Поля для проверки
result
Результат
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. Если результат получен частями, соблюдайте контрольные значения и порядок продолжения из ответа.

Описание разработчика

Read actual Google search terms, spend and provider conversions for this bound campaign, over at most 31 days. No native booking or revenue inference. After a lost response use ads_workspace_operation_get with this operation name and the original requestId. Never infer success from a queued job.

Параметры запроса
campaignId
Native ADS campaign ID from this company; not a Google campaign ID. обязательно по схеме · string
groupId
Google ad group ID owned by the selected campaign. необязательно · string
from
Inclusive first date YYYY-MM-DD in the advertising account. обязательно по схеме · string
to
Inclusive last date YYYY-MM-DD; at most 31 days. обязательно по схеме · string
limit
Максимальное число элементов на этой странице. необязательно · integer · по умолчанию 50 · минимум 1 · максимум 100
chunkOffset
Character offset in the immutable JSON result, separate from native list offset. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 9007199254740991
chunkHash
SHA-256 returned by the first chunk; required for subsequent chunks. необязательно · string
readSnapshotId
Immutable native snapshot returned for large reads. Supply it on every following chunk, within 15 minutes; avoids repeating live provider checks. необязательно · string
Что вернёт команда
result
Native operation state and a hash-bound JSON chunk. Follow nextOffset using chunkOffset/chunkHash. Completed means the native handler returned; inspect nested job/provider status before claiming synchronization or delivery. Recover mutations with ads_workspace_operation_get. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа ads_google_search_terms
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "campaignId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,128}$",
      "description": "Native ADS campaign ID from this company; not a Google campaign ID."
    },
    "groupId": {
      "type": "string",
      "pattern": "^[0-9]{1,20}$",
      "description": "Google ad group ID owned by the selected campaign."
    },
    "from": {
      "type": "string",
      "allOf": [
        {
          "$ref": "#/$defs/_mcp0"
        },
        {
          "$ref": "#/$defs/_mcp0"
        }
      ],
      "description": "Inclusive first date YYYY-MM-DD in the advertising account."
    },
    "to": {
      "type": "string",
      "allOf": [
        {
          "$ref": "#/$defs/_mcp0"
        },
        {
          "$ref": "#/$defs/_mcp0"
        }
      ],
      "description": "Inclusive last date YYYY-MM-DD; at most 31 days."
    },
    "limit": {
      "default": 50,
      "description": "Maximum provider rows returned.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "chunkOffset": {
      "default": 0,
      "description": "Character offset in the immutable JSON result, separate from native list offset.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "chunkHash": {
      "description": "SHA-256 returned by the first chunk; required for subsequent chunks.",
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "readSnapshotId": {
      "description": "Immutable native snapshot returned for large reads. Supply it on every following chunk, within 15 minutes; avoids repeating live provider checks.",
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "campaignId",
    "from",
    "to",
    "chunkOffset"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "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])))$"
    }
  }
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native operation state and a hash-bound JSON chunk. Follow nextOffset using chunkOffset/chunkHash. Completed means the native handler returned; inspect nested job/provider status before claiming synchronization or delivery. Recover mutations with ads_workspace_operation_get."
    }
  },
  "required": [
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}