How I increased my Adsense earnings by 50%

Discussion in 'AdSense' started by BurgerKing, Mar 21, 2007.

  1. #1
    This technique applies to everyone who has 2 or more Adsense blocks on a page (and who can stop at just one?).

    First up, not everyone knows that Google always serves up the highest paying ads to the first ad block it encounters in your

    site's HTML. This can mean that an Ad block that is getting all the clicks is worth .01 a click, while on the same page a block that is totally ignored has the big $$$s.

    But how to find out? Channels.

    Go to your Adsense account, and create a custom channel for each of the ads on your page. Call the channels '1st Ad', '2nd Ad' etc. Put the Adsense code on your site, making sure that the '1st Ad' channel ad block goes to the first ad in your page HTML, '2nd Ad' the 2nd spot in the HTML and so on. Now sit back for a few days.

    OK, you’ve got some stats to check so lets see which ad gets the most clicks. If the first Ad gets the most clicks, then you can stop right here. If not (as was my case), then we have some work to do.

    What we need to do is move the Adsense code around so that the Ad block with the greatest number of clicks is the first Adsense code in your site HTML. There are a few ways to do this, but I'm going to concentrate on 2.

    CSS Positioning
    If you use absolute positioning on your site, then moving the Adsense code around is trivial and I won't go into it here. 'Static' positioning (the default) is tougher and worth a short mention.

    Basically, I am going to use the negative margin trick (courtesy a list apart). This very simple example shows how to reverse the position of 2 elements.

    Here is the code:
    
    <div  style='float: left;width: 200px;margin-top:70px;border:3px green solid'>
    Block containing High CTR Adsense Ad, position this at the bottom
    </div>
    <div style='float: left;margin-left: -200px;width: 200px;border:3px red solid'>
    Block containing Low CTR Adsense Ad, position this at the top
    </div>
    
    Code (markup):
    And here is the result:
    [​IMG]

    Frames
    Sometimes you are stuck with a complicated layout, or a site that uses tables, so CSS positioning is not an option. For this, you can always use frames.

    Go to the first Ad in the HTML and copy the Adsense Code to a new text file. Make the code:

    <style>body {padding:0px;margin:0px} </style>
    -- Your Adsense Code --
    Code (markup):
    The style command is so that the Adsense ad is displayed nicely within the frame. Save the file as 'google_ad.htm'

    Go back to your site, delete the Adsense code for this ad and replace it with:
    <IFRAME style="WIDTH: 120px; HEIGHT: 240px" src="" id='google_adsense_iframe' frameBorder="0" DESIGNTIMESP="23032">
      </IFRAME>
    Code (markup):
    (of course, adjust the height & width to the proper size of your ad).

    Then at the bottom of the HTML for your site, add this:
    <script type="text/javascript">
    document.getElementById('google_adsense_iframe').src='google_ad.htm';
    </script>
    Code (markup):
    This last bit of javascript sets the source of the frame to your google ad, ensuring it is loaded after the first ad has been displayed. In fact, you might not even need this, and you could just set the src property in the frame & the 2nd ad would still be loaded first. That’s for another day of testing though, 'cause I'm using the method shown & it works for me.


    Straight away after making this change, a site that was making $40 a day went to $60 - not bad for a few hours work :)

    Note: This article is reprinted in full from my blog gathadams.com. Hope you find it useful.

    Cheers.
     
    BurgerKing, Mar 21, 2007 IP
    Adrián2 likes this.
  2. sysop

    sysop Peon

    Messages:
    590
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is't against Adsense TOS?
     
    sysop, Mar 21, 2007 IP
  3. xfiver

    xfiver Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm not sure this is allowed by the Adsense TOS. Have you contacted Adsense about this?
     
    xfiver, Mar 21, 2007 IP
  4. PoemofQuotes

    PoemofQuotes Peon

    Messages:
    637
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Of course this is allowed! You aren't changing the adsense code at all, just where they are placed on the page using simple CSS.
     
    PoemofQuotes, Mar 21, 2007 IP
  5. humanedited

    humanedited Peon

    Messages:
    747
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you put the adsense in frames, make sure there is other content in the frame or you'll just get PSA ads
     
    humanedited, Mar 21, 2007 IP
  6. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #6
    This is all allowed, and was even suggested to me by an Adsense rep when I met her in person.

    You are not allowed to alter the Adsense code in any way, and I'm not.

    Unless you are saying that earning more from Adsense is against the TOS? :D
     
    BurgerKing, Mar 21, 2007 IP
  7. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #7
    Humanedited: Adsense has altered the code so that it detects content from within frames better. I have no content within the frame & I don't have any problem with PSAs. As with everything, your own mileage may vary, so test-test-test.
     
    BurgerKing, Mar 21, 2007 IP
  8. Adpubster

    Adpubster Peon

    Messages:
    4,017
    Likes Received:
    153
    Best Answers:
    0
    Trophy Points:
    0
    #8
    This comes close to "altering the behavior or targeting of the ad" which is not okay. Definitely a gray area, but if this was truly suggested (in it's entirety) by google, then alright, I'd still be contacting them myself if I were to implement this.
     
    Adpubster, Mar 21, 2007 IP
  9. hmpargi

    hmpargi Active Member

    Messages:
    1,019
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    90
    #9
    woaa cooll tric if it is not agaisnt tos iam going to apply
     
    hmpargi, Mar 21, 2007 IP
  10. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #10
    no problem with tos here. It is just positioning of the units. Are you banned for placing the unit in the footer instead of header? :rolleyes: same thing here. It is just designing your page, nothing to do with the adsense code.
     
    enQuira, Mar 21, 2007 IP
  11. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #11
    From the Adsense Help
    https://www.google.com/adsense/support/bin/answer.py?answer=10542

    This would suggest that moving the ads around is ok.

    There is one thing I would like to clear up - I use & recommend this tip "in good faith". I'm sure someone can think up some variation which would be considered scammy for advertisers, but I think the exact usage presented here is ok.
     
    BurgerKing, Mar 21, 2007 IP
  12. pjk

    pjk Well-Known Member

    Messages:
    624
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #12
    I didn't realize this technique until now, thanks for sharing.
     
    pjk, Mar 21, 2007 IP
  13. emon3y

    emon3y Peon

    Messages:
    568
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #13
    thanks for this useful trick :) hope my adsense is up
     
    emon3y, Mar 21, 2007 IP
  14. indianscorpion29

    indianscorpion29 Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    my site is entirely designed in php.....will it work on my site...if its not so much trouble...can u please give me the implementation details...........and wats this iframe......i have never heard of it.....i just have google ads on my site......


    pls explain.....thank u very much.
     
    indianscorpion29, Mar 21, 2007 IP
  15. indianscorpion29

    indianscorpion29 Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    i am an amateur....pls expolain to me from my prrespective.....thank u.
     
    indianscorpion29, Mar 21, 2007 IP
  16. PEHW

    PEHW Peon

    Messages:
    247
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #16
    PEHW, Mar 22, 2007 IP
  17. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #17
    PEHW - The most important thing I would think for your site is to fix how it looks in IE

    [​IMG]

    when I went to your site using IE6 I couldn't even see your search box.

    As for implementing this tip - you only have one Adsense Adblock (I don't think link units count) so you are already getting the max amount.
     
    BurgerKing, Mar 22, 2007 IP
  18. FanAddict

    FanAddict Notable Member

    Messages:
    7,017
    Likes Received:
    376
    Best Answers:
    0
    Trophy Points:
    230
    #18
    How can I do this in PHP pages?

    I'll give it a shot, and let you know how it turns out ;)
     
    FanAddict, Mar 22, 2007 IP
  19. PEHW

    PEHW Peon

    Messages:
    247
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #19
    I have 3 blocks:
    2 banners and one ad link under the search box. I will have to look into ie6 problem
     
    PEHW, Mar 22, 2007 IP
  20. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #20
    PEHW - You are absolutely right with the 2 ad blocks - sorry, I don't know how I missed it.

    Firstly, you need to find out which Adsense block gets most of your clicks - the top or the bottom one. I can see in your Adsense code that you are using the same channel for both blocks. Change one of them so you can test the results individually.

    If the top one gets most of the clicks, then you are done. If it is the bottom one, then use one of the techniques I go through in my first post to change the position of the adsense blocks on the page.
     
    BurgerKing, Mar 22, 2007 IP