MyBB Community Forums
[How To?] Insert ADS on my forum? Adsense and general ads - 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: [How To?] Insert ADS on my forum? Adsense and general ads (/thread-206314.html)



Insert ADS on my forum? Adsense and general ads - ajp101 - 11-30-2016

hello,


I am using the same forum version as this website. I have the latest version installed and what not.

Anyways, i do have access to a Youtube account so i have ADSENSE already running. However, i do not know where to insert the ADSENSE code in the forum on my website. Can you help me?

also, i see a few Ad plugins but i do not know if they are official or not. Can someone help me with this?  how do i install the ad plug in.

also, what are some other tips when it comes to ad?


* my site is decent now. it is basic like this forum. i have quite bit of vistors, i been offering free service for a while now and i want to make money through ads *


RE: Insert ADS on my forum? Adsense and general ads - Lunorian - 11-30-2016

Most plugins are not official, rather they are developed by users who care about the MyBB community of forum owners, that being said some plugins might be developed by MyBB staff. As for your adsense idea, depending on the type of advertisements (I.e. the size) the "header" template towards the bottom of the template could be a good idea. I can't make promises on how much money you will earn but good luck with the adsense idea and let us know if you need further support.


RE: Insert ADS on my forum? Adsense and general ads - johnnyvang - 11-30-2016

I am using https://community.mybb.com/mods.php?action=view&pid=39
Great plugin ( works with 1.8.8 ) and is easy to use.
Add ads ( normal ads or adsense ) in postbit, header and footer.


RE: Insert ADS on my forum? Adsense and general ads - Lunorian - 11-30-2016

(11-30-2016, 09:58 PM)johnnyvang Wrote: I am using https://community.mybb.com/mods.php?action=view&pid=39
Great plugin ( works with 1.8.8 ) and is easy to use.
Add ads ( normal ads or adsense ) in postbit, header and footer.

Admanager plugins help newer forum owners who might not understand HTML very well get started however I feel that they are a bad idea, they are one more form that accesses the database and could be potential security risk. I will always hold to that adding the code directly into the templates is the best solution. Whichever solution that ajp101 chooses to use I wish him the best of luck Smile


RE: Insert ADS on my forum? Adsense and general ads - ajp101 - 12-01-2016

(11-30-2016, 09:56 PM)Deatives Wrote: Most plugins are not official, rather they are developed by users who care about the MyBB community of forum owners, that being said some plugins might be developed by MyBB staff. As for your adsense idea, depending on the type of advertisements (I.e. the size) the "header" template towards the bottom of the template could be a good idea. I can't make promises on how much money you will earn but good luck with the adsense idea and let us know if you need further support.
Can you give me a example where to insert the "adsense" code in the header? I tried but it does not show up on the forum.

This the code for the header as of right now as it is untouched.
--------------------------------------------------------------------------------------------------------------------------
<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
            <div id="logo">
                <div class="wrapper">
                    <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
                    <ul class="menu top_links">
                        {$menu_portal}
                        {$menu_search}
                        {$menu_memberlist}
                        {$menu_calendar}
                        <li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
                    </ul>
                </div>
            </div>
            <div id="panel">
                <div class="upper">
                    <div class="wrapper">
                        {$quicksearch}
                        {$welcomeblock}
                    <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
                <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
            </div>
        </div>
        <div id="content">
            <div class="wrapper">
                {$pm_notice}
                {$bannedwarning}
                {$bbclosedwarning}
                {$unreadreports}
                {$pending_joinrequests}
                {$awaitingusers}
                <navigation>
                <br />
-------------------------------------------------------------------------------------------------------------------------------------------

This is my Google Adsense Code
--------------------------------------------------------------------------
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-MyPersonalGoogleNumber",
    enable_page_level_ads: true
  });
</script>
---------------------------------------------------------------------


(11-30-2016, 09:58 PM)johnnyvang Wrote: I am using https://community.mybb.com/mods.php?action=view&pid=39
Great plugin ( works with 1.8.8 ) and is easy to use.
Add ads ( normal ads or adsense ) in postbit, header and footer.
I was trying to use this plug in earlier but then I had to re install the forum software. I had to contact my hosting company. Is there a proper step by step instruction?

(11-30-2016, 10:05 PM)Deative Wrote: Admanager plugins help newer forum owners who might not understand HTML very well get started however I feel that they are a bad idea, they are one more form that accesses the database and could be potential security risk. I will always hold to that adding the code directly into the templates is the best solution. Whichever solution that ajp101 chooses to use I wish him the best of luck Smile
Essentially, i want the ad to appear on every page.

Also, it would be nice if there are multiple ads on one page. Having ads between posts would be ideal.

Security wise, I am not too afraid of having another plug in dealing with the 'database'


RE: Insert ADS on my forum? Adsense and general ads - Lunorian - 12-01-2016

