# Missing code from Adsense?

**URL:** <https://meta.discourse.org/t/missing-code-from-adsense/54869>\
**Category:** Self-hosting\
**Created:** [December 28, 2016, 9:24am UTC](https://meta.discourse.org/t/missing-code-from-adsense/54869 "2016-12-28T09:24:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [December 28, 2016, 3:53pm UTC](https://meta.discourse.org/t/missing-code-from-adsense/54869/3 "2016-12-28T15:53:29Z")

</div>

Once you’ve created an ad unit, you can get its id from the ad units list:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/d/0df87bed766ce983a76355e1ac4bb4219fe3c6fc.png)

Also make sure the domain of the site where the ads will be shown is added in the “Allow & block ads” \> “Content” section.

---

_[View the full topic](https://meta.discourse.org/t/missing-code-from-adsense/54869)._
