Segments

Segments are used to track statistics for various user categories and to manage ads for this categories. A segment is a fraction of audience unified by restrictions: e.g. by gender, age or any other parameter known to the app and directed to Appodeal SDK. Additional ad management settings can be applied to each segment. Read more on segments in our FAQ.

Once user segments have been created, they can then be analyzed and used to configure ads.

To create new segment go here.

Manual Filters allows to group users by any available metric. E.g. you know the sources that directed users to your app and you want to track the statistics for such sources — create a segment for each source and mark each user with its source.

To create such a segment you have to give our SDK the name and value. Use Appodeal Set Segment Filter action with desired data type to do this. Value can be boolean, numeric or string-based.

If you have no segments all users will be matched to default segment.

If you have multiple segments, their order is important. Only the first segment in which rules are matched to the user will apply. All of the rest will be ignored.

C++

UE4 segment filters
UAppodealComponent::setSegmentFilter(FString Name, FString Value);
UAppodealComponent::setSegmentFilter(FString Name, bool Value);
UAppodealComponent::setSegmentFilter(FString Name, int Value);
UAppodealComponent::setSegmentFilter(FString Name, float Value);

Placements

Appodeal SDK allows you to tag each impression with different placement. Read more on placements in our FAQ.

Appodeal Show action contains string parameter to show  an ad with placement,. If it is not filled, SDK sends "default" placement name.

Appodeal Can Show Action contains string parameter for the specific placement use. If it is not filled, SDK sends "default" value.

You can configure your impression logic for each placement.

You can use "default" placement or create new in application settings.

If you have no placements, or call Appodeal.show with placement that do not exist, the impression will be tagged with 'default' placement and its settings will be applied.

C++

UE4 placements
bool UAppodealComponent::show(int types);
bool UAppodealComponent::show(int types, FString PlacementName);
bool UAppodealComponent::canShow(int types);
bool UAppodealComponent::canShow(int types, FString PlacementName);
FString UAppodealComponent::getRewardName();
FString UAppodealComponent::getRewardName(FString PlacementName);
float UAppodealComponent::getRewardAmount();
float UAppodealComponent::getRewardAmount(FString PlacementName);


Important!

Placement settings affect ONLY ad presentation, not loading or caching.