Description Usage Arguments Details Author(s) See Also Examples
Fetch data.
1 2 3 |
column |
Variables to retrieve, see details for valid values. Defaults
to |
group.by |
How to breakdown the data, see @details for valid values.
Defaults to |
action |
target node, currently only supports |
filter |
Defaults to |
start |
Start date (YYYY-MM-DD). Required. |
end |
End date (YYYY-MM-DD), defaults to |
The official documentation can be found here.
Valid values for column
:
impression
click
conversion
revenue
ctr
cpm
Valid values for group.by
:
age
gender
location
brand
ad
adset
campaign
videotype
John Coene jcoenep@gmail.com
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# authenticate
orionOAuth(client.id = 0000,
client.secret = "0x00000000x00x0x000xxx0000x0xx0")
# get daily campaign impressions and conversions for the past 7 days
dat <- getReport(column = c("impression", "conversion"),
group.by = c("datetime", "campaign"),
start = Sys.Date() - 7)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.