# AdSense Auto ads

**URL:** https://meta.discourse.org/t/adsense-auto-ads/94104
**Category:** Support
**Tags:** advertising
**Created:** [August 7, 2018, 12:16pm UTC](https://meta.discourse.org/t/adsense-auto-ads/94104 "2018-08-07T12:16:36Z")
**Posts on this page:** 1
**Showing post:** 37

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [August 27, 2019, 1:18am UTC](https://meta.discourse.org/t/adsense-auto-ads/94104/37 "2019-08-27T01:18:32Z")

</div>

This guide is working for me:

> [@Add Google Auto Ads to Discourse via Google Tag Manager](https://meta.discourse.org/t/how-to-add-google-auto-ads-to-discourse-via-google-tag-manager/126308):
>
> I tried and found the way to add Google Auto Ads to Discourse via Google Tag Manager. Login to Google Tag Manager: [https://tagmanager.google.com/#/home](https://tagmanager.google.com/#/home), Choose Workspace Create a new user defined variable and call it asClientID Configure the variable as a Constant. The value to enter is your AdSense Client ID Click on Tags on the left side of the screen within your GTM workspace Create a new Tag called AS - Page view - ALL Tag Type: Custom HTML Copy this …

In every Ad Slots alway includes Adsense Client ID.

Or get client id via Auto Ads:

 ![23%20AM](https://global.discourse-cdn.com/meta/original/3X/2/5/25ec817b6b7359873b575de225cde550649677ff.png)

Hope to help you!

---

_[View the full topic](https://meta.discourse.org/t/adsense-auto-ads/94104)._
