Customize Google Adsense - Premium Adsense for Contents Code


Some days ago, Adsense has changed their 'Ads by Goolle 'i' logo' into something nicer 'AdChoice'. Clicking that logo leads you to merchant friendly page. Seen as adsense now is an agent to get them (google) their new Adwords client. However, when it comes to the publisher, their adsense display is commonly known. And for most of all, the text/link ads looks outdated comparing with nowadays CSS3 and HTML5 technology. After a while of searching, I have found this code that long been privileged to only 1% of Adsense publishers.

Below is the full adsense code that you can customise. I'am not sure whether by using the code below violates their terms or not. Experimental purposes only:

<script language="JavaScript">
<!--
function google_ad_request_done(google_ads) {
var s = '';
var i;
if (google_ads.length == 0) {
return;
}
if (google_ads[0].type="text") {
if (google_ads.length == 1) {
s += '<td valign="top" align=center><a href="' + google_ads[0].url
+ '" class="arial26price">' +
'<b>' + google_ads[0].line1 + '</b></a>
<br> <span class="gray2_11">' +
google_ads[0].line2 + '&nbsp;' +
google_ads[0].line3 + '</span> : ' +
'<a href="' + google_ads[0].url + '" ' +
' class="gray2_11" >' +
google_ads[0].visible_url + '</a></td>';
} else if (google_ads.length > 1) {
for(i=0; i < google_ads.length; ++i) {
ggcls="blue_20 price_chart_google_top";
ggcls_1="gray2_11";
s += '<td valign="top" width="49%"><a href="' + google_ads[i].url
+ '" class="'+ggcls+'">' +
'<b>' + google_ads[i].line1 + '</
b></a><br>' +
'<span class="'+ggcls_1+'">'+
google_ads[i].line2 + '&nbsp;' +
google_ads[i].line3 +'&nbsp;<a
href="' + google_ads[i].url + '" class="'+ggcls_1+'">'+
google_ads[i].visible_url +'</a>'
+'</span></td>';
}
}
}
document.write(s);
return;
}
google_ad_client = 'pub-************';
google_ad_channel ="3882305749";
//google_targeting = 'site';
google_ad_output = 'js';
google_max_num_ads = '2';
google_ad_type = 'text';
google_encoding = 'utf8';
google_safe = 'high';
google_kw_type = 'broad';
google_contents = '';
google_ad_section = 'default';
// -->
</script>
<script language="JavaScript" src="http://
pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

PS: Since somebody who possibly play with the script/css/html code could be consired as kind of expert, telling about what to adjust and what need to be replaced is not necessary at all. You know what to do anyway.

Get It:
Combine Adsense and Chitika Ads Code for Better

Related products:

1 comment:

  1. I love reading an article that will make people think.
    Also, thank you for permitting me to comment!
    Also visit my weblog ... www kredit ohne schufa abfrage

    ReplyDelete