Advertisement:

Author Topic: Google Automated Ads and SMF Forums  (Read 706 times)

Offline rhnegativeforum

  • Semi-Newbie
  • *
  • Posts: 30
    • Rh Negative Forum
Google Automated Ads and SMF Forums
« on: January 27, 2019, 06:42:13 PM »
Hi everyone!
I am running SMF on www.rhesusnegative.net/rhnegativeforum
Since I have activated Google Adsense Automated Adsense, I am wondering which is the simplest way and where to install my code to have it show up all over the forums.

P.S.: The content of the forum is hidden and visible to members only. Will that make a difference?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,186
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Google Automated Ads and SMF Forums
« Reply #1 on: January 27, 2019, 07:29:52 PM »
I like to do placements not auto ads since they don't appear everywhere.

Then use a mod like ad management mod to do the placements
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline drewactual

  • Full Member
  • ***
  • Posts: 584
    • College Football Fan Site CFB51
Re: Google Automated Ads and SMF Forums
« Reply #2 on: January 27, 2019, 08:45:13 PM »
just a warning:

Adsense will not like being on pages without a certain amount of content and will put you in the penalty box for doing so.  They also don't like being put in places inaccessible by the public, and will put you in the penalty box for that too. 


Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,161
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Google Automated Ads and SMF Forums
« Reply #3 on: January 27, 2019, 11:41:16 PM »
Actually, unless I am mistaken, adding adsense to a members only site is in violation of the AdSense rules directly, because in AdSense's point of view all ads will be on landing pages - and that is forbidden. This is at least how I have interpreted the rules for years now.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline drewactual

  • Full Member
  • ***
  • Posts: 584
    • College Football Fan Site CFB51
Re: Google Automated Ads and SMF Forums
« Reply #4 on: January 28, 2019, 12:06:52 AM »
It is in violation.
If his/her site was more than just a forum, ie with a lot of content and the forum blended in, he might not be in violation so long as the ads didnt show up on members only pages.  But, after looking at his site there isnt any way to pull it off and stay within the rules.

Offline rhnegativeforum

  • Semi-Newbie
  • *
  • Posts: 30
    • Rh Negative Forum
Re: Google Automated Ads and SMF Forums
« Reply #5 on: January 30, 2019, 07:20:48 AM »
Thank you to all of you for your replies. I was under the impression that with Automated Ads, I just add a code and Google decides where to place ads. No penalty risk. My question would be where to add that Google code to cover the entire forum. Within a month or two, I am going to make the main part of the forum public. So what I want to do is simply add the code so ads will start appearing where Google thinks they should be placed.

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Google Automated Ads and SMF Forums
« Reply #6 on: January 30, 2019, 07:28:49 AM »
If your forum is private as a guest, google can't access either to read your website so it can show relevant ads. Not sure if that's a violation but i've been fooled before.


Anyways, copy and paste the autoads code after the <head> tag in index.template.php file of your current theme.

For example:

<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: "ca-pub-****************",
          enable_page_level_ads: true
     });
</script>

Offline drewactual

  • Full Member
  • ***
  • Posts: 584
    • College Football Fan Site CFB51
Re: Google Automated Ads and SMF Forums
« Reply #7 on: January 30, 2019, 07:47:55 AM »
Thank you to all of you for your replies. I was under the impression that with Automated Ads, I just add a code and Google decides where to place ads. No penalty risk. My question would be where to add that Google code to cover the entire forum. Within a month or two, I am going to make the main part of the forum public. So what I want to do is simply add the code so ads will start appearing where Google thinks they should be placed.

if you want to put it there temporarily just to see how it looks/flows with the page you should be okay.. but if you put it in the forum and it isn't accessible by the public for any amount of time you may get kicked out of the program before you even get started (couple months). 

Offline rhnegativeforum

  • Semi-Newbie
  • *
  • Posts: 30
    • Rh Negative Forum
Re: Google Automated Ads and SMF Forums
« Reply #8 on: February 03, 2019, 09:40:10 AM »
I still don't understand why Google would add automated ads on a page they cannot read. I don't think they do that. I did however hear that there is a way to give Google a login/access to membership only pages.

I have decided that out of the two major sections on my forum, I will make one public, keep the other private. Is there a short tutorial somewhere to save me time figuring out how?

Offline rhnegativeforum

  • Semi-Newbie
  • *
  • Posts: 30
    • Rh Negative Forum
Re: Google Automated Ads and SMF Forums
« Reply #9 on: February 03, 2019, 11:05:45 AM »
If your forum is private as a guest, google can't access either to read your website so it can show relevant ads. Not sure if that's a violation but i've been fooled before.


Anyways, copy and paste the autoads code after the <head> tag in index.template.php file of your current theme.

For example:

<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: "ca-pub-****************",
          enable_page_level_ads: true
     });
</script>
Thank you, Mick.