yadirGetWordStatReport: Get WordStat Report

Description Usage Arguments Value Author(s) Examples

View source: R/yadirGetWordStatReport.R

Description

Returns a search query statistics report from 'Wordstat'.

Usage

1
2
3
4
5
6
7
yadirGetWordStatReport( 
                 Phrases,
                 GeoID         = 0,
                 Login         = getOption("ryandexdirect.user"),
                 Token         = NULL,
                 AgencyAccount = getOption("ryandexdirect.agency_account"),
                 TokenPath     = yadirTokenPath())

Arguments

Phrases

character vector with yandex direct campaign ID, require

GeoID

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

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
 8
 9
10
11
## Not run: 
### 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']]

## End(Not run)

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