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

Реклама · Результаты · Настройка · Создание · Google · Вебхуки

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

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

Подготовить
  1. Вы указываетеPipelineid
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Реклама / Результаты / Настройка / Создание / Google / Вебхуки». Для изменения нужны expectedBinding, pipelineId. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
expectedBinding
Параметр
pipelineId
Параметр
siteId
Сайт
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Реклама / Результаты / Настройка / Создание / Google / Вебхуки» с параметром pipelineId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
pipelineId
DEMO-101
siteId
DEMO-101
expectedRevision
4
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Реклама / Результаты / Настройка / Создание / Google / Вебхуки» по исходному ответу. Покажи companyId, провайдер. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

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

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

Create the connected company Google Ads lead-form webhook using the existing native CRM lead/customer writer and Flow outbox. Requires a current account binding, native CRM authority, and an existing pipeline. Returns the receiver URL; the key remains server-side and can be copied by the manager in SABSUS. Does not edit Google forms, create test clients or send ads/customer messages.

Параметры запроса
expectedBinding
Exact current binding from ads_results_setup_get. Account changes invalidate it. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
pipelineId
Existing native CRM pipeline with a default stage. обязательно по схеме · string
siteId
Owned active Site for existing Flow dispatch and attribution. необязательно · string
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
companyId
Authorized company owning this result. обязательно по схеме · string
provider
Provider for the native lead receiver. обязательно по схеме · string
configured
The native receiver configuration was saved. обязательно по схеме · boolean
revision
Current receiver configuration revision. обязательно по схеме · number
url
Receiver URL to copy into the Google lead form. обязательно по схеме · string
pipelineId
Existing native CRM pipeline receiving real leads. обязательно по схеме · string
siteId
Owned Site for existing Flow dispatch, when configured. обязательно по схеме · string / null
credentialStored
Private receiver key is stored server-side; copy it only in the manager UI. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа ads_results_setup_create_google_webhook
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "expectedBinding": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Exact current binding from ads_results_setup_get. Account changes invalidate it."
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Current webhook revision from setup; zero for initial creation."
    },
    "pipelineId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_.-]{1,128}$",
      "description": "Existing native CRM pipeline with a default stage."
    },
    "siteId": {
      "description": "Owned active Site for existing Flow dispatch and attribution.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_.-]{1,128}$"
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID. Reuse unchanged after an uncertain response; inspect current setup before a new operation."
    }
  },
  "required": [
    "expectedBinding",
    "expectedRevision",
    "pipelineId",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Authorized company owning this result."
    },
    "provider": {
      "type": "string",
      "const": "google_ads",
      "description": "Provider for the native lead receiver."
    },
    "configured": {
      "type": "boolean",
      "const": true,
      "description": "The native receiver configuration was saved."
    },
    "revision": {
      "type": "number",
      "description": "Current receiver configuration revision."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Receiver URL to copy into the Google lead form."
    },
    "pipelineId": {
      "type": "string",
      "description": "Existing native CRM pipeline receiving real leads."
    },
    "siteId": {
      "description": "Owned Site for existing Flow dispatch, when configured.",
      "type": [
        "string",
        "null"
      ]
    },
    "credentialStored": {
      "type": "boolean",
      "const": true,
      "description": "Private receiver key is stored server-side; copy it only in the manager UI."
    }
  },
  "required": [
    "companyId",
    "provider",
    "configured",
    "revision",
    "url",
    "pipelineId",
    "siteId",
    "credentialStored"
  ],
  "additionalProperties": false
}