Found Weird Custom Adsense Code on another Site?

Discussion in 'AdSense' started by trosquin, Apr 2, 2010.

  1. #1
    I found this site http://www.autoevolution.com/news/infiniti-ex30d-gt-photos-and-details-17417.html
    and i really liked the way their adsense is set up....so I was looking at the source code and saw this weird piece of code....

    <!-- custom adsense start -->
    <script type="text/javascript">
    function google_ad_request_done(google_ads)
    {
    if (google_ads.length > 0)
    {
    if(google_ads.length == 1){ cls1 = "celltext_bigad"; cls2="celltext_bigad"; height = "height=570"; padding = "<br/><br/><br/><br/><br/><br/>"; }
    else{ height = ""; padding = ""; cls1 = "celltext_big"; cls2 = "celltext"; }

    var adcode = '<h1 style="font-size: 120%;"><a rel="nofollow" href="'+google_info.feedback_url+'">Ads by Google</a></h1>';

    var ex_style = '';
    var margin_up = 10;
    if(google_ads.length == 1){ ex_style = 'font-size: 150%;'; margin_up = 85; }

    for(var i = 0; i < google_ads.length; ++i)
    {
    if (i < 6)
    {
    adcode += '<div style="width: 140px; margin: '+margin_up+'px 0 15px 10px; overflow: hidden; font-size: 110%; '+ex_style+'">'+
    '<a onmouseover="window.status=\'' + google_ads.visible_url + '\'; return true;" onmouseout="window.status=\'\'; return true;" href="' + google_ads.url + '"><b style="font-size:120%;color:#000000;">' + google_ads.line1 + '</b></a>' +
    '<br/>' + google_ads.line2+ ' ' + google_ads.line3 + '<br/>' +
    '<a onmouseover="window.status=\'' + google_ads.visible_url + '\'; return true;" onmouseout="window.status=\'\'; return true;" href="' + google_ads.url + '"><font color="#444444">'+google_ads.visible_url+'</font></a>'+padding+
    '</div>\n\n';
    }
    }
    }
    else
    {
    adcode = '';
    }

    if(document.getElementById("first_ad_unit")) document.getElementById("first_ad_unit").innerHTML += adcode;// + '<div class="leftcolsep" style="margin-left: 10px;">&nbsp;</div>';
    }

    google_ad_client = "pub-2364887827571271";
    google_hints = "auto, moto, truck, automotive, F1, WRC, BMW, Chevrolet, Peugeot, Ford, Volkswagen, Mercedes, Audi, Fiat, Honda, Volvo, Vauxhall, Toyota, Renault, logbook";
    google_ad_output = 'js';
    google_max_num_ads = '6';
    google_feedback = "on";
    google_ad_type = "text";
    google_color_line = "ff0000";
    //google_ad_channel = "1368523270";
    google_ad_channel = "0278960851";
    </script>
    <script type="text/javascript" language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
    <!-- custom adsense end -->

    what the heck is it and what the heck are Google hints and how do I use this on a wordpress blog?
     
    trosquin, Apr 2, 2010 IP
  2. Adpubster

    Adpubster Peon

    Messages:
    4,017
    Likes Received:
    153
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Premium Publisher, I suspect...thus they can do what they do, but don't do it yourself if you don't have permission.
     
    Adpubster, Apr 2, 2010 IP
  3. internetmarketingiq

    internetmarketingiq Well-Known Member

    Messages:
    3,552
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    165
    #3
    That site has a homepage PR of 6. They get traffic and Google recognizes this.

    Google has different programs for different vendor levels and areas of expertise.
     
    internetmarketingiq, Apr 2, 2010 IP
  4. monita

    monita Peon

    Messages:
    555
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I guess It's premium publisher.If You have a very good website then You can ask for premium publisher.
     
    monita, Apr 3, 2010 IP
  5. geekdout

    geekdout Guest

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Never knew there was such a thing as a premium publisher.
     
    geekdout, Apr 3, 2010 IP
  6. nipit007

    nipit007 Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #6
    How does one qualify as a premium publisher?
     
    nipit007, Apr 3, 2010 IP
  7. Nonny

    Nonny Notable Member

    Messages:
    2,093
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    210
    #7
    All you need is at least 20 million page views per month and a special invitation from Google.
     
    Nonny, Apr 5, 2010 IP