Список ключевых слов
list_keywordsRetrieve keywords in specified Yandex.Direct ad groups, including bids, statuses, and optional statistics or autotargeting settings by specifying fields.
Instructions
Ключевые фразы в группах объявлений: фразы, ставки (руб), статусы. По умолчанию возвращается узкий набор полей; нужны другие (StatisticsSearch, StatisticsNetwork, Productivity, ServingStatus и прочие из KeywordFieldEnum) — перечислите их в fields. Автотаргетинг — спецфраза ---autotargeting в той же группе; его категории запросов — с autotargeting: true.
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": {
"ad_group_ids": "<ad_group_ids>"
},
"name": "list_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Сколько объектов вернуть (максимум 10000) | |
| fields | No | Какие поля вернуть; по умолчанию Id, Keyword, CampaignId, AdGroupId, Status, State, Bid, ContextBid | |
| offset | No | Смещение выборки: сюда передаётся LimitedBy предыдущей страницы | |
| ad_group_ids | Yes | Группы, ключевые фразы которых нужно выбрать | |
| autotargeting | No | true — добавить к ответу AutotargetingSettings: категории запросов и брендов у фразы ---autotargeting (YES/NO). У обычных фраз поле пустое |