direct_get_goal_statistics
Retrieve Yandex Direct statistics by Metrika goals and attribution models to calculate CPA and ROI per goal. Use for goal-level performance; read-only.
Instructions
Direct Reports statistics broken down by 1-10 Metrika goals and attribution models (FCCD, LC, LSCCD, AUTO). Use for CPA/ROI by goal; for plain cost/clicks use direct_get_statistics. Goal columns: . Read-only.
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": {
"date_from": "<date_from>",
"date_to": "<date_to>",
"goals": "<goals>"
},
"name": "direct_get_goal_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | Yes | ||
| date_to | Yes | ||
| date_from | Yes | ||
| row_limit | No | ||
| field_names | No | ||
| report_type | No | CAMPAIGN_PERFORMANCE_REPORT | |
| campaign_ids | No | ||
| attribution_models | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||