Skip to main content

Segments

Segments are employed to monitor metrics related to different user categories and to control advertisements targeted at these specific categories. A segment represents a portion of the audience distinguished by certain criteria, such as gender, age, or any other parameter recognized by the app and communicated to the Bidon SDK. Furthermore, specific ad management configurations can be implemented for each individual segment.

Segment ID

The segment ID is a unique identifier that is assigned to each users segment by server. This parameter is available after the very first SDK request.

Debug.Log($"Segment Id: {BidonSdk.Instance.Segment.Id}");

User Segmentation

Bidon SDK offers versatile user segmentation capabilities, allowing you to finely tailor your ad targeting strategies. With Bidon SDK, you can segment users based on various criteria, including age, gender, game level, in-app purchases, and even custom attributes defined by your specific needs. This granular segmentation empowers you to deliver highly personalized and relevant advertisements, enhancing the overall user experience and maximizing the effectiveness of your ad campaigns. Whether you want to engage specific age groups, cater to distinct genders, reward loyal in-app purchasers, or customize segments based on unique user attributes, Bidon SDK provides you with the tools to optimize your advertising efforts and drive better results.

BidonSdk.Instance.Segment.Age = 42;
BidonSdk.Instance.Segment.Gender = BidonUserGender.Male;
BidonSdk.Instance.Segment.Level = 11;
BidonSdk.Instance.Segment.TotalInAppsAmount = Double.MaxValue;
BidonSdk.Instance.Segment.IsPaying = true;

But you can also send custom attributes.

note

The value has to be one of the following types: bool, int, long, double, string.

Passing null as a value will remove existing KeyValuePair from dictionary.

BidonSdk.Instance.Segment.SetCustomAttribute("some_attr_key", "some_attr_value");