Adsence

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
johnj7l
Registered User
Posts: 164
Joined: Mon Nov 26, 2007 2:52 pm

Adsence

Post by johnj7l » Wed Dec 12, 2007 11:42 pm

Well Im sure it was asked and I did look but had seen nothing current just older topics on it.

How to install google adsence for the newest version here?

Superb
Registered User
Posts: 47
Joined: Tue Sep 25, 2007 2:49 am

Re: Adsence

Post by Superb » Thu Dec 13, 2007 12:37 am

I stuck mine in the overall_footer.html so it gets displayed in all the threads at the bottom. Of course, sign up on Google Adsense first.

edit: Not overall_footer.html, but: index_body.html , viewtopic_body.html and viewforum_body.html
Last edited by Superb on Thu Dec 13, 2007 3:54 am, edited 1 time in total.

User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 3352
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Adsence

Post by thecoalman » Thu Dec 13, 2007 12:55 am

Putting it in the footer is against the TOS for your adsense account and can get you banned from the program.

Instead place it in index_body.html , viewtopic_body.html and viewforum_body.html
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

User avatar
djp2
Registered User
Posts: 27
Joined: Wed Nov 15, 2006 2:02 am
Contact:

Re: Adsence

Post by djp2 » Thu Dec 13, 2007 1:31 am

I have read this a couple of times. Why is it against the TOS for Adsense ?

johnj7l
Registered User
Posts: 164
Joined: Mon Nov 26, 2007 2:52 pm

Re: Adsence

Post by johnj7l » Thu Dec 13, 2007 1:45 am

thecoalman wrote:Putting it in the footer is against the TOS for your adsense account and can get you banned from the program.

Instead place it in index_body.html , viewtopic_body.html and viewforum_body.html

I like how you placed yours in the top of your site, how did yo do that one?

Allso any one know how to make them show up vertical on say the right side of the forum?

dvduval
Registered User
Posts: 74
Joined: Sun Jul 28, 2002 4:57 am
Contact:

Re: Adsence

Post by dvduval » Thu Dec 13, 2007 2:24 am

I see lots of forums that have Adsense in the footer. I don't think this is a problem at all. I have had it in the footer on several of my sites for years.
PHP Link Directory - one of the best free link directory scripts available.

Flair
Registered User
Posts: 27
Joined: Wed Sep 05, 2007 12:42 am

Re: Adsence

Post by Flair » Thu Dec 13, 2007 2:47 am

dvduval wrote:I see lots of forums that have Adsense in the footer. I don't think this is a problem at all. I have had it in the footer on several of my sites for years.
Having it in the footer is fine, just not the overall footer..

If I remembered right, it's cause there's irrelevance of data that the googlebot crawls through, and returning irrelevant ads.

Superb
Registered User
Posts: 47
Joined: Tue Sep 25, 2007 2:49 am

Re: Adsence

Post by Superb » Thu Dec 13, 2007 3:50 am

thecoalman wrote:Putting it in the footer is against the TOS for your adsense account and can get you banned from the program.

Instead place it in index_body.html , viewtopic_body.html and viewforum_body.html
Thanks for the heads up. Updated my ads.
Flair wrote:Having it in the footer is fine, just not the overall footer..

If I remembered right, it's cause there's irrelevance of data that the googlebot crawls through, and returning irrelevant ads.
Makes sense. My ads were always the same irrelevant ads...

User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 3352
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Adsence

Post by thecoalman » Thu Dec 13, 2007 5:08 am

dvduval wrote:I see lots of forums that have Adsense in the footer. I don't think this is a problem at all. I have had it in the footer on several of my sites for years.
As mentioned you can't put it in overall_footer because that places it on every page, pages like search, or pages you have to be logged into view are not allowed in the TOS. If you get your Google ad account banned you'll never get it back. As for why your getting irrelevant ads that would only apply to pages Google can't crawl.

Basically ads should only be placed in content pages accessible by guests.
I like how you placed yours in the top of your site, how did yo do that one?

Allso any one know how to make them show up vertical on say the right side of the forum?
Mine is wrapped twice I have modified the CSS file to achieve the look you see and frankly it would take me quite a while to figure out exactly what it was I modified or I'd post it. Anyhow if you check the knowledge base there is tutorial on how to achieve a single wrap, there is mod or some other threads around for similar look.

For a vertical ad you would have to get the code from your adsense acccount.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

User avatar
Smokeydogg
Registered User
Posts: 240
Joined: Sat Dec 06, 2003 8:02 am
Contact:

Re: Adsence

Post by Smokeydogg » Thu Dec 13, 2007 11:38 am

so thats why my adsense got banned way back then i thought it was because my members were clicking the ads every single day but it was probably cause i had it in my footer

abhisek4u
Registered User
Posts: 11
Joined: Wed Dec 19, 2007 4:14 pm

Re: Adsence

Post by abhisek4u » Wed Dec 19, 2007 6:16 pm

CAn anybody please help me, i am not able to figure out whee exactly do i need to paste the adsense code in the "index_body.html"
it says to paste in the body, but i cant see any <body> </body>!!!
Please help it!

Superb
Registered User
Posts: 47
Joined: Tue Sep 25, 2007 2:49 am

Re: Adsence

Post by Superb » Wed Dec 19, 2007 6:49 pm

abhisek4u wrote:CAn anybody please help me, i am not able to figure out whee exactly do i need to paste the adsense code in the "index_body.html"
it says to paste in the body, but i cant see any <body> </body>!!!
Please help it!
I put mine at the very bottom, just before <!-- INCLUDE overall_footer.html -->

You can experiment and put it wherever you want, though.

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Adsence

Post by pentapenguin » Wed Dec 19, 2007 6:49 pm

Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

User avatar
ufopsi
Registered User
Posts: 314
Joined: Fri Nov 12, 2004 1:18 pm
Location: Switzerland
Contact:

Re: Adsence

Post by ufopsi » Thu Dec 20, 2007 7:06 am

I'm trying to add AdSense as well to the view forum page, yet nothing is showing. I did paste the code right after the indicated comment line.

Edit: purged the cache in the ACP - fixed the issue. :oops:

User avatar
PCGUY112887
Registered User
Posts: 499
Joined: Thu Apr 01, 2004 12:39 am
Location: Illinois
Contact:

Re: Adsence

Post by PCGUY112887 » Thu Dec 20, 2007 7:46 am

I hope you guys realize that phpBB uses adsense in their overall_footer :roll:

It's not every ad but some (that are adsense ads).

If you have forums that the adsense bot can't see, then just set up an account for Google to use and insert the info into adsense. Or just give bots rights to read all forums, however if someone simulates a bot then they can read all forums on your page.

As far as search pages and member lists... I really doubt your going to get banned for it considering just about EVERY forum that runs adsense has them on every page. Ya know all of those free forum hosts that put an ad in the header everywhere? Surely they would have been cut off a long time ago.

Locked

Return to “[3.0.x] Support Forum”