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

View source: R/yadirGetClientParam.R

yadirGetClientParamR Documentation

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())

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

## 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)

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