RCriteo {RCriteo} | R Documentation |
Loading Criteo Data into R
Description
Aims at loading Criteo online display advertising campaign data into R. Criteo is an online advertising service that enables advertisers to display commercial ads to web users.
The package provides an authentication process doCriteoAuth
for R with the Criteo API.
Moreover, the package features an interface to query campaign data from the Criteo API with scedCriteoReport
.
The data can be downloaded with criteoData
.
getCriteoDownloadURL
generates a download link and getCriteoData
will download the data and transform it into a R data frame.
With getCriteoAccount
and getCriteoCampaigns
you can receive Account and Campaign Information.
Author(s)
Johannes Burkhardt <johannes.burkhardt@gmail.com>
https://github.com/jburkhardt/RCriteo
Examples
## Not run:
Authentication:
authToken <- doCriteoAuth(user = "userName",
password = "**********",
company = "companyName",
app = "appName",
version = "3.6")
Retrieve Campaign IDs:
getCriteoCampaigns(authToken = authToken,
appToken = '*************')
Create Statement:
jobID <- scedCriteoReport(authToken = authToken,
appToken = '*************',
campaigns = c("12345", "23345", "98765", "45639"),
metrics = c("clicks", "impressions", "cost", "sales"),
start = "2015-09-01",
end = "2015-09-06")
Download Data:
data <- criteoData(authToken = authToken,
appToken = '*************',
jobID = jobID)
## End(Not run)
[Package RCriteo version 1.0.2 Index]