MCP Control
Реклама · Изменение

Реклама · Маркетинг · Офлайн · Планы

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

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

Подготовить
  1. Вы указываетеКампания
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Реклама / Маркетинг / Офлайн / Планы». Для изменения нужны кампания, placementId. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
campaignId
Кампания
placementId
Параметр
milestone
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Реклама / Маркетинг / Офлайн / Планы» с параметром milestone = artwork. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
milestone
artwork
status
planned
campaignId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Реклама / Маркетинг / Офлайн / Планы» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.

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

Set or cancel an offline advertising milestone on its canonical campaign. Native placement, timezone, sequence, billing and exact plan revision checks apply. Does not print, buy or launch advertising.

Параметры запроса
campaignId
Native campaignId value; use the value and type returned by the corresponding service. обязательно по схеме · string
placementId
Native placementId value; use the value and type returned by the corresponding service. обязательно по схеме · string / null · по умолчанию null
milestone
Native milestone value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты artwork, print, start, finish
at
Native at value; use the value and type returned by the corresponding service. обязательно по схеме · string
timezone
Native timezone value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 80
status
Native status value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "planned" · варианты planned, done, cancelled
note
Native note value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "" · до символов 1000
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · 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_offline_plan
Вход · 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 campaignId value; use the value and type returned by the corresponding service."
    },
    "placementId": {
      "default": null,
      "description": "Native placementId value; use the value and type returned by the corresponding service.",
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "milestone": {
      "type": "string",
      "enum": [
        "artwork",
        "print",
        "start",
        "finish"
      ],
      "description": "Native milestone value; use the value and type returned by the corresponding service."
    },
    "at": {
      "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": "Native at value; use the value and type returned by the corresponding service."
    },
    "timezone": {
      "type": "string",
      "maxLength": 80,
      "description": "Native timezone value; use the value and type returned by the corresponding service."
    },
    "status": {
      "default": "planned",
      "description": "Native status value; use the value and type returned by the corresponding service.",
      "type": "string",
      "enum": [
        "planned",
        "done",
        "cancelled"
      ]
    },
    "note": {
      "default": "",
      "description": "Native note value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 1000
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Native expectedRevision value; use the value and type returned by the corresponding service."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "campaignId",
    "placementId",
    "milestone",
    "at",
    "timezone",
    "status",
    "note",
    "expectedRevision",
    "requestId"
  ],
  "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"
          }
        }
      ]
    }
  }
}