metrika_upload_offline_conversions
Uploads offline conversions to Yandex Metrika so goal statistics and Direct optimization reflect real-world outcomes. Requires validated hash, user confirmation, and write access.
Instructions
Upload offline conversions to Metrika (affects goal stats and Direct optimisation). Needs the hash from metrika_validate_offline_conversions, user confirmation and YANDEX_METRIKA_WRITE_ENABLED.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"counter_id": "<counter_id>",
"conversions": "<conversions>",
"confirmation_hash": "<confirmation_hash>",
"idempotency_key": "<idempotency_key>"
},
"name": "metrika_upload_offline_conversions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| counter_id | Yes | ||
| conversions | Yes | ||
| conversion_type | No | BASIC | |
| idempotency_key | Yes | ||
| confirmation_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||