1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[METHOD] How I got my adsense revenue to jump 500 percent

Discussion in 'Black Hat SEO' started by bwar001, Jun 18, 2011.

  1. bwar001

    bwar001 Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    122
    Likes Received:
    75
    Occupation:
    Internet Marketing, Computers, SEO,Submission, Sof
    Location:
    USA
    I have learned a lot of tricks and methods while I have been a member of this great community. The time has come to give back to the community.

    I would like to share my method which has increased my adsense revenue by more than 500% in the last week.

    I have been displaying adsense ads on one of my forums which gets between 500 to 2000 hits on a daily basis. The people were coming there previously but were not clicking on the ads. After a lot of thinking and reading I discovered a simple piece of code which made this possible.

    This is a floating ad banner rather than a conventional sidebar/header banner. Just insert your google adsense code or any other advertising code that you wish to promote in the place where it is written !!CONTENT HERE!! .

    TIPS:

    This code uses an iframe for the ad and should ideally be inserted in the footer of the website. The trials I did with inserting the code in the header seemed to block the ad when scrolling through the body.

    The ad position can be adjusted by changing the X and Y coordinates.The target_x and target_y variables represent the desired distance from the top left corner of the menu to the window borders.
    Positive values mean distance from left and top border and negative - from right and bottom.


    Don't use more than -800 on the x axis as then the ad will not appear correctly on old monitors which have a 800x 600 resolution.

    Don't Panic seeing all the code. All you need to do is copy paste. ;-)

    Code:
    
    <div id="floatdiv" style="   
        position:absolute;   
        width:200px;height:50px;left:0px;top:0px;   
        padding:16px;background:#FFFFFF;   
        border:2px solid #2266AA">   
    [B]!!CONTENT HERE!!   [/B]
    </div> 
    
    
    
    <script type="text/javascript"><!--   
    var floatingMenuId = 'floatdiv';   
    var floatingMenu =   
    {   
        targetX: -250,   
        targetY: 10,   
      
        hasInner: typeof(window.innerWidth) == 'number',   
        hasElement: document.documentElement   
            && document.documentElement.clientWidth,   
      
        menu:   
            document.getElementById   
            ? document.getElementById(floatingMenuId)   
            : document.all   
              ? document.all[floatingMenuId]   
              : document.layers[floatingMenuId]   
    };   
      
    floatingMenu.move = function ()   
    {   
        if (document.layers)   
        {   
            floatingMenu.menu.left = floatingMenu.nextX;   
            floatingMenu.menu.top = floatingMenu.nextY;   
        }   
        else  
        {   
            floatingMenu.menu.style.left = floatingMenu.nextX + 'px';   
            floatingMenu.menu.style.top = floatingMenu.nextY + 'px';   
        }   
    }   
      
    floatingMenu.computeShifts = function ()   
    {   
        var de = document.documentElement;   
      
        floatingMenu.shiftX =   
            floatingMenu.hasInner   
            ? pageXOffset   
            : floatingMenu.hasElement   
              ? de.scrollLeft   
              : document.body.scrollLeft;   
        if (floatingMenu.targetX < 0)   
        {   
            if (floatingMenu.hasElement && floatingMenu.hasInner)   
            {   
                // Handle Opera 8 problems   
                floatingMenu.shiftX +=   
                    de.clientWidth > window.innerWidth   
                    ? window.innerWidth   
                    : de.clientWidth   
            }   
            else  
            {   
                floatingMenu.shiftX +=   
                    floatingMenu.hasElement   
                    ? de.clientWidth   
                    : floatingMenu.hasInner   
                      ? window.innerWidth   
                      : document.body.clientWidth;   
            }   
        }   
      
        floatingMenu.shiftY =    
            floatingMenu.hasInner   
            ? pageYOffset   
            : floatingMenu.hasElement   
              ? de.scrollTop   
              : document.body.scrollTop;   
        if (floatingMenu.targetY < 0)   
        {   
            if (floatingMenu.hasElement && floatingMenu.hasInner)   
            {   
                // Handle Opera 8 problems   
                floatingMenu.shiftY +=   
                    de.clientHeight > window.innerHeight   
                    ? window.innerHeight   
                    : de.clientHeight   
            }   
            else  
            {   
                floatingMenu.shiftY +=   
                    floatingMenu.hasElement   
                    ? document.documentElement.clientHeight   
                    : floatingMenu.hasInner   
                      ? window.innerHeight   
                      : document.body.clientHeight;   
            }   
        }   
    }   
      
    floatingMenu.doFloat = function()   
    {   
        var stepX, stepY;   
      
        floatingMenu.computeShifts();   
      
        stepX = (floatingMenu.shiftX +    
            floatingMenu.targetX - floatingMenu.nextX) * .07;   
        if (Math.abs(stepX) < .5)   
        {   
            stepX = floatingMenu.shiftX +   
                floatingMenu.targetX - floatingMenu.nextX;   
        }   
      
        stepY = (floatingMenu.shiftY +    
            floatingMenu.targetY - floatingMenu.nextY) * .07;   
        if (Math.abs(stepY) < .5)   
        {   
            stepY = floatingMenu.shiftY +    
                floatingMenu.targetY - floatingMenu.nextY;   
        }   
      
        if (Math.abs(stepX) > 0 ||   
            Math.abs(stepY) > 0)   
        {   
            floatingMenu.nextX += stepX;   
            floatingMenu.nextY += stepY;   
            floatingMenu.move();   
        }   
      
        setTimeout('floatingMenu.doFloat()', 20);   
    };   
      
    // addEvent designed by Aaron Moore   
    floatingMenu.addEvent = function(element, listener, handler)   
    {   
        if(typeof element
    [listener] != 'function' ||    
           typeof element
    [listener + '_num'] == 'undefined')   
        {   
            element
    [listener + '_num'] = 0;   
            if (typeof element
    [listener] == 'function')   
            {   
                element
    [listener + 0] = element
    [listener];   
                element
    [listener + '_num']++;   
            }   
            element
    [listener] = function(e)   
            {   
                var r = true;   
                e = (e) ? e : window.event;   
                for(var i = element
    [listener + '_num'] -1; i >= 0; i--)   
                {   
                    if(element
    [listener + i](e) == false)   
                        r = false;   
                }   
                return r;   
            }   
        }   
      
        //if handler is not already stored, assign it   
        for(var i = 0; i < element
    [listener + '_num']; i++)   
            if(element
    [listener + i] == handler)   
                return;   
        element
    [listener + element
    [listener + '_num']] = handler;   
        element
    [listener + '_num']++;   
    };   
      
    floatingMenu.init = function()   
    {   
        floatingMenu.initSecondary();   
        floatingMenu.doFloat();   
    };   
      
    // Some browsers init scrollbars only after   
    // full document load.   
    floatingMenu.initSecondary = function()   
    {   
        floatingMenu.computeShifts();   
        floatingMenu.nextX = floatingMenu.shiftX +   
            floatingMenu.targetX;   
        floatingMenu.nextY = floatingMenu.shiftY +   
            floatingMenu.targetY;   
        floatingMenu.move();   
    }   
      
    if (document.layers)   
        floatingMenu.addEvent(window, 'onload', floatingMenu.init);   
    else  
    {   
        floatingMenu.init();   
        floatingMenu.addEvent(window, 'onload',   
            floatingMenu.initSecondary);   
    }   
      
    //--></script>  
    
    
    
    
     
    • Thanks Thanks x 17
    Last edited: Jun 18, 2011
  2. virtualc08

    virtualc08 Supreme Member

    Joined:
    Mar 23, 2010
    Messages:
    1,380
    Likes Received:
    951
    Thanks for the code, Is this allowed according to Adsense TOS? And as far as I have understood. What this code does is it makes a floating banner on the bottom of your screen so no matter how much you scroll you can see a banner at the bottom right? Is that correct?
     
  3. bwar001

    bwar001 Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    122
    Likes Received:
    75
    Occupation:
    Internet Marketing, Computers, SEO,Submission, Sof
    Location:
    USA
    The floating banner will display anywhere on the screen and will scroll with you as long as you key in the correct x and y coordinates.

    I am not too sure about the Adsense TOS. Hope some of the senior members can elucidate us with regards to the same.

    You can see it in action here

    REMOVED WEBSITE. PM ME IF YOU WANT THE LINK.

    Thanks

     
    • Thanks Thanks x 1
    Last edited: Jun 18, 2011
  4. derago21

    derago21 Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 24, 2010
    Messages:
    2,373
    Likes Received:
    1,193
    Gender:
    Male
    Occupation:
    Backlinker
    Location:
    Your Brain
    Iframes are strictly Prohibited :) if your ready to lose your account, go ahead.
    Check TOS :) They have a updated one, which states it clearly :)

    Thanks for share... i will put it with other ad publishers :)
     
    • Thanks Thanks x 1
  5. bwar001

    bwar001 Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    122
    Likes Received:
    75
    Occupation:
    Internet Marketing, Computers, SEO,Submission, Sof
    Location:
    USA
    Hi !!

    Thanks for warning. I was just reading this Q and A on Adsense and it seems that it may be allowed . What do you think ??

    Thanks


    Code:
    http://www.google.com/adsense/support/bin/answer.py?hl=en&answer=105955
    What special ad implementations are permitted by your policies?

    Generally, altering the behavior or targeting of AdSense ad code is prohibited. However, publishers are permitted to use scripts which allow users to close the ad unit by clicking on a box. Also, to allow scrolling, publishers may place ads in a static frame while the primary content of the site is in a secondary frame.

    Some examples of unacceptable modifications include:

    Placing Google ads in a "floating box" in which ads scroll, hover, or expand over the webpage
    Adding irrelevant keywords (hidden or visible) to alter the targeting of the ads
    Using IFRAMEs with keywords to alter the content or language of the ads

     
  6. ishanguptaa

    ishanguptaa Jr. VIP Jr. VIP

    Joined:
    Nov 27, 2010
    Messages:
    280
    Likes Received:
    390
    Occupation:
    Internet marketer
    Location:
    ishanguptaa @ skype
    My account has been banned with similar act.. Google only allows fixed position ads.. nice share OP but please be careful..
     
  7. reallife

    reallife Jr. VIP Jr. VIP

    Joined:
    Apr 2, 2010
    Messages:
    2,184
    Likes Received:
    532
    Would seem pretty clear from that, that it's not allowed. Sorry about that :(
     
    • Thanks Thanks x 2
  8. 520am

    520am Regular Member

    Joined:
    Feb 28, 2010
    Messages:
    238
    Likes Received:
    188
    Location:
    kvn.
    Thanks OP, but would't risk it though.
    But you can still use the code for different offers like CPA or so.
     
  9. bwar001

    bwar001 Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    122
    Likes Received:
    75
    Occupation:
    Internet Marketing, Computers, SEO,Submission, Sof
    Location:
    USA
    I think we have a consensus here. I am pulling out my adsense for CPA. I don't think I should risk my adsense account in view of all the feedback

    I hope I should get as good results from CPA since some of them are paying upto 1.5 USD per click. Will post updates in a day or two as to how they perform.

    Thanks folks for your views , comments and suggestions. The code should work for all others as well so use it and let me know how you fare.

    Cheers

     
  10. new movies

    new movies BANNED BANNED

    Joined:
    Dec 26, 2010
    Messages:
    782
    Likes Received:
    145
    Yeah,Its clearly written but OP didnt read that.
    Thanks for mentioning.Otherwise i am just going into getting trouble with my adsense account.
     
  11. Nookie Monster

    Nookie Monster Senior Member

    Joined:
    Mar 28, 2010
    Messages:
    968
    Likes Received:
    463
    Location:
    USA
    Though it is risky for Adsense it would work nicely for other types of ads. Use your imagination with this.
     
  12. seoguy81

    seoguy81 Power Member

    Joined:
    May 18, 2011
    Messages:
    779
    Likes Received:
    163
    Occupation:
    Full time IM
    Location:
    My Desk
    This thread makes me ask if it is an acceptable practice to use adsense ads (rich text media only) within a website's entry pop up script?
     
  13. DaBlackHat

    DaBlackHat Junior Member

    Joined:
    Apr 24, 2009
    Messages:
    159
    Likes Received:
    10
    What about info links on this
     
  14. spasovski

    spasovski Regular Member

    Joined:
    Mar 21, 2011
    Messages:
    394
    Likes Received:
    240
    Occupation:
    Web designer and Internet marketeer.
    Google doesn't allow this. You may go with it on a low click rate. but on a bigger click rate the possibility to get your account banned dramatically increases.

    I would personally suggest putting the ads in the right positions. PM me your website/forum link I will suggest you some better positions and tricks maybe so you can improve your click rate without any risk of getting your account banned.
     
  15. bwar001

    bwar001 Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    122
    Likes Received:
    75
    Occupation:
    Internet Marketing, Computers, SEO,Submission, Sof
    Location:
    USA
    I think I have read somewhere that its not allowed for popups. Maybe some of the others can reconfirm the same.

     
  16. bwar001

    bwar001 Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    122
    Likes Received:
    75
    Occupation:
    Internet Marketing, Computers, SEO,Submission, Sof
    Location:
    USA
    I dont think any of the other CPC offers have any such restrictions . You can put whatever you feel like in the floating box or resize the box to suit your needs.

    Resizing can be done by changing the values width:200px;height:50px

     
  17. bwar001

    bwar001 Junior Member

    Joined:
    Oct 26, 2010
    Messages:
    122
    Likes Received:
    75
    Occupation:
    Internet Marketing, Computers, SEO,Submission, Sof
    Location:
    USA
    You are probably right. My account may not have come under the scanner since I was using this for only a week. I hope to get as good or better results using this code with other cpc offers. I am pm 'ing you my forum details for your suggestions.

    Many thanks.

     
  18. genotip

    genotip Regular Member

    Joined:
    Aug 24, 2010
    Messages:
    256
    Likes Received:
    26
    this is against Adsense TOS. i also done it for month + but after that i got msg from them (on the adsense account) that this domain is banned for now, till it will be removed.

    so yes - it's working. but no - it's not good idea to use it.
     
  19. walandio

    walandio Senior Member

    Joined:
    Jun 27, 2008
    Messages:
    1,198
    Likes Received:
    684
    Location:
    Pilipinas
    this is good method.. I might try this soon.. thanks!
     
  20. samlim

    samlim Junior Member

    Joined:
    Jun 7, 2011
    Messages:
    153
    Likes Received:
    15
    Thanks for the code
    Dont think i will risk adsense for this but a CPA offer would be cool to use