Реклама · Чтение
Реклама · Маркетинг · Push · Предпросмотр
ads_marketing_push_preview
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Реклама / Маркетинг / Push / Предпросмотр» выполни чтение в текущей компании. Выведи кратко: результат.
- result
- Результат
Задать параметры
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Реклама / Маркетинг / Push / Предпросмотр» на учебном примере с text = Учебный текст. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- text
- Учебный текст
- consent
- true
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Реклама / Маркетинг / Push / Предпросмотр» объясни результат. Отметь отсутствующие значения.
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Preview or send an immediate native push broadcast to consenting company customers. Create requires the unchanged preview reviewHash and request ID; current notifications.send permission is rechecked at native dispatch. Queued is not delivered.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- subject
- Native subject value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 160
- text
- Native text value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 1200
- customerIds
- Native customerIds value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 500
- consent
- Native consent value; use the value and type returned by the corresponding service. обязательно по схеме · boolean
Что вернёт команда
- 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
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"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."
},
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Native subject value; use the value and type returned by the corresponding service."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 1200,
"description": "Native text value; use the value and type returned by the corresponding service."
},
"customerIds": {
"minItems": 1,
"maxItems": 500,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"description": "Native customerIds value; use the value and type returned by the corresponding service."
},
"consent": {
"type": "boolean",
"const": true,
"description": "Native consent value; use the value and type returned by the corresponding service."
}
},
"required": [
"requestId",
"subject",
"text",
"customerIds",
"consent"
],
"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"
}
}
]
}
}
}