af_get_ad_revenue_raw_data {rappsflyer} | R Documentation |
Get Ad Revenue Raw Data
Description
Get ad revenue raw data from 'AppsFlyer Pull API'
Usage
af_get_ad_revenue_raw_data(
date_from = Sys.Date() - 8,
date_to = Sys.Date() - 1,
report_type = c("ad_revenue_raw"),
is_organic = FALSE,
additional_fields = c("device_model",
"keyword_id",
"store_reinstall",
"deeplink_url",
"oaid",
"ad_unit",
"segment",
"placement",
"monetization_network",
"impressions",
"mediation_network",
"is_lat"),
timezone = "Europe/Moscow",
retargeting = NULL,
maximum_rows = 1000000,
app_id = getOption("apps_flyer_app_id"),
api_token = getOption("apps_flyer_api_key"))
Arguments
date_from |
Reporting start date. |
date_to |
Reporting finish date. |
report_type |
Report type. now it's only ad_revenue_raw. |
is_organic |
If TRUE you get only organic data. |
additional_fields |
Character vector of report's additional fields. |
timezone |
Your timezone, for example Europe/Moscow. |
retargeting |
If TRUE you get retargeting data. |
maximum_rows |
Report rows limit. |
app_id |
Your app id from apps flyer. |
api_token |
Your AppsFlyer API token V1.0 for more details go link. |
Value
data.frame.
Author(s)
Alexey Seleznev
See Also
AppsFlyer Pull API documentation
Examples
## Not run:
af_set_api_token("Your API token")
ad_data <- af_get_ad_revenue_raw_data(
date_from = "2021-03-01",
date_to = "2021-03-15",
app_id = "id0001111"
)
## End(Not run)
[Package rappsflyer version 0.2.0 Index]