Description Usage Arguments Value
This function generates the campaign report statement and schedules the report. The API returns a job ID, which later will be used to receive the data from the API.
1 | scedCriteoReport(authToken, appToken, campaigns, metrics, start, end)
|
authToken |
Authentication token generated by |
appToken |
Application Token |
campaigns |
Vector of campaign IDs. Example: campaigns = c('12345', '01235', '98765') |
metrics |
Vector of metrics. Example: metrics = c('clicks','impressions','cost','sales') available metrics: clicks, impressions, ctr, revcpc, ecpm, cost, sales, convRate, orderValue, salesPostView, convRatePostView, orderValuePostView, costOfSale, impressionWin, costPerOrder |
start |
Start Date, format: "YYYY-mm-dd" |
end |
End Date, format: "YYYY-mm-dd" |
Report job ID
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.