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

Реклама · Маркетинг · Шаблоны

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

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

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Реклама / Маркетинг / Шаблоны» выполни чтение в текущей компании. Выведи кратко: результат.
Что искать в ответе
result
Результат
Задать параметры
  1. Вы указываетеЗадача
  2. ПомощникСхема входа
  3. Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Реклама / Маркетинг / Шаблоны» на учебном примере с language = ru. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
language
ru
offset
0
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Реклама / Маркетинг / Шаблоны» объясни результат. Отметь отсутствующие значения.
Поля для проверки
result
Результат
Как работает действие

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

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

Page the existing native marketing message templates. Follow native next even when the visible page is empty.

Параметры запроса
after
Native after value; use the value and type returned by the corresponding service. необязательно · string
language
Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "ru"
offset
Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 9007199254740991
expectedHash
Контрольное значение из предыдущего чтения. необязательно · string
Что вернёт команда
result
Hash-bound JSON chunk of the canonical ADS workflow result. Follow nextOffset on reads. Mutation details can be read again using the corresponding get/calendar action. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа ads_marketing_templates
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "after": {
      "description": "Native after value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "language": {
      "default": "ru",
      "description": "Native language value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[a-z]{2}(?:-[A-Z]{2})?$"
    },
    "offset": {
      "default": 0,
      "description": "Native offset value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "expectedHash": {
      "description": "Native expectedHash value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "language",
    "offset"
  ],
  "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": "Hash-bound JSON chunk of the canonical ADS workflow result. Follow nextOffset on reads. Mutation details can be read again using the corresponding get/calendar action."
    }
  },
  "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"
          }
        }
      ]
    }
  }
}