
Returns a search query statistics report from 'Wordstat'.
yadirGetWordStatReport(
Phrases,
GeoID = 0,
Login = getOption("ryandexdirect.user"),
Token = NULL,
AgencyAccount = getOption("ryandexdirect.agency_account"),
TokenPath = yadirTokenPath())
Data Frame
character vector with yandex direct campaign ID, require
character vectora, an array of key phrases for which you want to obtain statistics on search queries
integer, An array of region identifiers. Allows you to get statistics on search queries made only in the specified regions, see yadirGetDictionary
character, your Yandex Direct API Token, require
Your agency account login, if you get statistic from client account
Path to directory where you save credential data
Alexey Seleznev
if (FALSE) {
### Please choose another TokenPath to save the Login permanently.
# get wordstat report
wsrep <- yadirGetWordStatReport(
Phrases = 'samsung smartphone',
Login = "abekker.ru.2017")
wsrep[['SearchedAlso']]
wsrep[['SearchedWith']]
}
Run the code above in your browser using DataLab