powered by
Load data with total statics by campaigns in 'MyTarget'.
myTarGetTotalStats(date_from = Sys.Date() - 7, date_to = Sys.Date(),auth = NULL, token_path = getwd(), login = NULL)
Start date
End date
Auth R object
Your login, or client name in MyTarget account
Path to directory where you save credential data
Data frame with total statistic
https://target.my.com/doc/api/detailed/#resource_account_statistics
# NOT RUN { stat <- myTarGetTotalStats(date_to = "2016-08-02", date_to = "2016-08-10") # }
Run the code above in your browser using DataLab