MCP Control
Реклама · Чувствительное действие

Реклама · Google · Поиск · Дополнительная ссылка · Сохранение

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

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

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

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

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

Create or replace a campaign/group sitelink with a direct company website/booking URL and campaign/ad source tags. Replacement pauses the old association and preserves the old asset. New assets require Google review. After a lost response use ads_workspace_operation_get with this operation name and the original requestId. Never infer success from a queued job.

Параметры запроса
campaignId
Native ADS campaign ID from this company; not a Google campaign ID. обязательно по схеме · string
groupId
Google ad group ID owned by the selected campaign. необязательно · string
expectedVersion
Exact current provider settings version returned by ads_google_search_get. обязательно по схеме · string
confirmed
Explicit confirmation to change the reviewed advertising settings. обязательно по схеме · boolean
assetId
Exact current sitelink asset ID belonging to this campaign/group. необязательно · string
linkText
Sitelink title, at most 25 characters. обязательно по схеме · string · до символов 25
description1
First sitelink description, at most 35 characters. обязательно по схеме · string · до символов 35
description2
Second sitelink description, at most 35 characters. обязательно по схеме · string · до символов 35
destinationUrl
HTTPS address on this company campaign website; preserve the desired service query. обязательно по схеме · string · до символов 2048
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
result
Native operation state and a hash-bound JSON chunk. Follow nextOffset using chunkOffset/chunkHash. Completed means the native handler returned; inspect nested job/provider status before claiming synchronization or delivery. Recover mutations with ads_workspace_operation_get. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа ads_google_search_sitelink_save
Вход · 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 ADS campaign ID from this company; not a Google campaign ID."
    },
    "groupId": {
      "type": "string",
      "pattern": "^[0-9]{1,20}$",
      "description": "Google ad group ID owned by the selected campaign."
    },
    "expectedVersion": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Exact current provider settings version returned by ads_google_search_get."
    },
    "confirmed": {
      "type": "boolean",
      "const": true,
      "description": "Explicit confirmation to change the reviewed advertising settings."
    },
    "assetId": {
      "type": "string",
      "pattern": "^[0-9]{1,20}$",
      "description": "Exact current sitelink asset ID belonging to this campaign/group."
    },
    "linkText": {
      "type": "string",
      "minLength": 1,
      "maxLength": 25,
      "description": "Sitelink title, at most 25 characters."
    },
    "description1": {
      "type": "string",
      "minLength": 1,
      "maxLength": 35,
      "description": "First sitelink description, at most 35 characters."
    },
    "description2": {
      "type": "string",
      "minLength": 1,
      "maxLength": 35,
      "description": "Second sitelink description, at most 35 characters."
    },
    "destinationUrl": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri",
      "description": "HTTPS address on this company campaign website; preserve the desired service query."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Original stable request identifier. Recover with ads_workspace_operation_get after uncertainty; never repeat a spending instruction with a new key."
    }
  },
  "required": [
    "campaignId",
    "expectedVersion",
    "confirmed",
    "linkText",
    "description1",
    "description2",
    "destinationUrl",
    "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": "Native operation state and a hash-bound JSON chunk. Follow nextOffset using chunkOffset/chunkHash. Completed means the native handler returned; inspect nested job/provider status before claiming synchronization or delivery. Recover mutations with ads_workspace_operation_get."
    }
  },
  "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"
          }
        }
      ]
    }
  }
}