yadirGetWordStatReport: Get WordStat Report

View source: R/yadirGetWordStatReport.R

yadirGetWordStatReportR Documentation

Get WordStat Report

Description

Returns a search query statistics report from 'Wordstat'.

Usage

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

## 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)

selesnow/ryandexdirect documentation built on March 18, 2023, 12:57 a.m.