Learn R Programming

ryandexdirect (version 3.6.2)

yadirGetClientParam: Get params list from 'Yandex Direct' agency clients

Description

Returns the parameters of the advertiser and the settings of the user - the representative of the advertiser or the parameters of the agency and the settings of the user - the representative of the agency.

Usage

yadirGetClientParam(Language = "ru", 
                    Logins = getOption("ryandexdirect.user"), 
                    Token = NULL,
                    AgencyAccount = getOption("ryandexdirect.agency_account"),
                    TokenPath     = yadirTokenPath())

Value

data frame with campaings names and parameters

Arguments

Logins

Character vector of yandex logins

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

Language

Answer language one of en, ru, tr, uk

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
### Please choose another TokenPath to save the Login permanently.
#Get client param from agency account
client_param <- yadirGetClientParam(AgencyAccount = "agency_login", 
                                    TokenPath     = tempdir())
}

Run the code above in your browser using DataLab