audience_create_geo_polygon
Create a geo-polygon audience segment in Yandex Direct with a guarded single request, requiring a confirmation hash and idempotency key to prevent duplicates.
Instructions
Run one guarded geo-polygon create; last is refused and unknowns are not resent.
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": {
"name": "<name>",
"polygons": "<polygons>",
"geo_segment_type": "<geo_segment_type>",
"confirmation_hash": "<confirmation_hash>",
"idempotency_key": "<idempotency_key>"
},
"name": "audience_create_geo_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| polygons | Yes | ||
| period_length | No | ||
| times_quantity | No | ||
| idempotency_key | Yes | ||
| geo_segment_type | Yes | ||
| confirmation_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||