yadirGetDictionary: Get Dictionary from 'Yandex Direct'

Description Usage Arguments Value Author(s) References Examples

View source: R/yadirGetDictionary.R

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

1
2
3
4
5
6
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

1
2
3
4
5
6
7
## Not run: 
### Please choose another TokenPath to save the Login permanently.
geo <- yadirGetDictionary(Login = "login", 
                          DictionaryName = "GeoRegions",
                          TokenPath = tempdir())

## End(Not run)

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