Реклама · Чтение
Маркетинг · Кампании · Просмотр
marketing_campaigns_get
Попробуйте три запроса
Получить данные
- Вы указываетеКампания
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Маркетинг / Кампании / Просмотр» выполни чтение по выбранной записи (кампания). Выведи кратко: кампания, версия записи.
- campaignId
- Кампания
- revision
- Версия записи
- name
- Название
Задать параметры
- Вы указываетеКампания
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Маркетинг / Кампании / Просмотр» на учебном примере с campaignId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- campaignId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Маркетинг / Кампании / Просмотр» объясни кампания, версия записи. Отметь отсутствующие значения.
- campaignId
- Кампания
- revision
- Версия записи
- name
- Название
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Read one current company campaign summary, type and Firestore revision. Status and launch preference are stored values, not a live provider check. This read makes no provider request.
Параметры запроса
- campaignId
- Exact native ID returned by campaign list or draft creation. Never use an arbitrary document path. обязательно по схеме · string · до символов 512
Что вернёт команда
- campaignId
- Native company campaign document ID. обязательно по схеме · string · до символов 512
- revision
- Current Firestore document revision. Required when updating an eligible draft. обязательно по схеме · string
- name
- Current name preview, bounded to 300 characters. обязательно по схеме · string · до символов 300
- status
- Stored campaign status, or null when absent. Provider delivery is not queried or inferred. обязательно по схеме · string / null
- campaignType
- Stored campaign type. Text editing requires an eligible saved offline draft or a verified MCP-created stage-0 draft; this field alone does not prove edit eligibility. обязательно по схеме · string / null
- launchMode
- Stored launch preference, or null when absent. This is not provider delivery confirmation. обязательно по схеме · string / null
- notes
- Bounded plain-text notes with control characters removed. обязательно по схеме · string · до символов 4000
- notesTruncated
- Whether stored notes exceed the returned preview. обязательно по схеме · boolean
- createdAt
- Stored creation time in UTC, or null when unavailable. обязательно по схеме · null
- updatedAt
- Stored update time in UTC, or null when unavailable. обязательно по схеме · null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"campaignId": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^/\\u0000-\\u001f\\u007f]+$",
"description": "Exact native ID returned by campaign list or draft creation. Never use an arbitrary document path."
}
},
"required": [
"campaignId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"campaignId": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^/\\u0000-\\u001f\\u007f]+$",
"description": "Native company campaign document ID."
},
"revision": {
"type": "string",
"pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
"description": "Current Firestore document revision. Required when updating an eligible draft."
},
"name": {
"type": "string",
"maxLength": 300,
"description": "Current name preview, bounded to 300 characters."
},
"status": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"description": "Stored campaign status, or null when absent. Provider delivery is not queried or inferred."
},
"campaignType": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"description": "Stored campaign type. Text editing requires an eligible saved offline draft or a verified MCP-created stage-0 draft; this field alone does not prove edit eligibility."
},
"launchMode": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"description": "Stored launch preference, or null when absent. This is not provider delivery confirmation."
},
"notes": {
"type": "string",
"maxLength": 4000,
"description": "Bounded plain-text notes with control characters removed."
},
"notesTruncated": {
"type": "boolean",
"description": "Whether stored notes exceed the returned preview."
},
"createdAt": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "Stored creation time in UTC, or null when unavailable."
},
"updatedAt": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "Stored update time in UTC, or null when unavailable."
}
},
"required": [
"campaignId",
"revision",
"name",
"status",
"campaignType",
"launchMode",
"notes",
"notesTruncated",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"$defs": {
"_mcp0": {
"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))$"
}
}
}