View source: R/yadirGetKeyWords.R
yadirGetKeyWords | R Documentation |
Returns the parameters of key phrases or autotargets that match the specified criteria: the values of the placeholder variables, status and status, statistics of impressions and clicks, rates and priorities.
yadirGetKeyWords(CampaignIds = NULL, AdGroupIds = NA, Ids = NA, States
= c("OFF", "ON", "SUSPENDED"), WithStats = TRUE,
Login = getOption("ryandexdirect.user"), Token = NULL,
AgencyAccount = getOption("ryandexdirect.agency_account"),
TokenPath = yadirTokenPath())
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 |
WithStats |
logical, if TRUE then load stat by impressions and click but load process will be long durations |
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
## Not run:
# get data from agency account
### Please choose another TokenPath to save the Login permanently.
my_keywords <- yadirGetKeyWords(Login = "client_login",
AgencyAccount = "agency_login",
TokenPath = tempdir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.