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

Реклама · Google · Поиск · Просмотр

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

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

Получить данные
  1. Вы указываетеКампания
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Реклама / Google / Поиск / Просмотр» выполни чтение по выбранной записи (кампания). Выведи кратко: результат.
Что искать в ответе
result
Результат
Следующая страница
  1. Вы указываетеПредыдущий ответ
  2. ПомощникПродолжение
  3. Вы получаетеСледующая страница
Запрос в чат
Продолжи «Реклама / Google / Поиск / Просмотр» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Как листать выдачу
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Реклама / Google / Поиск / Просмотр» объясни результат. Отметь отсутствующие значения.
Поля для проверки
result
Результат
Как работает действие

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

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

Read current Google Search campaign settings, owned groups/ads, keywords, exclusions, sitelinks or targeting. Includes provider moderation, native attribution bindings and a version required for changes. Select a group for keywords/ads; follow nextOffset. Provider conversions are not confirmed native bookings. 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
view
Settings section to read. обязательно по схеме · string · варианты overview, ads, keywords, negatives, sitelinks, targeting
offset
Смещение из предыдущей страницы или начальное значение из схемы. необязательно · integer · по умолчанию 0 · минимум 0 · максимум 10000
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_get
Вход · 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."
    },
    "view": {
      "type": "string",
      "enum": [
        "overview",
        "ads",
        "keywords",
        "negatives",
        "sitelinks",
        "targeting"
      ],
      "description": "Settings section to read."
    },
    "offset": {
      "default": 0,
      "description": "Provider row offset; follow nextOffset until null.",
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    },
    "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",
    "view",
    "chunkOffset"
  ],
  "additionalProperties": false
}
Выход · 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"
          }
        }
      ]
    }
  }
}