Description Usage Arguments Value Author(s) Examples
View source: R/yadirGetBalance.R
yadirGetBalance get data frame with information about you account.
1 2 3 4 | yadirGetBalance(Logins = NULL,
Token = NULL,
AgencyAccount = NULL,
TokenPath = getwd())
|
Logins |
character vector, your logins at Yandex Direct, require |
Token |
character, your Yandex Direct API Token, require |
AgencyAccount |
Your agency account login, if you get statistic from client account |
TokenPath |
Path to directory where you save credential data |
data frame with campaings names and parameters
Alexey Seleznev
1 2 3 4 5 6 7 8 9 10 | #For get accounts from client account use
my_balance <- yadirGetBalance(Logins = "vasya", Token = "abcdef123456")
#For get accounts from agancy account use
library(ryandexdirect)
aut <- yadirAuth(Login = "agency_login", NewUser = TRUE, TokenPath = "token_yandex")
client <- yadirGetClientList(Token = aut)
client_balance <- yadirGetBalance(Logins = client$Login,
AgencyAccount = "agency_login",
Token = aut)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.