(12-01-2016, 12:21 AM)ajp101 Wrote:
(11-30-2016, 09:56 PM)Deatives Wrote: Most plugins are not official, rather they are developed by users who care about the MyBB community of forum owners, that being said some plugins might be developed by MyBB staff. As for your adsense idea, depending on the type of advertisements (I.e. the size) the "header" template towards the bottom of the template could be a good idea. I can't make promises on how much money you will earn but good luck with the adsense idea and let us know if you need further support.
Can you give me a example where to insert the "adsense" code in the header? I tried but it does not show up on the forum.

This the code for the header as of right now as it is untouched.
--------------------------------------------------------------------------------------------------------------------------
<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
            <div id="logo">
                <div class="wrapper">
                    <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
                    <ul class="menu top_links">
                        {$menu_portal}
                        {$menu_search}
                        {$menu_memberlist}
                        {$menu_calendar}
                        <li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
                    </ul>
                </div>
            </div>
            <div id="panel">
                <div class="upper">
                    <div class="wrapper">
                        {$quicksearch}
                        {$welcomeblock}
                    <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
                <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
            </div>
        </div>
        <div id="content">
            <div class="wrapper">
                {$pm_notice}
                {$bannedwarning}
                {$bbclosedwarning}
                {$unreadreports}
                {$pending_joinrequests}
                {$awaitingusers}
                <navigation>
                <br />
-------------------------------------------------------------------------------------------------------------------------------------------

This is my Google Adsense Code
--------------------------------------------------------------------------
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-MyPersonalGoogleNumber",
    enable_page_level_ads: true
  });
</script>
---------------------------------------------------------------------


(11-30-2016, 09:58 PM)johnnyvang Wrote: I am using https://community.mybb.com/mods.php?action=view&pid=39
Great plugin ( works with 1.8.8 ) and is easy to use.
Add ads ( normal ads or adsense ) in postbit, header and footer.
I was trying to use this plug in earlier but then I had to re install the forum software. I had to contact my hosting company. Is there a proper step by step instruction?

(11-30-2016, 10:05 PM)Deative Wrote: Admanager plugins help newer forum owners who might not understand HTML very well get started however I feel that they are a bad idea, they are one more form that accesses the database and could be potential security risk. I will always hold to that adding the code directly into the templates is the best solution. Whichever solution that ajp101 chooses to use I wish him the best of luck Smile
Essentially, i want the ad to appear on every page.

Also, it would be nice if there are multiple ads on one page. Having ads between posts would be ideal.

Security wise, I am not too afraid of having another plug in dealing with the 'database'

Hi there and thank you for your reply. I actually have a little bit of experience with Google Adsense and am able to help resolve your issue. So there are a few things:

1) If you are utilizing Google Adsense it's against their policies to have more than three ad units per web page. Therefore the ways I've looked into adding an advertisement between posts (this is with direct template edits, plugins are different as they have access to php) would cause an advertisement to display under every post. This creates an issue policy wise after a thread has two replies. It's not an optimal solution and could cause you issues later down the road. I just wanted to give you a heads up on this to avoid you from getting your adsense account terminated and losing all income.

2) Running one advertisement in the header would be the best solution. It gets displayed once on every page at the top. It'll get a lot of exposure and is in a good spot.
[Image: apsykf.png]
That's the result of placeing all of your advert unit at the bottom of the template "header"
[Image: uxmmpq.png]
As shown at the bottom I would insert my advertisement's code and then I would ad the extra br tag to keep things evenly spaced.

3) When I made my comments about security I was moreso saying that to encourage the usage of the template editor. Advertisement managers end up insert code or variables into the templates anyways so it's in my opinion better to add the code directly to remove the added risk all together.

4) You said adding the code to the header didn't work. Has your Adsense account been approved? Has it been approved for usage on non google-hosted platforms (I.e. your forum). Have you listed your forum as one of your websites in the Google Adsense manager.

5) Can you post a link to your website? I'd like to look at things further but I'll need to see the site directly.


RE: Insert ADS on my forum? Adsense and general ads - ajp101 - 12-03-2016

(12-01-2016, 01:49 AM)Deatives Wrote: Hi there and thank you for your reply. I actually have a little bit of experience with Google Adsense and am able to help resolve your issue. So there are a few things:

1) If you are utilizing Google Adsense it's against their policies to have more than three ad units per web page. Therefore the ways I've looked into adding an advertisement between posts (this is with direct template edits, plugins are different as they have access to php) would cause an advertisement to display under every post. This creates an issue policy wise after a thread has two replies. It's not an optimal solution and could cause you issues later down the road. I just wanted to give you a heads up on this to avoid you from getting your adsense account terminated and losing all income.

