yadirGetForecast: Get Forecast

Description Usage Arguments Value Author(s) Examples

View source: R/yadirGetForecast.R

Description

Returns a forecast for cost, click and impression

Usage

1
2
3
4
5
6
7
8
9
yadirGetForecast(Phrases,
                 GeoID         = 0,
                 Currency      = "RUB",
                 AuctionBids   = "No",
                 Login         = getOption("ryandexdirect.user"),
                 Token         = NULL,
                 AgencyAccount = getOption("ryandexdirect.agency_account"),
                 TokenPath     = yadirTokenPath())
                        

Arguments

Phrases

character vector of key phrases for which you want to get a forecast, require

GeoID

character vectora, an array of key phrases for which you want to obtain statistics on search queries

Currency

The currency in which click prices and total costs in the report should be expressed. Possible values: RUB, CHF, EUR, KZT, TRY, UAH, USD, BYN.

AuctionBids

Whether to display trading results in the report (Yes / No)

Login

integer, An array of region identifiers. Allows you to get statistics on search queries made only in the specified regions, see yadirGetDictionary

Token

character, your Yandex Direct API Token, require

AgencyAccount

Your agency account login, if you get statistic from client account

TokenPath

Path to directory where you save credential data

Value

Data Frame

Author(s)

Alexey Seleznev

Examples

1
2
3
4
5
6
7
## Not run: 
# get forecast
forecast <- yadirGetForecast(c('buy smartphone -xiaomi', 
                               'buy samsung'),
                             Login = "selesnow")

## End(Not run)

ryandexdirect documentation built on July 1, 2020, 10:39 p.m.