MyBB Community Forums
Google ad sense help - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Google ad sense help (/thread-186168.html)



Google ad sense help - soundwave - 2015-11-08

i set it up and have put the code here but cant see the add. have i done this right?

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- test -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-9262807409421787"
data-ad-slot="1888044551"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

{$forums}
{$boardstats}
<div class="ima_frmiconlar">
<center>
<table style="width: 500px; border: 1px solid rgb(38, 38, 38); padding: 5px; box-shadow: 0pt 0pt 1em rgb(12, 12, 12) inset;" border="0" cellpadding="0" cellspacing="0">
<tbody style="color: rgb(255, 255, 255); font-family: &quot;Century Gothic&quot;,&quot;HelveticaNeueLT Pro 45 Lt&quot;,sans-serif; text-shadow: 0px 0px 1px rgb(255, 255, 255);">
<tr>
<td>
<center><span class="forum_status forum_on" title="{$lang->new_posts}"></span><br>
{$lang->new_posts}</center>

</td>

<td>
<center><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span><br>
{$lang->no_new_posts}</center>
</td>

<td>

<center><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span><br>
{$lang->forum_locked}</center>

</td>

<td>
<center><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span><br>
{$lang->forum_redirect} </center>

</td>
</tr>
</tbody>
</table>
</center>
</div>
<br class="clear" />
{$footer}
</body>
</html>


RE: Google ad sense help - Qiao - 2015-11-08

check your absence code in simple html page or any other site first, to be sure it is working

sometimes it is not working right after your created your code, it is written in adsense instruction as far as i remember

generally, you just copypast your code in template and it should work


RE: Google ad sense help - soundwave - 2015-11-08

hi

it is there if i inspect element as can see the box but its blank. i only opened the account last night ,could it be this?

if i remove the code the page goes back to normal so its doing something.

site

http://thcchat.com

[Image: 20151108_2236321.jpg]


RE: Google ad sense help - Qiao - 2015-11-09

https://support.google.com/adsense/answer/9715?hl=en