# House Ads in the official Ad Plugin

**URL:** <https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715>\
**Category:** Announcements\
**Tags:** advertising\
**Created:** [02.Май.2019 20:30:39 UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715 "2019-05-02T20:30:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [02.Май.2019 20:30:40 UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/1 "2019-05-02T20:30:40Z")

</div>

> ⚠ **IF YOU ARE RUNNING AN AD BLOCKER RIGHT NOW YOU WILL HAVE A _VERY BAD TIME_ TRYING TO SET THIS UP!** TURN IT OFF BEFORE PROCEEDING DOWN THIS PATH! You’ve been warned. 🐉
> 
> Also be aware of browsers with built-in ad-blocker functionality (eg. Brave)

I’ve been working on adding support for house ads in the ad plugin and would like some feedback about how you’d use it. Here’s a video to demonstrate how I have it working now:

You define a set of ads using html and the usual theme support, and then add them to the ad placements that are currently available. If the ads or placement settings are changed, clients pick up the changes immediately. Placements with more than one ad will cycle through them evenly in order, starting with a random one.

Right now, house ads will always show instead of other configured ad networks. I’m not sure what the rules here should be.

> 📢 Need help setting up the HTML for your ads? Check out the examples in the House Ads Templates collection!

> [@House Ad Templates](https://meta.discourse.org/t/house-ad-templates/122004):
>
> House Ad Templates This guide provides templates for creating house ads using the [Official Discourse Ad Plugin](https://meta.discourse.org/t/advertising-plugin-for-discourse-serve-ads-on-your-discourse-forum/33734). warning Important: Disable ad blockers (including those built in to browsers, e.g. Brave) before working with these ad customizations. Before You Start Create a “House Ads” [theme component](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) to store: CSS for your house ads [Uploaded images](https://meta.discourse.org/t/include-images-and-fonts-in-themes-and-components/62459) used in ads Add the component to all active themes where ads will appear Optimize images using [TinyPNG](https://tinypng.com) to reduce file size while maintain…

---

_[View the full topic](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715)._
