Changing a goal
Changes settings for the specified tag goal.
Request syntax
counterId
: ID of the tag whose goal you want to change.
goalId
: ID of the goal whose settings you want to change.
PUT https://api-metrika.yandex.net/management/v1/counter/{counterId}/goal/{goalId}
In the request body
{
"goal" : < goal >
}
Parameters | Description |
---|---|
goal | Goal information. |
Parameters | Description |
---|---|
goal | Goal information. |
Sample request
PUT https://api-metrika.yandex.net/management/v1/counter/{counterId}/goal/{goalId}
Response format
{
"goal" : < goal >
}
Parameters | Description |
---|---|
goal | Goal information. |
Parameters | Description |
---|---|
goal | Goal information. |