Targeting options
You can now easily tailor the way you serve your ads to fit a specific audience! You’ll need to inform our servers of the users’ details so the SDK will know to serve ads according to the segment the user belongs to.
User Gender
Set targeting to user’s gender. Limitation: unknown, male, female.
CASMobileAds.setUserGender(Gender.MALE);
User Location auto collection
Collect from the device the latitude and longitude coordinated truncated to the hundredths decimal place.
- Collect only if your application already has the relevant end-user permissions.
- Does not collect if the target audience is children.
- Disabled by default.
CASMobileAds.setLocationCollectionEnabled(true);