Description Usage Arguments Value Author(s) See Also Examples
Get statistic data from 'AppsFlyer Master API'
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | af_get_data(
date_from = Sys.Date() - 8,
date_to = Sys.Date() - 1,
dimensions = c("app_id",
"pid",
"af_channel",
"c",
"af_c_id",
"geo"),
metrics = c("impressions",
"clicks",
"installs",
"sessions",
"loyal_users",
"cost",
"revenue",
"uninstalls"),
filters = NULL,
currency = NULL,
timezone = "Europe/Moscow",
app_id = getOption("apps_flyer_app_id"),
api_token = getOption("apps_flyer_api_key")
)
|
date_from |
Reporting start date. |
date_to |
Reporting finish date. |
dimensions |
Character vector. These dimensions are used for collecting the data into groups to allow easier and more accurate examination of the information.. For more details see docs. |
metrics |
KPIs are the metrics used for gaining an insight into the behavior of your app. For more details see docs. |
filters |
Data filter expression, for example |
currency |
Monetary values are in the app-specific currency. Example: |
timezone |
Time zone used is according to the app-specific timezone. Example: |
app_id |
Your app id from apps flyer. |
api_token |
Your AppsFlyer API token V1.0 for more details go link. |
data.frame.
Alexey Seleznev
Master API documentation Field dictionary
1 2 3 4 5 6 7 8 9 10 | ## Not run:
af_set_api_token("Your API token")
ad_data <- af_get_data(
date_from = "2021-03-01",
date_to = "2021-03-15",
app_id = "id0001111"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.