# Running your own advertisements in discourse

**URL:** https://meta.discourse.org/t/running-your-own-advertisements-in-discourse/361620
**Category:** Support
**Created:** [April 13, 2025, 7:11am UTC](https://meta.discourse.org/t/running-your-own-advertisements-in-discourse/361620 "2025-04-13T07:11:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![becl](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@becl](https://meta.discourse.org/u/becl)
#### Post date: [April 13, 2025, 7:11am UTC](https://meta.discourse.org/t/running-your-own-advertisements-in-discourse/361620/1 "2025-04-13T07:11:26Z")

</div>

I have installed the Advertising plugin but realised it only allows you to run ads like google ads. I want to run ads in my forum but I want them to be ads that I create myself and charge a client for the advertising space.

I am not sure how I could go about this. I would want to run ads on the main dashboard and also in certain categories. The ads would all be different in the different categories.

Any help or suggestions would be greatly appreciated.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [April 13, 2025, 7:37am UTC](https://meta.discourse.org/t/running-your-own-advertisements-in-discourse/361620/3 "2025-04-13T07:37:46Z")

</div>

You actually can do this with the Advertissing plugin. It’s called House Ads:

> [@House Ad Templates](https://meta.discourse.org/t/house-ad-templates/122004/1):
>
> 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…

---

<div class="post-metadata">

### Author: ![becl](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@becl](https://meta.discourse.org/u/becl)
#### Post date: [April 14, 2025, 1:11am UTC](https://meta.discourse.org/t/running-your-own-advertisements-in-discourse/361620/4 "2025-04-14T01:11:29Z")

</div>

Thank you very much. I have just started playing around with it this morning.

Do you happen to know how I can get the file path for my uploaded images, to put in the HTML. I can’t work out how to find the path for it.

---

<div class="post-metadata">

### Author: ![becl](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@becl](https://meta.discourse.org/u/becl)
#### Post date: [April 14, 2025, 1:26am UTC](https://meta.discourse.org/t/running-your-own-advertisements-in-discourse/361620/5 "2025-04-14T01:26:55Z")

</div>

It’s ok I figured it out. Just click on the uploaded image in the component and it will open in a new window and I could cut and paste it from there. It is working! 🙂

Now I just need to figure out how to centre the image and get it to display different ads in different categories.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 14, 2025, 1:27am UTC](https://meta.discourse.org/t/running-your-own-advertisements-in-discourse/361620/6 "2025-05-14T01:27:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
