if (FALSE) {
### 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)
# Get keywords dictionary
my_kw <- yadirGetKeyWords(Login = "Login", Token = tok, CampaignIds = my_camp$Id[1:10])
# Resume impressions
err <- yadirStopKeyWords(Login = "LOGIN", Token = tok, Ids = my_kw$Id)
}
Run the code above in your browser using DataLab