metrika_apply_goal
Create or update a Yandex Metrika goal idempotently, then read back the result to confirm the change.
Instructions
Autonomously create or update a Metrika goal (idempotent, readback).
Deleting a goal needs a human approval: metrika_manage_prepare(operation='goal_delete').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| goal_id | No | ||
| operation | Yes | ||
| counter_id | Yes | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||