Реклама · Чтение
Маркетинг · Кампании · Просмотр · Офлайн · Изменение · Операция
marketing_campaign_get_offline_update_operation
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Маркетинг / Кампании / Просмотр / Офлайн / Изменение / Операция» выполни чтение в текущей компании. Выведи кратко: статус, результат.
- status
- Статус
- result
- Результат
Задать параметры
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Маркетинг / Кампании / Просмотр / Офлайн / Изменение / Операция» на учебном примере с input.campaignId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- input.campaignId
- DEMO-101
- input.creationRequestId
- DEMO-101
- input.name
- Осенняя коллекция
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Маркетинг / Кампании / Просмотр / Офлайн / Изменение / Операция» объясни статус, результат. Отметь отсутствующие значения.
- status
- Статус
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Recover an eligible draft text update after an uncertain response. Reads only the existing identity-bound receipt; does not repeat the update, change state, synchronize or contact providers.
Параметры запроса
- input
- Exact original draft text-update arguments, including campaignId, expectedRevision, requestId and creationRequestId when used. обязательно по схеме · object
Что вернёт команда
- status
- Whether the original update receipt was found. not_recorded cannot exclude an in-flight operation or prove that no write committed. обязательно по схеме · string · варианты committed, not_recorded
- result
- Historical recorded update result, or null. Read the campaign for current state. обязательно по схеме · object / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"campaignId": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^/\\u0000-\\u001f\\u007f]+$",
"description": "Existing campaign ID from marketing_campaigns_list/get. Supports a saved offline draft, or an unchanged stage-0 draft originally created by this MCP connection. Never converts campaign types."
},
"creationRequestId": {
"description": "Original marketing_campaign_create_draft requestId, required only for editing that connection's MCP-created multi_channel stage-0 draft. The server verifies its protected receipt and unchanged native preparation fields. Omit for saved offline drafts.",
"type": "string",
"minLength": 8,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$"
},
"expectedRevision": {
"type": "string",
"pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
"description": "Exact current Firestore revision returned by marketing_campaigns_get. A concurrent native edit causes a conflict."
},
"name": {
"description": "Optional replacement human name. Omit to preserve the current name; empty or null is invalid. Supply name, notes or both.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"notes": {
"description": "Optional complete replacement of human planning notes. Omit to preserve existing notes; an empty string clears them and null is invalid. Other campaign fields remain untouched.",
"type": "string",
"maxLength": 4000
},
"requestId": {
"type": "string",
"minLength": 8,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Stable identifier for these exact update arguments. Recover this same request after an uncertain response."
}
},
"required": [
"campaignId",
"expectedRevision",
"requestId"
],
"additionalProperties": false,
"description": "Exact original draft text-update arguments, including campaignId, expectedRevision, requestId and creationRequestId when used."
}
},
"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 update receipt was found. not_recorded cannot exclude an in-flight operation or prove that no write committed."
},
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"campaignId": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^/\\u0000-\\u001f\\u007f]+$",
"description": "Existing native campaign document ID."
},
"name": {
"type": "string",
"maxLength": 200,
"description": "Name recorded by this update."
},
"notes": {
"type": "string",
"maxLength": 4000,
"description": "Notes recorded by this update."
},
"status": {
"type": "string",
"const": "draft",
"description": "Historical native status when the update committed; use marketing_campaigns_get for current state."
},
"campaignType": {
"type": "string",
"enum": [
"offline",
"multi_channel"
],
"description": "Existing campaign type; this operation does not change it. multi_channel is accepted only with verified MCP creation provenance and unchanged stage-0 preparation fields."
},
"updatedAt": {
"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 by this update. Read the campaign again to obtain its new Firestore revision."
}
},
"required": [
"campaignId",
"name",
"notes",
"status",
"campaignType",
"updatedAt"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Historical recorded update result, or null. Read the campaign for current state."
}
},
"required": [
"status",
"result"
],
"additionalProperties": false
}