# Ads only to registered users?

**URL:** <https://meta.discourse.org/t/ads-only-to-registered-users/144084>\
**Category:** Product Support\
**Tags:** advertising\
**Created:** [March 12, 2020, 4:50pm UTC](https://meta.discourse.org/t/ads-only-to-registered-users/144084 "2020-03-12T16:50:31Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)\
**Post date:** [March 25, 2020, 12:16pm UTC](https://meta.discourse.org/t/ads-only-to-registered-users/144084/9 "2020-03-25T12:16:48Z")

</div>

Discourse’s ad plugin is not about handling targeting but mostly about placing the ad units code into Discourse’s output. One may use something like DFP (Ad Manager) for the geo/etc targeting. I don’t think this plugin should handle the targeting bits.

It does already have a setting for not showing ads **above** a certain trust level. Our need (again, specific to our SSO setup) is sort of the reverse: to not display ads at all to guests as they have not given the consent.

I’m new to Ruby and Discourse’s codebase but will take a look at the code and see if I can figure something out. Hints appreciated.

---

_[View the full topic](https://meta.discourse.org/t/ads-only-to-registered-users/144084)._
