Description Usage Arguments Details Value Author(s) Examples
Resumes ad impressions previously stopped by the owner.
1 2 |
Ids |
Integer or Character vector with Ads 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 |
Function resume impressions and return vector with Ads Ids with error.
Vector with ads ids which failed to resume impressions
Alexey Seleznev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
### Please choose another TokenPath to save the Login permanently.
# Get API token
tok <- yadirGetToken(TokenPath = tempdir())
# Get ads dictionary
my_ads <- yadirGetAds(Login = "LOGIN",
Token = tok,
States = c("SUSPENDED","OFF"))
# Resume impressions
err <- yadirStartAds(Login = "LOGIN",
Token = tok,
Ids = my_ads$Id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.