Реклама · Кампании · Сохранение · Черновики
ads_campaign_save_draft
Попробуйте три запроса
- Вы указываетеКампания
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Подготовь «Реклама / Кампании / Сохранение / Черновики». Для изменения нужны campaign, кампания. Покажи объект и ожидаемый эффект до выполнения.
- campaign
- Параметр
- campaignId
- Кампания
- split
- Параметр
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
На учебной записи подготовь «Реклама / Кампании / Сохранение / Черновики» с параметром campaignId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- campaignId
- DEMO-101
- split
- false
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Проверь результат «Реклама / Кампании / Сохранение / Черновики» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
- До измененияПрочитать версию
- При записиПередать выбранную версию
- После ответаПеречитать объект
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса. Если связь оборвётся, используйте способ восстановления из описания разработчика ниже.
Описание разработчика
Save an unprepared ADS draft at any wizard stage, starting with its name. Omitted sections preserve existing data; supplied sections replace their fields. Accounts are required only when explicitly selecting channels. Never creates provider objects or starts delivery. 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 campaignId. необязательно · string
- expectedRevision
- Версия, прочитанная перед изменением. необязательно · string · до символов 100
- campaign
- Native ADS campaign. обязательно по схеме · object
- split
- Native ADS split. необязательно · boolean · по умолчанию false
- 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
Поля и технические схемы

