List counter goals
list_goalsLists the conversion goals configured on a Yandex Metrica counter, providing the goal IDs required to access conversion metrics in analytics reports.
Instructions
Lists the goals (conversions) configured on a Metrica counter (Management API). Goal ids are needed to read conversion metrics (ym:s:goalreaches / ym:s:goalconversionRate) in get_statistics. counterId defaults to YANDEX_METRIKA_COUNTER_ID when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counterId | No | Counter id. Defaults to YANDEX_METRIKA_COUNTER_ID. |