The following table describes the schema of a validation rule JSON.

Attribute

Value

Type

Name in AppsFlyer UI

name

String

N/A

description

String

N/A

event-type

  • install
  • in-app event

String

  • Installs
  • In-app events

app-ids

All app IDs for which which the rule is active

Array

Apps

status

  • enabled
  • disabled
  • deleted

String

Active (on/off)

action

  • block-event
  • block-candidate

String

Action
(Block install/Block attribution)

rule-type

  • blocking
  • allow-only

String

Considered
(Invalid/Valid)

cond-oper

  • and
  • or

String

N/A

cond-group-oper

  • and
  • or

String

N/A

population

{
"cond-oper": “and”,
"conds": Array<{
"attr": population attribute,
"oper": operator appropriate for the att type,
"values": Array
}>
}

Json

Sources

rule-conditions

{
"cond-group-oper": cond-group-oper,
"cond-groups": Array<{
"cond-oper": cond-oper,
"conds": Array<{
"attr": rule attribute,
"oper": operator appropriate for the att type,
"values": Array
}>
}>
}

Json

Conditions