# Per-category ads with official ad plugin

**URL:** <https://meta.discourse.org/t/per-category-ads-with-official-ad-plugin/96896>\
**Category:** Feature\
**Created:** [September 10, 2018, 9:53pm UTC](https://meta.discourse.org/t/per-category-ads-with-official-ad-plugin/96896 "2018-09-10T21:53:04Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [February 4, 2021, 2:52pm UTC](https://meta.discourse.org/t/per-category-ads-with-official-ad-plugin/96896/8 "2021-02-04T14:52:09Z")

</div>

The solution that I used was to create ads that were turned on and off with CSS. It’s a bit of a hack (in the sense that it’s inelegant) but it works well enough for the client that needs it.

I think I can imagine a plugin that solved this a bit more elegantly if you have a budget.

Do you need just one ad per category? Or do they need to rotate?

---

_[View the full topic](https://meta.discourse.org/t/per-category-ads-with-official-ad-plugin/96896)._
