GetBannerPhrasesFilter
Returns information about keywords and allows limiting the composition of returned data.
A GetBannerPhrasesFilter (Live) version of this method exists.
Restrictions
Retrieving keywords from archived campaigns is not available.
Alert
The method supports only “Text & Image Ads”. To work with keywords for ads of all types, use the Keywords service in API version 5.
Input data
The structure of input data in JSON format is shown below.
{
"method": "GetBannerPhrasesFilter",
"param": {
/* BannerPhrasesFilterRequestInfo */
"BannerIDS": [
(long)
...
],
"FieldsNames": [
(string)
...
],
"ConsiderTimeTarget": (string),
"RequestPrices": (string)
}
}
The parameters are described below.
|
Parameter |
Description |
Required |
|
BannerPhrasesFilterRequestInfo object |
||
|
|
Array of ad IDs (no more than 1000). |
Yes |
|
|
Array containing names of parameters returned in the response. If not specified, all provided parameters are returned. The parameters |
No |
|
|
Return statistics and prices — Yes/No. Default value Yes. Statistics and prices are returned in the parameters |
No |
Output data
The method returns an array of BannerPhraseInfo objects with keyword information. The structure of output data in JSON format is shown below.
{
"data": [
{ /* BannerPhraseInfo */
"BannerID": (long),
"CampaignID": (int),
"PhraseID": (long),
"Phrase": (string),
"IsRubric": (string),
"Price": (float),
"ContextPrice": (float),
"AutoBroker": (string),
"UserParams": {
/* PhraseUserParams */
"Param1": (string),
"Param2": (string)
}
"StatusPhraseModerate": (string),
"AutoBudgetPriority": (string),
"Clicks": (int),
"Shows": (int),
"Min": (float),
"Max": (float),
"PremiumMin": (float),
"PremiumMax": (float),
"LowCTRWarning": (string),
"LowCTR": (string),
"ContextLowCTR": (string),
"Coverage": [
{ /* CoverageInfo */
"Probability": (float),
"Price": (float)
}
...
],
"ContextCoverage": [
{ /* CoverageInfo */
"Probability": (float),
"Price": (float)
}
...
],
"Prices": [
(float)
...
],
"CurrentOnSearch": (float),
"MinPrice": (float),
}
...
]
}
The parameters are described below.
|
Parameter |
Description |
|
BannerPhraseInfo object |
|
|
|
Campaign ID. |
|
|
Ad ID. |
|
|
Keyword ID. |
|
|
Keyword. May contain negative words, which are specified with a minus sign before the word, for example [lightning -thunder -rain]. Negative words common to several keywords should preferably be specified in the ad group's Keyword length — no more than 4096 characters. The "!" operator before a negative word is not counted in the keyword length (the sequence "-!" is counted as one character). No more than 7 words in a keyword, excluding stop words and negative words. Each word and negative word — no more than 35 characters, excluding the minus before the negative word. |
|
|
Indicator that the keyword is a Yandex Catalog category. Always contains the value No. |
|
|
Bid on Yandex search Yandex units. Default limit — 50 Yandex units. Returned only if a manual bid management strategy is selected for the campaign. |
|
|
Bid in the Yandex Advertising Network Yandex units. The bid can be specified in the following cases:
|
|
|
Indicator of enabled auto-broker. Always contains the value Yes. |
|
|
|
|
|
Keyword check result:
|
|
|
Keyword priority when using automatic strategies. Possible values:
|
|
|
Number of clicks on the ad shown in search for this keyword. Calculated for 28 days from the current date. Days during which there was at least one click on the ad are selected for calculation. |
|
|
Number of ad impressions for this keyword in search. Calculated for 28 days from the current date. Days during which there was at least one ad impression for this keyword are selected for calculation. |
|
|
Minimum bid for entry into the guaranteed impressions block. |
|
|
Minimum bid for 1st position in the guaranteed impressions block. |
|
|
Minimum bid for entry into premium placement. |
|
|
Minimum bid for 1st position in premium placement. |
|
|
Keyword has low CTR and may be disabled soon — Yes/No. Alert This parameter is no longer relevant for new keywords, since keywords are no longer disabled for low CTR. |
|
|
Keyword disabled in search for low CTR — Yes/No. Alert This parameter is no longer relevant for new keywords, since keywords are no longer disabled for low CTR. |
|
|
Keyword disabled on Yandex Advertising Network sites for low CTR — Yes/No. Alert This parameter is no longer relevant for new keywords, since keywords are no longer disabled for low CTR. |
|
|
Array of Alert The parameter is no longer relevant and should not be used for bid selection. |
|
|
Array of The parameter is useful for bid selection for keywords. |
|
|
Array of bids for all positions in premium placement and in the guaranteed impressions block. |
|
|
Final click price taking into account auto-broker. If the ad is not being shown in search for the keyword or the keyword is disabled in search for low CTR, the parameter returns the value NULL. |
|
|
Minimum price, assigned individually for each advertiser. |
|
CoverageInfo object |
|
|
|
Impression frequency at the bid from the In the |
|
|
Bid for which the |
|
PhraseUserParams object |
|
|
|
Value of the |
|
|
Value of the |
|
Notes |
|
|
Input data examples
Python
{
'BannerIDS': [20155899],
'FieldsNames': ['Phrase','Price','Phrase','MinPrice','Clicks'],
'RequestPrices': 'Yes',
'ConsiderTimeTarget': 'Yes'
}
PHP
array(
'BannerIDS' => array(20155899),
'FieldsNames' => array('Phrase','Price','Phrase','MinPrice','Clicks'),
'RequestPrices' => 'Yes',
'ConsiderTimeTarget' =>'Yes'
)
Perl
{
'BannerIDS' => [20155899],
'FieldsNames' => ['Phrase','Price','Phrase','MinPrice','Clicks'],
'RequestPrices' => 'Yes',
'ConsiderTimeTarget' =>'Yes'
}