Description Usage Arguments Value Author(s) Examples
yadirGetCampaignList get ads id and parameters from Yandex Direct account
1 2 3 4 5 6 7 8 |
CampaignIds |
character vector with yandex direct campaign ID, require |
AdGroupIds |
character vector with yandex direct adgroup ID |
Ids |
character vector with yandex direct ad ID |
States |
character vector with ad states |
Login |
character, your login at Yandex, 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 11 12 13 14 15 | #For get ads data frame
# Get ads from client account
library(ryandexdirect)
aut <- yadirAuth(Login = "login", NewUser = TRUE)
my_ads <- yadirGetAds(Login = "login",
Token = aut)
# Get data from agency account
library(ryandexdirect)
aut <- yadirAuth(Login = "agency_login", NewUser = TRUE)
my_ads <- yadirGetAds(Login = "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.