“ADSENSE premium status like this Sample:
http://img188.imageshack.us/img188/5796/ads.gif
The tricks that this article say is using this 4 steps:
STEP 1.Remove all our Google adsense script and change to this script (ofcourse the pub number should be
replace with our
<script language=”JavaScript”>
<!–
// This script sets the attributes for requesting ads.
google_ad_client = “pub-xxxxxxxxxxxxxxxx”;
google_min_num_ads = 4;
google_max_num_ads = 6;
google_feedback = “on”;
google_ad_output = “js”;
google_ad_channel =”6632411210″;
google_ad_type = “text_image”;
google_image_size = “300×250″;
google_encoding = “utf8″;
–>
</script>
<script language=”JavaScript” src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
2.Step define the variable isA at the top of your webpage like this
var sA = ;
I am sorry I dont know the point of this step 2 ,if somebody can help me please add reply
step3;This method displays the ad results. It must be defined above the script that calls show_ads.js to
guarantee that it is defined when show_ads.js makes the call-back.
this is the script:”
function google_ad_request_done(google_ads) {
// Proceed only if we have ads to display!
if (google_ads.length < 1 )
return;
// Display ads in a table
sA += <table width=”300″ cellspacing=”1″ cellpadding=”0″ border=”0″ bgcolor=”#ffffff”>;
// Print “Ads By Google” — include link to Google feedback page if available
sA += <tr><td align=”right”> +
<div style=”text-align:left;font-size:12px”>;
if (google_info.feedback_url) {
sA += <a href=” + google_info.feedback_url + “><font style=”font-size:12px” face=”Arial” color=”#000000″>Ads
by Google</font></a> ;
} else {
sA += Ads by Google;
}
sA += </div><font style=”font-size:10px”><br></td></tr>;
var TopRand=Math.floor(Math.random() * 2);
// For text ads, display each ad in turn.
// In this example, each ad goes in a new row in the table.
if (google_ads[0].type == ext) {
for(i = 0; i < google_ads.length; ++i) {
var first_line=google_ads[i].line2.split(” “);
var new_f_l=;
for(l = 2; l < first_line.length; ++l) {
new_f_l += ” “+first_line[l];
}
if (i < 4 ){
if(TopRand <1){
sA += <tr><td bgcolor=”#ffffff” id=”taw1″ class=”ch” width=”" height=”" align=”left” valign=”top” onFocus=”ss
(go to + google_ads[i].visible_url +,aw1)” onMouseOver=”ss(go to + google_ads[i].visible_url +,aw1)”
onMouseOut=”cs()” onClick=”javascript:top.location.href= + google_ads[i].url + “><div style=”overflow:hidden;
width:580px; padding-left:2px”> +
<font style=”line-height:16px;font-size:16px;font-weight:bold;” face=”arial,sans-serif” color=”#000088″><a
id=”aw0″ onclick=”javascript:top.location.href= + google_ads[i].url + ” onmouseover=”window.status=go to +
google_ads[i].visible_url + ” onmouseout=”window.status=” style=”text-decoration:none”> +
<b><font style=”font-family:Arial,sans-serif;text-decoration:none;border-bottom:1px #009999 solid;
color:#009999;font-size:18px;font-weight:bold;”> + google_ads[i].line1 + </b></a></font></font><font
style=”line-height:3px;font-size:3px”><br><br></font> +
<font style=”font-size: 90%;text-decoration: none;color: #000000;font-size:small;font-family:Verdana,Arial;”
color=”#000000″>+<b>+first_line[0] + + first_line[1]+</b> + new_f_l + + google_ads[i].line3 +
<br></font> +
<font style=”line-height:14px;font-size:12px” face=”Verdana,Arial,sans-serif” color=”#999999″> + google_ads
[i].visible_url +
</font></div><font style=”font-size:10px”><br></div></td></tr>;
}else{
sA += <tr><td bgcolor=”#ffffff” id=”taw1″ class=”ch” width=”" height=”" align=”left” valign=”top” onFocus=”ss
(go to + google_ads[i].visible_url +,aw1)” onMouseOver=”ss(go to + google_ads[i].visible_url +,aw1)”
onMouseOut=”cs()” onClick=”javascript:top.location.href= + google_ads[i].url + “><div style=”overflow:hidden;
width:580px; padding-left:2px”> +
<font style=”line-height:16px;font-size:16px;font-weight:bold;” face=”arial,sans-serif” color=”#000088″><a
id=”aw0″ onclick=”javascript:top.location.href= + google_ads[i].url + ” onmouseover=”window.status=go to +
google_ads[i].visible_url + ” onmouseout=”window.status=” style=”text-decoration:none”> +
<b><font style=”font-family:Arial,sans-serif;text-decoration:none;border-bottom:1px #4c7373 solid;
color:#4c7373;font-size:18px;font-weight:bold;”> + google_ads[i].line1 + </b></a></font></font><font
style=”line-height:3px;font-size:3px”><br><br></font> +
<font style=”font-size: 90%;text-decoration: none;color: #000000;font-size:small;font-family:Verdana,Arial;”
color=”#000000″>+<b>+first_line[0] +</b> + new_f_l + + google_ads[i].line3 + <br></font> +
<font style=”line-height:14px;font-size:12px” face=”Verdana,Arial,sans-serif” color=”#4c7373″> + google_ads
[i].visible_url +
</font></div><font style=”font-size:10px”><br></div></td></tr>;
}
}
}
}
// For an image ad, display the image; there will be only one .
if (google_ads[0].type == image) {
sA += <tr><td align=”center”> +
<a href=” + google_ads[0].url + “style=”text-decoration: none”> +
<img src=” + google_ads[0].image_url +
” border=”0″></a></td></tr>;
}
// Finish up anything that needs finishing up
sA += </table>;
document.write(sA);
4.See the New result adsense with a bigger font like this:
http://img188.imageshack.us/img188/5796/ads.gif
Well the final question is like the thread title above :is it allowable ,is it break GOOgle adsense tos or
not,
Thanks for all the answer and
remember
0 nhận xét:
Post a Comment