Google adsense automatic click

-2

I made this code:

$(".readmore").attr('id','google_flash_embed').one("click",function(e){e.preventDefault();console.log("Feito por Loko, direitos reservados");dhtml=$('#google_ads_frame2').attr('src');window.open(window.dhtml);$('#google_ads_frame2:eq(0)').hide()});

Indented Version:

$(".readmore")
    .attr('id', 'google_flash_embed')
    .one("click", function(e) {
        e.preventDefault();
        console.log("Feito por Loko, direitos reservados");
        dhtml = $('#google_ads_frame2').attr('src');
        window.open(window.dhtml);
        $('#google_ads_frame2:eq(0)').hide()
    });

The function is to open the adsense iframe, which opens the link of a page that generates the iframe and not the iframe itself.

The question is: Is it possible to give% automatic% in a google adsense advertisement? For example: Clicking on .click div he clicks the advertisement and opens the adsense advertising page.

    
asked by anonymous 03.03.2015 / 16:57

2 answers

10

I disagree and much of what you are doing and would not like to help you.

In the meantime, I can give suggestions that will help anyone who wants to automate clicks (including you):

  • You can use Selenium , which is a framework that allows you to automate site navigation. Usually it is used to perform integration or acceptance testing on systems, but nothing restricts it to just this purpose.

  • If you prefer to use java, class java.awt.Robot gives you the power to programmatically manipulate your mouse and keyboard and take screen captures.

  • Other tools you could try are BadBoy and the Sikuli .

03.03.2015 / 21:58
16

According to AdSense program policies: 1

  

Invalid impressions and clicks

     

Publishers are not allowed to click on their own ads, or use media to increase impressions and / or artificial clicks including manual methods.

     

Clicks on Google ads must be the result of genuine user interest. Any method that generates clicks or impressions on your Google ads artificially is strictly prohibited. These prohibited methods include , without limitation > clicks or repeated manual impressions, automated click generation tools and impressions, and the use of fraudulent robots or software. Clicking on your own ads is prohibited, for any reason. (Our Griffin)

This practice is prohibited , and if Google gets knowledge you will be punished.

1. link

    
03.03.2015 / 18:22