Google Adsense automatic click

Asked

Viewed 2,813 times

-2

I made that 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()
    });

Its function is to open the iframe of Adsense, and it opens the link of a page that generates the iframe and not the iframe itself.

The question is, can you give a .click automatic in a google Adsense advertisement? For example: By clicking on div #teste it click on the advertisement and open the Adsense advertising page.

  • 4

    I don’t know if there’s a way, but you know this is against Google policy, right?

  • 7

    If you do this your Adsense account will be banned (and your CPF).

  • 4

    Question being discussed at meta http://meta.pt.stackoverflow.com/questions/25/questions-posedas fraudar-systems

  • 1

    Considering what is being discussed in the goal, that perhaps the question was misinterpreted, I edited it and removed my vote against.

  • 1

    I know I’ll be punished, I just want to know how to do.

  • @lucaslira Your question seems to have been misinterpreted... Try to be clearer in your question. What you really want to do?

Show 1 more comment

2 answers

16

According to the Policies of the Google Adsense program: 1

Invalid impressions and clicks

Is not allowed the editors click on their own ads or use means to increase the impressions and/or clicks artificially, including manual methods.

Clicks on Google ads need to be the result of genuine user interest. Any method that generates clicks or prints in your Google ads artificially is strictly prohibited. Those prohibited methods include, unrestricted, clicks or repeated hand prints, automated click generation tools and the use of robots or fraudulent software. Clicking on your own ads is prohibited, whatever the reason. (Emphasis our)

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

1. https://support.google.com/adsense/answer/48182?hl=pt-BR

  • 12

    I flagged it as "this is not an answer". Because it is not, it is a comment that does not answer the question.

  • 3

    This response was flagged as "non-response" but at the same time voted as good response by many community members. So it was discussed by the moderators and we came to the unanimous conclusion that in this particular question this answer is a valid answer, so we decided to keep it.

11


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

However, I can give suggestions to those who want to automate clicks (including you):

  • You can use the Selenium, which is a framework that allows you to automate browsing on websites. It is usually used to perform integration or acceptance tests on systems, but nothing restricts it to this purpose alone.

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

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

  • His reply made me reread the question again and raised doubts about the interpretation of the text of the AP... I am with a goal answer.

  • 6

    +1 for responding to what was asked. Less and less I enter this site, of so much hypocrisy. For the same reason I never enter the official chat. /Rant

  • 1

    Are you right @Bacco... https://webchat.freenode.net/? Channels=Soptmesadebar

Browser other questions tagged

You are not signed in. Login or sign up in order to post.