2) Running one advertisement in the header would be the best solution. It gets displayed once on every page at the top. It'll get a lot of exposure and is in a good spot.
[Image: apsykf.png]
That's the result of placeing all of your advert unit at the bottom of the template "header"
[Image: uxmmpq.png]
As shown at the bottom I would insert my advertisement's code and then I would ad the extra br tag to keep things evenly spaced.

3) When I made my comments about security I was moreso saying that to encourage the usage of the template editor. Advertisement managers end up insert code or variables into the templates anyways so it's in my opinion better to add the code directly to remove the added risk all together.

4) You said adding the code to the header didn't work. Has your Adsense account been approved? Has it been approved for usage on non google-hosted platforms (I.e. your forum). Have you listed your forum as one of your websites in the Google Adsense manager.

5) Can you post a link to your website? I'd like to look at things further but I'll need to see the site directly.

Yes, my adsense account has been approved by Google.
Yes, my website has been verified.

I added the code to the header just like what you posted but it does not work. I may have to contact my hosting company or use a plug in for advertisement.

The website is in your PM.

I appreciate the effort. You are so kind.


RE: Insert ADS on my forum? Adsense and general ads - Lunorian - 12-03-2016

(12-03-2016, 01:36 AM)ajp101 Wrote:
(12-01-2016, 01:49 AM)Deatives Wrote: Hi there and thank you for your reply. I actually have a little bit of experience with Google Adsense and am able to help resolve your issue. So there are a few things:

1) If you are utilizing Google Adsense it's against their policies to have more than three ad units per web page. Therefore the ways I've looked into adding an advertisement between posts (this is with direct template edits, plugins are different as they have access to php) would cause an advertisement to display under every post. This creates an issue policy wise after a thread has two replies. It's not an optimal solution and could cause you issues later down the road. I just wanted to give you a heads up on this to avoid you from getting your adsense account terminated and losing all income.

2) Running one advertisement in the header would be the best solution. It gets displayed once on every page at the top. It'll get a lot of exposure and is in a good spot.
[Image: apsykf.png]
That's the result of placeing all of your advert unit at the bottom of the template "header"
[Image: uxmmpq.png]
As shown at the bottom I would insert my advertisement's code and then I would ad the extra br tag to keep things evenly spaced.

3) When I made my comments about security I was moreso saying that to encourage the usage of the template editor. Advertisement managers end up insert code or variables into the templates anyways so it's in my opinion better to add the code directly to remove the added risk all together.

4) You said adding the code to the header didn't work. Has your Adsense account been approved? Has it been approved for usage on non google-hosted platforms (I.e. your forum). Have you listed your forum as one of your websites in the Google Adsense manager.

5) Can you post a link to your website? I'd like to look at things further but I'll need to see the site directly.

Yes, my adsense account has been approved by Google.
Yes, my website has been verified.

I added the code to the header just like what you posted but it does not work. I may have to contact my hosting company or use a plug in for advertisement.

The website is in your PM.

I appreciate the effort. You are so kind.

Your hosting company isn't going to edit your site for you as it's not an issue with your hosting. You could always use a plugin. Again not recommended, but it's an option Smile That being said you are actually supposed to post a link to your site when you make a support thread so the entire community is able to look into your issue not just a small group of people, but based on the content of your PM (private message) I can see why you thought it'd be smart to send a PM, sneaky speaking out which...

Also the website you sent me in a PM (http://desi-talk.com/) violates the MyBB Support Eligability Policy as it is heavily warez based. I also don't provide support over PMs.

Your website also violates Google Adsense Guidelines
Quote:AdSense publishers may not display Google ads on pages with content protected by copyright law unless they have the necessary legal rights to display that content. This includes pages that display copyrighted material, pages hosting copyrighted files, or pages that provide links driving traffic to pages that contain copyrighted material.

TL;DR: I can't assist you any further as your site is not allowed by the MyBB Community Forums, Google Adsense, or Common Laws & Ethics.



Community may see screenshot proofs of site content at:
* https://s3.amazonaws.com/deatives/december-2016/screencapture-community-mybb-private-php-1480730129720.png
* https://s3.amazonaws.com/deatives/december-2016/screencapture-desi-talk-1480730026339.png
* https://s3.amazonaws.com/deatives/december-2016/screencapture-desi-talk-showthread-php-1480730063570.png

Please be advised the last link has mildly adult content however it was necessary to fully prove the site's content.


Insert ADS on my forum? Adsense and general ads - Ben - 12-03-2016

Hi,

The MyBB Group offers support under the conditions of our Support Eligibility policy. It is apparent that one or more of your forums do not meet the conditions of our policy and therefore you are ineligible for support. This could be because of adult, piracy or hacking related content or because your forum does not display the minimum “Powered by MyBB” notice.

If you have any questions regarding this policy please post in the Private Inquiries forum.

Regards,
The MyBB Group.