Skip to main content
All CollectionsPlacements
Placements Filters
Placements Filters

Enabling Condition for placements

Anastasia Kalugina avatar
Written by Anastasia Kalugina
Updated over 4 months ago

The following enabling conditions can be applied to placements:

Device Type - allows to group users by device type (phone or tablet)

App Version - allows to group users by specific app version

Bought In-Apps - allows to group users by the fact of purchasing in-apps

In-Apps amount - allows to group users by the number of completed purchases

OS Version - allows to group users by their device OS version

SDK Version - allows to group users by the Appodeal SDK version they use.

Manual Filters

Boolean Filter - allows to group users based on logical values, such as "true" or "false." For example, if you want to filter users who have completed a specific action (e.g., made a purchase), you can create a filter with a Boolean value true for users who have made a purchase and false for those who haven't.

String Filter - allows to group users based on text data. You specify a string parameter, and users whose value matches this parameter are included in the relevant segment. For example, you could create a segment for users from a specific city by passing the city's name as a string to the filter.

Numeric Filter - allows to group users based on numerical values. For instance, if you want to target users above a certain age, you can create a numeric filter by passing the age value, and all users meeting this criterion will be included in the segment.

How Filters Work:

Manual Filters allow you to group users by any available characteristic. For example, if you know the sources that directed users to your app and want to track statistics for those users, you can group them into a segment.

To create such a segment, you need to provide the SDK with the name of the criterion and a corresponding value for it. The value can be Boolean, numeric, or string-based.

Usage Examples:

For Android:

- Java: Appodeal.setCustomFilter(name, value);

- Kotlin: Appodeal.setCustomFilter(name, value);

For iOS:

- Swift: Appodeal.setCustomState(["some key" : "some value"])

- Objective-C: [Appodeal setCustomState:@{@"some key": @"some value"}];

For Unity:

- UPM: Appodeal.SetCustomFilter("SOME_KEY", "SOME_VALUE");

- Manual: Appodeal.setCustomFilter(name, value);

Did this answer your question?