Skip to content

Targeting options

d.eshenko edited this page Jan 25, 2024 · 5 revisions

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 Age

Set user age. Limitation: 1-99 and 0 is 'unknown'.

CAS.MobileAds.targetingOptions.age = 12;

User Gender

Set user gender.

CAS.MobileAds.targetingOptions.gender = Gender.Male;

App Keywords

Set a list of keywords, interests, or intents related to your application. Words or phrases describe the current activity of the user for targeting purposes.

CAS.MobileAds.targetingOptions.SetKeywords(new[] { "words" });

App Content URL

Set the content URL for a website whose content matches the app's primary content. This website content is used for targeting and brand safety purposes. Limitation: max URL length 512.

CAS.MobileAds.targetingOptions.contentUrl = contentUrl;

🔗 Done! What’s Next?

Clone this wiki locally