if (FALSE) {
### Please choose another TokenPath to save the Login permanently.
#Get data from client accounts
my_ad_group <- yadirGetCampaign(Login = "login",
TokenPath = tempdir())
#Get data from agency account
# Auth
aut <- yadirAuth(Login = "agency_login",
NewUser = TRUE,
TokenPath = tempdir())
# Load Ad Group List
my_ad_group <- yadirGetCampaign(Login = "client_login",
Token = aut,
TokenPath = tempdir())
}
Run the code above in your browser using DataLab