GetForecast (Live)
Returns the generated forecast for impressions, clicks and expenses by its ID.
For information about using the report, see the section Подбор ставок.
New in the Live 4 version
Added the Currency output parameter.
Added the AuctionBids output parameter.
Input data
The input data structure in JSON is shown below.
{
"method": "GetForecast",
"param": (int)
}
The param
parameter specifies the ID that was obtained from the response to the CreateNewForecast (Live) method. You can also get the ID using the GetForecastList method.
Output data
The output data structure in JSON is shown below.
{
"data": {
/* GetForecastInfo */
"Phrases": [
{ /* BannerPhraseInfo */
"Phrase": (string),
"IsRubric": (string),
"Min": (float),
"Max": (float),
"PremiumMin": (float),
"PremiumMax": (float),
"Shows": (int),
"Clicks": (int),
"FirstPlaceClicks": (int),
"PremiumClicks": (int),
"CTR": (float),
"FirstPlaceCTR": (float),
"PremiumCTR": (float),
"Currency": (string),
"AuctionBids": [
{ /* PhraseAuctionBids */
"Position": (string),
"Bid": (float),
"Price": (float)
}
...
]
}
...
],
"Common": {
/* ForecastCommonInfo */
"Geo": (string),
"Min": (float),
"Max": (float),
"PremiumMin": (float)
"Shows": (int),
"Clicks": (int),
"FirstPlaceClicks": (int),
"PremiumClicks": (int),
}
}
}
Parameters are described below.
Parameter |
Description |
GetForecastInfo object |
|
|
Array of |
|
The |
BannerPhraseInfo object |
|
|
The keyword phrase that the forecast was generated for. |
|
Whether the keyword is a Yandex Catalog category. Always contains the value No. |
|
Weighted average CPC for the lower block at the time when the forecast was made. The value is converted to the currency specified in the |
|
Weighted average CPC for the top position in the lower block at the time when the forecast was made. The value is converted to the currency specified in the |
|
Weighted average CPC for Premium Placement at the time when the forecast was made. The value is converted to the currency specified in the |
|
Weighted average CPC for the top position in Premium Placement at the time when the forecast was made. The value is converted to the currency specified in the |
|
Possible number of impressions for this keyword over the past month. |
|
Possible number of clicks on an ad in the lower block (other than the top position) over the past month. |
|
Possible number of clicks on an ad in the top position in the lower block over the past month. |
|
Possible number of clicks on an ad in Premium Placement over the past month. |
|
CTR when displayed in the lower block, as a percentage. Calculated using the formula:
|
|
CTR when displayed in the top position in the lower block. Calculated using the formula:
|
|
CTR when displayed in Premium Placement. Calculated using the formula:
|
|
The currency that is used for CPCs and total expenditures in the report. Acceptable values: RUB, CHF, EUR, KZT, TRY, UAH, USD, BYN. |
|
Array of |
PhraseAuctionBids object |
|
|
Display position: P_mn_, where
For example, P12 is the second position in Premium Placement, and P21 is the top position in Guaranteed Placement. |
|
Minimum bid for the specified position (in the currency set in the The value is converted to the currency specified in the |
|
Actual CPC for the specified position (in the currency set in the The value is converted to the currency specified in the |
ForecastCommonInfo object |
|
|
List of regions shown when generating a report (CreateNewForecast (Live) method). |
|
Cost of clicks when displayed in the lower block (other than the top position) for all specified keywords combined (in the currency specified in the The value is converted to the currency specified in the |
|
Cost of clicks when displayed in the top position in the lower block for all specified keywords combined (in the currency specified in the The value is converted to the currency specified in the |
|
Cost of clicks when displayed in Premium Placement for all specified keywords combined (in the currency specified in the The value is converted to the currency specified in the |
|
Possible number of impressions for all keywords combined. |
|
Possible number of clicks in the lower block (other than the top position) for all specified keywords combined. |
|
Possible number of clicks in the top position in the lower block for all specified keywords combined. |
|
Possible number of clicks in Premium Placement for all specified keywords combined. |