Description Usage Arguments Details Value Author(s) Examples
View source: R/yadirStartAds.R
yadirStartAds resume impressions by ads
1 2 3 | yadirStartAds(Login = NULL,
Ids = NULL,
Token = NULL)
|
Ids |
Integer or Character vector with Ads Ids, who will resume impressions |
Login |
Your Yandex Login |
Token |
Your Yandex API Token |
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 | #Get API token
tok <- yadirGetToken()
#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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.