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

Маркетинг · Кампании · Просмотр · Операция

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

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

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

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

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

Recover the recorded result of native draft creation after a lost response. Reads only the existing operation receipt; does not create, retry, unlock, synchronize or launch a campaign.

Параметры запроса
input
Exact original create arguments, including the original requestId. Do not supply a native provider command or another request key. обязательно по схеме · object
Что вернёт команда
status
Whether the original atomic create receipt exists. not_recorded cannot prove that no write committed, exclude an in-flight operation or authorize a new request ID. обязательно по схеме · string · варианты committed, not_recorded
result
Historical creation result, or null when no completed create receipt exists. Use marketing_campaigns_get for current state. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа marketing_campaign_get_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "description": "Human campaign name. Creates only a local draft; no advertising account or audience is selected."
        },
        "notes": {
          "description": "Optional human planning notes. Stored as text, never interpreted as instructions or commands.",
          "type": "string",
          "maxLength": 4000
        },
        "requestId": {
          "type": "string",
          "minLength": 8,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_-]+$",
          "description": "Stable identifier for these exact create arguments. After an uncertain response, recover this operation before preparing another request."
        }
      },
      "required": [
        "name",
        "requestId"
      ],
      "additionalProperties": false,
      "description": "Exact original create arguments, including the original requestId. Do not supply a native provider command or another request key."
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "committed",
        "not_recorded"
      ],
      "description": "Whether the original atomic create receipt exists. not_recorded cannot prove that no write committed, exclude an in-flight operation or authorize a new request ID."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "campaignId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^/\\u0000-\\u001f\\u007f]+$",
              "description": "Server-generated native marketingCampaigns document ID. Use marketing_campaigns_get to review its current state and revision."
            },
            "name": {
              "type": "string",
              "maxLength": 200,
              "description": "Name recorded at creation."
            },
            "notes": {
              "type": "string",
              "maxLength": 4000,
              "description": "Notes recorded at creation; empty when omitted."
            },
            "status": {
              "type": "string",
              "const": "draft",
              "description": "Historical status recorded by this create operation, not a claim about the current campaign status."
            },
            "launchMode": {
              "type": "string",
              "const": "paused",
              "description": "Historical native launch preference recorded at creation. This Action makes no provider request; it does not verify provider state."
            },
            "currency": {
              "type": "string",
              "const": "USD",
              "description": "Existing Campanings new-draft default. This Action queues no payment or currency-conversion command."
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
              "description": "Server time stored with the original draft, represented in UTC."
            }
          },
          "required": [
            "campaignId",
            "name",
            "notes",
            "status",
            "launchMode",
            "currency",
            "createdAt"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Historical creation result, or null when no completed create receipt exists. Use marketing_campaigns_get for current state."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}