Adsense Code Placement

Use this forum to ask questions about how to do things with my MediaWiki Extensions.

Adsense Code Placement

Postby natcolley » February 23rd, 2011, 6:08 pm

Dear Paul,

This is my first post. I recently got your adsense extension and just now got it to show ads. However, I had to do a lot of searching to find where to put the adsense code (as opposed to your extension code). Specifically, I found directions on Siteground's site for placing an ad at the bottom of the page, and sure enough, that's exactly where it shows. The problem is, I wanted it top center, not bottom center.

The sites that give correct, or at least understandable, instructions all seem to assume I have to put in different code for each ad format and placement. If I understand your extension, this is supposed to be a once for all deal, and I can have any ads show up anywhere I tell them through Google and your code.

So, two questions:
1. Am I right that your code is intended to allow placements anywhere on my site, as in once for all?

2. Since Mediawiki is dynamically generated, the idea of putting the code on every page is beyond ridiculous, but no one has put together a simple, step by step that I've been able to find. Where do you recommend placing the adsense code to achieve this result?

Thank you.
User avatar
natcolley
Rank 0
Rank 0
 
Posts: 2
Joined: February 23rd, 2011, 4:05 pm

Re: Adsense Code Placement

Postby Paul » February 23rd, 2011, 10:29 pm

Yes, my adsense can be placed anywhere in the page...

For your second question, I think the best way is to use extension or just put the ads code into skin will make the thing a lot simpler...
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense Code Placement

Postby natcolley » February 24th, 2011, 4:14 pm

Paul wrote:I think the best way is to use extension...


Hey Paul,
Did you mean put the adsense code from Google inside the code for your extension? If so, where, exactly? (if it matters).
thx
User avatar
natcolley
Rank 0
Rank 0
 
Posts: 2
Joined: February 23rd, 2011, 4:05 pm

Re: Adsense Code Placement

Postby Paul » February 24th, 2011, 10:49 pm

You need to make your own extension. Mine is used inside the article.
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense Code Placement

Postby RobertKimble » December 17th, 2011, 5:43 pm

plzzz tell me this topics
User avatar
RobertKimble
Rank 0
Rank 0
 
Posts: 1
Joined: December 1st, 2011, 2:15 pm

Re: Adsense Code Placement

Postby nht2007 » May 23rd, 2013, 10:34 pm

Can you tell me more details?
Am a newbie :(
User avatar
nht2007
Rank 0
Rank 0
 
Posts: 1
Joined: May 23rd, 2013, 10:28 pm


Return to MediaWiki Extensions 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron