Description Usage Arguments Details Value Author(s) Examples
Suspend impressions by campaings in 'Yandex Direct' account
1 2 |
Ids |
Integer or Character vector with Campaigns Ids, who will suspend 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 suspend impressions and return vector with Campaigns Ids with error.
Vector with campaigns ids which failed to suspend impressions
Alexey Seleznev
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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)
# Resume impressions
err <- yadirStopCampaigns(Login = "LOGIN", Token = tok, Ids = my_camp$Id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.