yadirGetDictionary: Get Dictionary from 'Yandex Direct'

View source: R/yadirGetDictionary.R

yadirGetDictionaryR Documentation

Get Dictionary from 'Yandex Direct'

Description

Returns reference data: regions, time zones, exchange rates, list of metro stations, restrictions on parameter values, external networks (SSP), Crypt segments for targeting by user profile, etc.

Usage

yadirGetDictionary(DictionaryName = "GeoRegions", 
                   Language      = "ru", 
                   Login         = getOption("ryandexdirect.user"),
                   Token         = NULL,
                   AgencyAccount = getOption("ryandexdirect.agency_account"),
                   TokenPath     = yadirTokenPath())

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

Value

Data Frame

Author(s)

Alexey Seleznev

References

For more details go link

Examples

## Not run: 
### Please choose another TokenPath to save the Login permanently.
geo <- yadirGetDictionary(Login = "login", 
                          DictionaryName = "GeoRegions",
                          TokenPath = tempdir())

## End(Not run)

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