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,
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())
}
Run the code above in your browser using DataLab