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

Description Usage Arguments Value Author(s) Examples

View source: R/yadirGetClientParam.R

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

1
2
3
4
5
yadirGetClientParam(Language = "ru", 
                    Logins = getOption("ryandexdirect.user"), 
                    Token = NULL,
                    AgencyAccount = getOption("ryandexdirect.agency_account"),
                    TokenPath     = yadirTokenPath())

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

Value

data frame with campaings names and parameters

Author(s)

Alexey Seleznev

Examples

1
2
3
4
5
6
7
## Not run: 
### Please choose another TokenPath to save the Login permanently.
#Get client param from agency account
client_param <- yadirGetClientParam(AgencyAccount = "agency_login", 
                                    TokenPath     = tempdir())

## End(Not run)

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