af_get_targeting_validation_rules: Get Targeting Validation Rules

Description Usage Arguments Value Author(s) See Also Examples

View source: R/af_get_targeting_validation_rules.R

Description

Get targeting validation rules from 'AppsFlyer'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
af_get_targeting_validation_rules(
  date_from              = Sys.Date() - 8,
  date_to                = Sys.Date() - 1,
  report_type            = c("invalid_installs_report",
                             "invalid_in_app_events_report"),
  additional_fields      = c("device_model",
                             "keyword_id",
                             "store_reinstall",
                             "deeplink_url",
                             "oaid",
                             "rejected_reason",
                             "rejected_reason_value",
                             "contributor1_match_type",
                             "contributor2_match_type",
                             "contributor3_match_type",
                             "match_type",
                             "device_category",
                             "gp_referrer",
                             "gp_click_time",
                             "gp_install_begin",
                             "amazon_aid",
                             "keyword_match_type",
                             "att",
                             "conversion_type",
                             "campaign_type",
                             "is_lat"),
  timezone               = "Europe/Moscow",
  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. One of: invalid_installs_report, invalid_in_app_events_report. For more details go to Integration > API access in AppsFlyer Web UI.

additional_fields

Character vector of report's additional fields.

timezone

Your timezone, for example Europe/Moscow.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
af_set_api_token("Your API token")

inv_data <- af_get_targeting_validation_rules(
    date_from   = "2021-03-01",
    date_to     = "2021-03-15",
    report_type = "invalid_installs_report",
    app_id      = "example.app.com"
)

## End(Not run)

rappsflyer documentation built on March 22, 2021, 5:06 p.m.