Changing the list of coordinates for a segment with the “location circle” type
Attention.
Support for this functionality is disabled.
Changes the list of coordinates for a segment with the “location circle” type.
Request syntax
segmentId
– ID of the segment you want to edit.
https://api-audience.yandex.ru/v1/management/segment/{segmentId}/update_geo_points
?
In the request body
{
"points" : [ {
"latitude" : < big_decimal > ,
"longitude" : < big_decimal > ,
"description" : < string >
}, ... ]
}
Parameters | Description |
---|---|
points | List of coordinates. |
points | |
latitude | Latitude. |
longitude | Longitude. |
description | Any comment with the length not exceeding 200. |
Parameters | Description |
---|---|
points | List of coordinates. |
points | |
latitude | Latitude. |
longitude | Longitude. |
description | Any comment with the length not exceeding 200. |
Sample request
POST https://api-audience.yandex.ru/v1/management/segment/{segmentId}/update_geo_points?
Response format
{
"segment" : < _circle_geo_segment >
}
Parameters | Description |
---|---|
segment | The segment with the specified parameters. |
Parameters | Description |
---|---|
segment | The segment with the specified parameters. |