yadirGetDictionary: Get Dictionary from Yandex

Description Usage Arguments Details Value Author(s) Examples

View source: R/yadirGetDictionary.R

Description

yadirGetDictionary get Dictionaties from Yandex Direct API v.5.

Usage

1
2
3
4
5
6
yadirGetDictionary(DictionaryName = "GeoRegions", 
                               Language      = "ru", 
                               Login         = NULL,
                               Token         = NULL,
                               AgencyAccount = NULL,
                               TokenPath     = getwd())

Arguments

DictionaryName

character string with Dictionary name, one of Currencies, MetroStations, GeoRegions, TimeZones, Constants, AdCategories, OperationSystemVersions, ProductivityAssertions, SupplySidePlatforms, Interests

Language

Answer message lenguage, by default "ru", support one of en, ru, tr, uk

Login

Your Yandex Login

AgencyAccount

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

TokenPath

Path to directory where you save credential data

Token

character or list object, your Yandex API Token, you can get this by function yadirGetToken or yadirAuth

Details

For more details go https://tech.yandex.ru/direct/doc/ref-v5/dictionaries/get-docpage/

Value

data frame with campaings names and parameters

Author(s)

Alexey Seleznev

Examples

1
2
3
library(ryandexdirect)
geo <- yadirGetDictionary(Login     = "login", 
                          TokenPath = "token_yandex")

grkhr/ryandexdirect documentation built on Dec. 10, 2019, 2:28 p.m.