View original article on our GitHub
If you know your user's gender or age, StartApp can use it to serve better-targeted ads which can increase your eCPM and revenue significantly.
Upon initialization, after providing your DevId and AppId, pass the SDKAdPreferences object with its data:
StartAppSDK.init(this, "Your App ID", new SDKAdPreferences() .setAge(35) .setGender(Gender.FEMALE)); }
setAgecan take an integer.
setGendercan take one of the following values: Gender.FEMALE or Gender.MALE.