Follow

Advanced Usage- Demographic - Targeted Ads

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));
}
  • setAge can take an integer.
  • setGender can take one of the following values: Gender.FEMALE or Gender.MALE.
Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request

Comments