Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/05/2009, 15:22
Avatar de kernelcom-com
kernelcom-com
 
Fecha de Ingreso: mayo-2008
Ubicación: Lima
Mensajes: 216
Antigüedad: 16 años, 9 meses
Puntos: 3
Agregar codifo de cuenta premiun de adsense a mi web

he visto en muchas webs que sin necesidad de contar con una cuenta premium de adsense , logran insertar este codigo para acomodar sus publicidades a su web y asi ganar mejor ctr o clicks

Código:
<script language="JavaScript"> 
<!-- 
function google_ad_request_done(google_ads) { 
var s = ''; 
var i; 

if (google_ads.length == 0) { 
return; 
} 

 else { 

if (google_ads.length == 1) { 

} else if (google_ads.length > 1) { 

   s += '<div id="titulo-gads-by"><a href=\"' + google_info.feedback_url + '\">Avisos Google</a></div>' 

for(i = 0; i < google_ads.length; ++i) { 

s += '<div id="titulo-ganuncios"><a href="' + 
google_ads[i].url + '" ' + 'onmouseout="window.status=\'\'" ' + 'onmouseover="window.status=\'\';return true;" ' + 'alt="' + 
google_ads[i].line2 + ' ' + 
google_ads[i].line3 + '" title="' + 
google_ads[i].line2 + ' ' + 
google_ads[i].line3 + '">' + ' ' + 
google_ads[i].line1 + '</a></div> <div id="descripcion-linkg">' + 
google_ads[i].line2 + ' ' + 
google_ads[i].line3 + ' <a href="' + 
google_ads[i].url + '" ' + 'onmouseout="window.status=\'\'" ' + 'onmouseover="window.status=\'\';return true;" ' + 'alt="' + 
google_ads[i].line2 + ' ' + 
google_ads[i].line3 + '" title="' + 
google_ads[i].line2 + ' ' + 
google_ads[i].line3 + '">' + 
google_ads[i].visible_url + '</a></div>'; 
} 
} 
    } 

    document.write('<div>' + s + '</div>'); 
    return; 
  } 

google_ad_client = 'pub-xxxxxxxxxxxxxxxx'; // substitute your client_id (pub-#) 
google_ad_channel = '7188284287'; 
google_ad_output = 'js'; 
google_max_num_ads = '8'; 
google_ad_type = 'text'; 
google_feedback = 'on'; 
google_language = 'es'; 
google_hints = 'negocio'; 
google_ad_region = 'test'; 
// --> 
</script> 

<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script>
Como es que logran eso, o acaso en alguna oportunidad le cierran la cueta, gracias por sus respuestas
__________________
Las ideas estimulan la mente.(Eric Hoffer)
http://www.reycarlos.com
http://www.clasificadosde.com