Вход · 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 campaignId."
},
"expectedRevision": {
"type": "string",
"maxLength": 100,
"description": "Native ADS expectedRevision."
},
"campaign": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Native ADS name."
},
"notes": {
"type": "string",
"maxLength": 2000,
"description": "Native ADS notes."
},
"objective": {
"type": "string",
"enum": [
"orders",
"bookings",
"leads",
"calls",
"messages",
"store",
"sales",
"traffic",
"awareness",
"engagement",
"app_installs"
],
"description": "Native ADS objective."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Native ADS currency."
},
"budget": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Native ADS amount."
},
"type": {
"type": "string",
"const": "daily",
"description": "Native ADS type."
},
"monthlyLimit": {
"default": 0,
"description": "Native ADS monthlyLimit.",
"type": "number",
"minimum": 0,
"maximum": 1000000000
},
"distributionMode": {
"default": "equal",
"description": "Native ADS distributionMode.",
"type": "string",
"const": "equal"
}
},
"required": [
"amount",
"type"
],
"additionalProperties": false,
"description": "Native ADS budget."
},
"schedule": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all_day",
"custom"
],
"description": "Native ADS mode."
},
"start": {
"type": "string",
"allOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"$ref": "#/$defs/_mcp0"
}
],
"description": "Native ADS start."
},
"finish": {
"type": "string",
"allOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"$ref": "#/$defs/_mcp0"
}
],
"description": "Native ADS finish."
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Native ADS timezone."
},
"monday": {
"maxItems": 24,
"type": "array",
"items": {
"$ref": "#/$defs/_mcp1"
},
"description": "Native ADS monday."
},
"tuesday": {
"maxItems": 24,
"type": "array",
"items": {
"$ref": "#/$defs/_mcp1"
},
"description": "Native ADS tuesday."
},
"wednesday": {
"maxItems": 24,
"type": "array",
"items": {
"$ref": "#/$defs/_mcp1"
},
"description": "Native ADS wednesday."
},
"thursday": {
"maxItems": 24,
"type": "array",
"items": {
"$ref": "#/$defs/_mcp1"
},
"description": "Native ADS thursday."
},
"friday": {
"maxItems": 24,
"type": "array",
"items": {
"$ref": "#/$defs/_mcp1"
},
"description": "Native ADS friday."
},
"saturday": {
"maxItems": 24,
"type": "array",
"items": {
"$ref": "#/$defs/_mcp1"
},
"description": "Native ADS saturday."
},
"sunday": {
"maxItems": 24,
"type": "array",
"items": {
"$ref": "#/$defs/_mcp1"
},
"description": "Native ADS sunday."
}
},
"required": [
"mode",
"start",
"timezone"
],
"additionalProperties": false,
"description": "Native ADS schedule."
},
"audience": {
"type": "object",
"properties": {
"channel": {
"default": "all",
"description": "Native ADS channel.",
"type": "string",
"const": "all"
},
"ageMin": {
"type": "integer",
"minimum": 18,
"maximum": 100,
"description": "Native ADS ageMin."
},
"ageMax": {
"type": "integer",
"minimum": 18,
"maximum": 100,
"description": "Native ADS ageMax."
},
"gender": {
"default": "all",
"description": "Native ADS gender.",
"type": "string",
"enum": [
"all",
"male",
"female"
]
},
"targeting": {
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"interests": {
"default": [],
"description": "Native ADS interests.",
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Native ADS id."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Native ADS name."
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
}
}
},
"additionalProperties": false,
"description": "Native ADS meta."
},
"google_ads": {
"type": "object",
"properties": {
"keywords": {
"default": [],
"description": "Native ADS keywords.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"matchType": {
"default": "PHRASE",
"description": "Native ADS matchType.",
"type": "string",
"enum": [
"EXACT",
"PHRASE",
"BROAD"
]
},
"negativeKeywords": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"description": "Native ADS negativeKeywords."
},
"negativeMatchType": {
"type": "string",
"enum": [
"EXACT",
"PHRASE",
"BROAD"
],
"description": "Native ADS negativeMatchType."
},
"locations": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceName": {
"type": "string",
"pattern": "^geoTargetConstants\\/\\d+$",
"description": "Native ADS resourceName."
},
"negative": {
"type": "boolean",
"description": "Native ADS negative."
}
},
"required": [
"resourceName"
],
"additionalProperties": false
},
"description": "Native ADS locations."
}
},
"additionalProperties": false,
"description": "Native ADS google_ads."
}
},
"additionalProperties": false,
"description": "Native ADS targeting."
},
"interests": {
"default": [],
"description": "Native ADS interests.",
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Native ADS id."
},
"name": {
"type": "string",
"maxLength": 200,
"description": "Native ADS name."
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
}
},
"useCustomerAudience": {
"default": false,
"description": "Native ADS useCustomerAudience.",
"type": "boolean"
},
"audienceIds": {
"default": [],
"description": "Native ADS audienceIds.",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}
},
"excludeAudienceIds": {
"default": [],
"description": "Native ADS excludeAudienceIds.",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}
},
"locations": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Native ADS name."
},
"country": {
"type": "string",
"maxLength": 100,
"description": "Native ADS country."
},
"radius": {
"type": "number",
"minimum": 0,
"maximum": 1000,
"description": "Native ADS radius."
},
"placeId": {
"type": "string",
"maxLength": 256,
"description": "Native ADS placeId."
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Native ADS lat."
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Native ADS lng."
}
},
"required": [
"name"
],
"additionalProperties": false
},
"description": "Native ADS locations."
},
"excludedLocations": {
"default": [],
"description": "Native ADS excludedLocations.",
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"description": "Native ADS name."
}
},
"required": [
"name"
],
"additionalProperties": false
}
},
"locationMode": {
"default": "living_in",
"description": "Native ADS locationMode.",
"type": "string",
"enum": [
"living_in",
"interested_in"
]
},
"languages": {
"default": [],
"description": "Native ADS languages.",
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z]{2}(?:-[A-Z]{2})?$"
}
}
},
"required": [
"ageMin",
"ageMax",
"targeting",
"locations"
],
"additionalProperties": false,
"description": "Native ADS audience."
},
"channels": {
"maxItems": 14,
"type": "array",
"items": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"meta",
"google_ads",
"tiktok_ads",
"microsoft_ads",
"linkedin_ads",
"pinterest_ads",
"snapchat_ads",
"reddit_ads",
"amazon_ads",
"spotify_ads",
"x_ads",
"apple_ads",
"yelp_ads",
"chatgpt_ads"
],
"description": "Native ADS provider."
},
"enabled": {
"type": "boolean",
"const": true,
"description": "Native ADS enabled."
},
"accountId": {
"type": "string",
"pattern": "^[A-Za-z0-9_:~./-]{1,256}$",
"description": "Native ADS accountId."
},
"connectionRef": {
"type": "string",
"maxLength": 256,
"description": "Native ADS connectionRef."
},
"budget": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Native ADS budget."
},
"budgetType": {
"default": "daily",
"description": "Native ADS budgetType.",
"type": "string",
"const": "daily"
}
},
"required": [
"provider",
"enabled",
"accountId",
"budget"
],
"additionalProperties": false
},
"description": "Native ADS channels."
},
"creatives": {
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Native ADS name."
},
"headline": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Native ADS headline."
},
"primaryText": {
"type": "string",
"maxLength": 2000,
"description": "Native ADS primaryText."
},
"description": {
"type": "string",
"maxLength": 2000,
"description": "Native ADS description."
},
"destinationUrl": {
"type": "string",
"maxLength": 2048,
"format": "uri",
"description": "Native ADS destinationUrl."
},
"isPrimary": {
"type": "boolean",
"description": "Native ADS isPrimary."
},
"format": {
"default": "image",
"description": "Native ADS format.",
"type": "string",
"enum": [
"image",
"video",
"audio",
"text"
]
},
"mediaId": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Native ADS mediaId."
},
"contentType": {
"type": "string",
"maxLength": 80,
"description": "Native ADS contentType."
},
"imageUrl": {
"type": "string",
"maxLength": 2048,
"format": "uri",
"description": "Native ADS imageUrl."
},
"videoUrl": {
"type": "string",
"maxLength": 2048,
"format": "uri",
"description": "Native ADS videoUrl."
},
"audioUrl": {
"type": "string",
"maxLength": 2048,
"format": "uri",
"description": "Native ADS audioUrl."
},
"headlines": {
"default": [],
"description": "Native ADS headlines.",
"maxItems": 15,
"type": "array",
"items": {
"type": "string",
"maxLength": 255
}
},
"descriptions": {
"default": [],
"description": "Native ADS descriptions.",
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"maxLength": 2000
}
}
},
"required": [
"name",
"headline",
"primaryText",
"description",
"destinationUrl",
"isPrimary"
],
"additionalProperties": false
},
"description": "Native ADS creatives."
},
"attribution": {
"type": "object",
"properties": {
"model": {
"type": "string",
"enum": [
"last_paid_touch",
"last_non_direct"
],
"description": "Native ADS model."
},
"clickWindowDay": {
"type": "integer",
"minimum": 1,
"maximum": 90,
"description": "Native ADS clickWindowDay."
},
"viewWindowDays": {
"type": "integer",
"minimum": 0,
"maximum": 30,
"description": "Native ADS viewWindowDays."
},
"utmSource": {
"type": "string",
"maxLength": 256,
"description": "Native ADS utmSource."
},
"utmMedium": {
"type": "string",
"maxLength": 256,
"description": "Native ADS utmMedium."
},
"utmCampaign": {
"type": "string",
"maxLength": 256,
"description": "Native ADS utmCampaign."
},
"utmContent": {
"type": "string",
"maxLength": 256,
"description": "Native ADS utmContent."
},
"conversionEvent": {
"type": "string",
"maxLength": 100,
"description": "Native ADS conversionEvent."
},
"pixelEnabled": {
"type": "boolean",
"description": "Native ADS pixelEnabled."
},
"conversionApiEnabled": {
"type": "boolean",
"description": "Native ADS conversionApiEnabled."
},
"crmSyncEnabled": {
"type": "boolean",
"description": "Native ADS crmSyncEnabled."
}
},
"required": [
"model",
"clickWindowDay",
"viewWindowDays",
"utmSource",
"utmMedium",
"utmCampaign",
"utmContent",
"conversionEvent",
"pixelEnabled",
"conversionApiEnabled",
"crmSyncEnabled"
],
"additionalProperties": false,
"description": "Native ADS attribution."
},
"automation": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Native ADS enabled."
},
"budgetOptimization": {
"type": "boolean",
"description": "Native ADS budgetOptimization."
},
"audienceOptimization": {
"type": "boolean",
"description": "Native ADS audienceOptimization."
},
"creativeOptimization": {
"type": "boolean",
"description": "Native ADS creativeOptimization."
},
"daypartingOptimization": {
"type": "boolean",
"description": "Native ADS daypartingOptimization."
},
"recommendationsEnabled": {
"type": "boolean",
"description": "Native ADS recommendationsEnabled."
},
"autopilotEnabled": {
"type": "boolean",
"description": "Native ADS autopilotEnabled."
},
"goal": {
"type": "string",
"maxLength": 100,
"description": "Native ADS goal."
}
},
"required": [
"enabled",
"budgetOptimization",
"audienceOptimization",
"creativeOptimization",
"daypartingOptimization",
"recommendationsEnabled",
"autopilotEnabled",
"goal"
],
"additionalProperties": false,
"description": "Native ADS automation."
},
"limit_maxCAC": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Native ADS limit_maxCAC."
},
"limit_maxBudgetIncreasePercent": {
"type": "number",
"minimum": 0,
"maximum": 50,
"description": "Native ADS limit_maxBudgetIncreasePercent."
},
"providerPlans": {
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS meta."
},
"google_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS google_ads."
},
"tiktok_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS tiktok_ads."
},
"microsoft_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS microsoft_ads."
},
"linkedin_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS linkedin_ads."
},
"pinterest_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS pinterest_ads."
},
"snapchat_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS snapchat_ads."
},
"reddit_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS reddit_ads."
},
"amazon_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS amazon_ads."
},
"spotify_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS spotify_ads."
},
"x_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS x_ads."
},
"apple_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS apple_ads."
},
"yelp_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS yelp_ads."
},
"chatgpt_ads": {
"type": "object",
"properties": {
"campaign": {
"$ref": "#/$defs/_mcp2"
},
"groups": {
"$ref": "#/$defs/_mcp3"
},
"ads": {
"$ref": "#/$defs/_mcp4"
},
"creatives": {
"$ref": "#/$defs/_mcp5"
}
},
"additionalProperties": false,
"description": "Native ADS chatgpt_ads."
}
},
"additionalProperties": false,
"description": "Native ADS providerPlans."
}
},
"required": [
"name"
],
"additionalProperties": false,
"description": "Native ADS campaign."
},
"split": {
"default": false,
"description": "Native ADS split.",
"type": "boolean"
},
"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": [
"campaign",
"requestId"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"propertyNames": {
"type": "string"
},
"type": "object",
"properties": {},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
},
"_mcp0": {
"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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"_mcp1": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"description": "Native ADS start."
},
"finish": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"description": "Native ADS finish."
}
},
"required": [
"start",
"finish"
],
"additionalProperties": false
},
"_mcp2": {
"default": {},
"propertyNames": {
"type": "string"
},
"description": "Native ADS campaign.",
"type": "object",
"properties": {},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
},
"_mcp3": {
"default": [],
"description": "Native ADS groups.",
"maxItems": 50,
"type": "array",
"items": {
"propertyNames": {
"type": "string"
},
"type": "object",
"properties": {},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
},
"_mcp4": {
"default": [],
"description": "Native ADS ads.",
"maxItems": 100,
"type": "array",
"items": {
"propertyNames": {
"type": "string"
},
"type": "object",
"properties": {},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
},
"_mcp5": {
"default": [],
"description": "Native ADS creatives.",
"maxItems": 100,
"type": "array",
"items": {
"propertyNames": {
"type": "string"
},
"type": "object",
"properties": {},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
}
}
}Выход · 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"
}
}
]
}
}
}