11-08-2017, 11:25 AM
This tutorial will tell you how to add google adsense in MyBB, this tutorial can help you add adsense ads in any MyBB theme.
I am using Focus Responsive MyBB theme, you can use any theme you want.
I am using footer area as an example. Suppose the adsense code is below :-
To do this, go to the footer template in the admin Panel
https://support.google.com/adsense/answer/181960?hl=en
Regards
WallBB
I am using Focus Responsive MyBB theme, you can use any theme you want.
I am using footer area as an example. Suppose the adsense code is below :-
Code:
<div align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Homepage Leaderboard -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1234567820123456"
data-ad-slot="1234567890"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
- Go to Admin CP > Templates and Styles > Template Sets » FocusResponsive Templates » footer
- Edit the template, and find <debugstuff>
- Below this add, the above adsense code(Use your adsense code)
- Save the template and adsense will be installed on your website.
https://support.google.com/adsense/answer/181960?hl=en
Regards
WallBB