GetBannerPhrases (Live)
Returns information about keywords.
Disabled method. Use version 5 of the API.
For information about the compatibility of methods between versions Live 4 and 5, see the Migration guide.
New in the Live 4 version
Added the StatusPaused output parameter.
Added the ContextClicks and ContextShows output parameters.
Added the AdGroupID output parameter.
Restrictions
You can't get keywords from archived campaigns.
Input data
The input data structure in JSON is shown below.
{
"method": "GetBannerPhrases",
"param": [
(long)
...
]
}
The param parameter contains an array of BannerID ad IDs (no more than 1000).
Output data
The method returns an array of BannerPhraseInfo objects with information about keywords. The output data structure in JSON is shown below.
{
"data": [
{ /* BannerPhraseInfo */
"BannerID": (long),
"CampaignID": (int),
"AdGroupID": (long),
"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),
"ContextClicks": (int),
"ContextShows": (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),
"StatusPaused": (string)
}
...
]
}
Parameters are described below.
Parameter | Description |
BannerPhraseInfo object | |
---|---|
BannerID | The ad ID. |
CampaignID | The campaign ID. |
AdGroupID | ID of the ad group. |
PhraseID | The keyword ID. |
Phrase | Keywords. It can contain negative keywords, which are specified with the minus sign before the word, such as [lightning -thunder -rain]. Negative keywords that are shared between several keywords should preferably be set in the MinusKeywords parameter for the ad group. The maximum length of a keyword is 4096 characters. The “!” operator before a negative keyword is not counted in the keyword length (the sequence “-!” counts as a single character). Maximum of 7 words per keyword, not counting stop words and negative keywords. Each word and negative keyword can be up to 35 characters, not counting the minus sign before a negative keyword. |
IsRubric | Whether the keyword is a Yandex Catalog category. Always contains the value No. |
Price | The bid on Yandex search (in Yandex units) 1 . Specified only if a strategy with manual bid management is selected for the campaign. |
ContextPrice | Bid in the Yandex Advertising Network (in Yandex units) 1 . The parameter is available for editing in the following cases:
|
AutoBroker | Indicates that Autobroker is enabled. Always contains the value Yes. |
UserParams | PhraseUserParams object. Contains values of substitution variables for the website links (see the section Site links). |
StatusPhraseModerate | Results of moderation of the keyword:
|
AutoBudgetPriority | Priority of the keyword when using automatic strategies. Possible values:
|
Clicks | Number of clicks on all the group's ads that were shown on the search for this keyword. Calculated for the last 28 days. The calculation uses those days during which there was at least one click on an ad. |
Shows | Number of impressions for this keyword on the search, for all ads in the ad group. Calculated for the last 28 days. The calculation uses those days during which there was at least one ad impression for this keyword. |
ContextClicks | Number of clicks on all the group's ads that were shown in the Yandex Advertising Network for this keyword. Calculated for the last 28 days. The calculation uses those days during which there was at least one click on an ad. |
ContextShows | Number of impressions for this keyword in the Yandex Advertising Network, for all ads in the ad group. Calculated for the last 28 days. The calculation uses those days during which there was at least one ad impression for this keyword. |
Min | Price (in Yandex units) 2 that secures impressions in the lower block for most of the ads in the ad group. |
Max | Price (in Yandex units) 2 that secures impressions in the top position in the lower block for most of the ads in the ad group. |
PremiumMin | Price (in Yandex units) 2 that secures impressions in Premium Placement for most of the ads in the ad group. |
PremiumMax | Price (in Yandex units) 2 that secures impressions in the top position in Premium Placement for most of the ads in the ad group. |
LowCTRWarning | The keyword has a low CTR and may be disabled soon — Yes/No. Restriction. This parameter is no longer relevant for new keywords, since keywords are no longer excluded for a low CTR. |
LowCTR | The keyword is disabled in the search due to a low CTR — Yes/No. Restriction. This parameter is no longer relevant for new keywords, since keywords are no longer excluded for a low CTR. |
ContextLowCTR | The keyword is disabled on Yandex Advertising Network sites due to a low CTR — Yes/No. Restriction. This parameter is no longer relevant for new keywords, since keywords are no longer excluded for a low CTR. |
Coverage | Array of CoverageInfo objects, which indicate the projected audience coverage on the search. Restriction. This parameter is no longer relevant and should not be used for selecting bids. |
ContextCoverage | Array of CoverageInfo objects, which indicate the projected audience coverage in the Yandex Advertising Network. This parameter is useful for bid selection for keywords. |
Prices | Array of bids for all positions in Premium Placement and in the lower block (in Yandex units). |
CurrentOnSearch | The final CPC after applying Autobroker. If the keyword does not generate impressions on the search, or the keyword is disabled on the search due to a low CTR, the NULL value is returned in the parameter. |
MinPrice | Minimal price (in Yandex units) 2 , set individually for each advertiser. |
StatusPaused | Impressions are paused for the keyword — Yes/No. To pause and resume impressions, use the Keyword (Live) method. |
CoverageInfo object | |
Probability | Frequency of impressions for the bid from the Price parameter. It is specified in the ContextCoverage array as a percent from 0 to 100. Used for selecting bids. |
Price | Bid (in Yandex units) 2 that the Probability parameter contains the frequency of impressions for. |
PhraseUserParams object | |
Param1 | Value of the |
Param2 | Value of the |
Notes | |
|
Parameter | Description |
BannerPhraseInfo object | |
---|---|
BannerID | The ad ID. |
CampaignID | The campaign ID. |
AdGroupID | ID of the ad group. |
PhraseID | The keyword ID. |
Phrase | Keywords. It can contain negative keywords, which are specified with the minus sign before the word, such as [lightning -thunder -rain]. Negative keywords that are shared between several keywords should preferably be set in the MinusKeywords parameter for the ad group. The maximum length of a keyword is 4096 characters. The “!” operator before a negative keyword is not counted in the keyword length (the sequence “-!” counts as a single character). Maximum of 7 words per keyword, not counting stop words and negative keywords. Each word and negative keyword can be up to 35 characters, not counting the minus sign before a negative keyword. |
IsRubric | Whether the keyword is a Yandex Catalog category. Always contains the value No. |
Price | The bid on Yandex search (in Yandex units) 1 . Specified only if a strategy with manual bid management is selected for the campaign. |
ContextPrice | Bid in the Yandex Advertising Network (in Yandex units) 1 . The parameter is available for editing in the following cases:
|
AutoBroker | Indicates that Autobroker is enabled. Always contains the value Yes. |
UserParams | PhraseUserParams object. Contains values of substitution variables for the website links (see the section Site links). |
StatusPhraseModerate | Results of moderation of the keyword:
|
AutoBudgetPriority | Priority of the keyword when using automatic strategies. Possible values:
|
Clicks | Number of clicks on all the group's ads that were shown on the search for this keyword. Calculated for the last 28 days. The calculation uses those days during which there was at least one click on an ad. |
Shows | Number of impressions for this keyword on the search, for all ads in the ad group. Calculated for the last 28 days. The calculation uses those days during which there was at least one ad impression for this keyword. |
ContextClicks | Number of clicks on all the group's ads that were shown in the Yandex Advertising Network for this keyword. Calculated for the last 28 days. The calculation uses those days during which there was at least one click on an ad. |
ContextShows | Number of impressions for this keyword in the Yandex Advertising Network, for all ads in the ad group. Calculated for the last 28 days. The calculation uses those days during which there was at least one ad impression for this keyword. |
Min | Price (in Yandex units) 2 that secures impressions in the lower block for most of the ads in the ad group. |
Max | Price (in Yandex units) 2 that secures impressions in the top position in the lower block for most of the ads in the ad group. |
PremiumMin | Price (in Yandex units) 2 that secures impressions in Premium Placement for most of the ads in the ad group. |
PremiumMax | Price (in Yandex units) 2 that secures impressions in the top position in Premium Placement for most of the ads in the ad group. |
LowCTRWarning | The keyword has a low CTR and may be disabled soon — Yes/No. Restriction. This parameter is no longer relevant for new keywords, since keywords are no longer excluded for a low CTR. |
LowCTR | The keyword is disabled in the search due to a low CTR — Yes/No. Restriction. This parameter is no longer relevant for new keywords, since keywords are no longer excluded for a low CTR. |
ContextLowCTR | The keyword is disabled on Yandex Advertising Network sites due to a low CTR — Yes/No. Restriction. This parameter is no longer relevant for new keywords, since keywords are no longer excluded for a low CTR. |
Coverage | Array of CoverageInfo objects, which indicate the projected audience coverage on the search. Restriction. This parameter is no longer relevant and should not be used for selecting bids. |
ContextCoverage | Array of CoverageInfo objects, which indicate the projected audience coverage in the Yandex Advertising Network. This parameter is useful for bid selection for keywords. |
Prices | Array of bids for all positions in Premium Placement and in the lower block (in Yandex units). |
CurrentOnSearch | The final CPC after applying Autobroker. If the keyword does not generate impressions on the search, or the keyword is disabled on the search due to a low CTR, the NULL value is returned in the parameter. |
MinPrice | Minimal price (in Yandex units) 2 , set individually for each advertiser. |
StatusPaused | Impressions are paused for the keyword — Yes/No. To pause and resume impressions, use the Keyword (Live) method. |
CoverageInfo object | |
Probability | Frequency of impressions for the bid from the Price parameter. It is specified in the ContextCoverage array as a percent from 0 to 100. Used for selecting bids. |
Price | Bid (in Yandex units) 2 that the Probability parameter contains the frequency of impressions for. |
PhraseUserParams object | |
Param1 | Value of the |
Param2 | Value of the |
Notes | |
|