yadirStartKeyWords {ryandexdirect} | R Documentation |
Resume KeyWords
Description
Resumes impressions on previously stopped keyword phrases and auto-targeting.
Usage
yadirStartKeyWords(Login = getOption("ryandexdirect.user"), Ids = NULL,
Token = NULL,
AgencyAccount = getOption("ryandexdirect.agency_account"),
TokenPath = yadirTokenPath())
Arguments
Ids |
Integer or Character vector with KeyWords Ids, who will resume impressions |
Login |
Your Yandex Login |
AgencyAccount |
Your agency account login, if you get statistic from client account |
Token |
Your Yandex API Token |
TokenPath |
Path to directory where you save credential data |
Details
Function resume impressions and return vector with KeyWords Ids with error.
Value
Vector with keywords ids which failed to resume impressions
Author(s)
Alexey Seleznev
Examples
## Not run:
### Please choose another TokenPath to save the Login permanently.
# Get API token
tok <- yadirGetToken(TokenPath = tempdir())
# Get camp dictionary
my_camp <- yadirGetCampaignList(Login = "Login",
Token = tok,
TokenPath = tempdir())
# Get keywords dictionary
my_kw <- yadirGetKeyWords(Login = "Login", Token = tok,
CampaignIds = my_camp$Id[1:10],
TokenPath = tempdir())
# Resume impressions
err <- yadirStartKeyWords(Login = "LOGIN", Token = tok,
Ids = my_kw$Id,
TokenPath = tempdir())
## End(Not run)
[Package ryandexdirect version 3.6.2 Index]