af_get_targeting_validation_rules {rappsflyer}R Documentation

Get Targeting Validation Rules

Description

Get targeting validation rules from 'AppsFlyer'

Usage

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

## 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)

[Package rappsflyer version 0.2.0 Index]