Foro de Xeoweb Foro de Posicionamiento y Buscadores
Aprendiendo a Promocionar Páginas Web.
Xeoweb :: Sindicar
 
 FAQFAQ   BuscarBuscar   MiembrosMiembros   Grupos de UsuariosGrupos de Usuarios   RegistrarseRegistrarse 
 PerfilPerfil   Entre para ver sus mensajes privadosEntre para ver sus mensajes privados   LoginLogin 
¿Cuenta premium o manipulación del código?

 
Publicar nuevo tema   Responder al tema    Foros de discusión -> Adwords/Adsense y Publicidad en Buscadores
Ver tema anterior :: Ver tema siguiente  
Autor Mensaje
Sabogal
Yo uso Google


Registrado: 12 May 2005
Mensajes: 1375

MensajePublicado: Vie Nov 07, 2008 8:25 pm    Asunto: ¿Cuenta premium o manipulación del código? Responder citando

Esto es el código de una cuenta premium de adsense, o es un código manipulado:

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>


Saludos!
_________________
Contador público
Volver arriba
Ver perfil de usuario Enviar mensaje privado
Afelix
Me gusta MSN!


Registrado: 03 Feb 2006
Mensajes: 445
Ubicación: Toledo

MensajePublicado: Sab Nov 08, 2008 2:58 am    Asunto: Re: ¿Cuenta premium o manipulación del código? Responder citando

Sabogal escribió:
Esto es el código de una cuenta premium de adsense, o es un código manipulado:


Ambas cosas, es de una cuenta premium y manipulado, creo que google permite manipular las cuentas premium.
Código:
<!-- ***** Google ***** -->
        <br>
<script language="JavaScript">
  <!--

  // This function 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.

  function google_ad_request_done(google_ads) {

    var lista = 'www.adn.es,www.AtraerMasMujeres.com,www.ADN.es,www.SMS-Contactos.es,www.dr-pene.com,www.Tu.tv,www.actas.es,www.fotocasa.es,www.terra.player.tv';
    var miArray = lista.split(',');
   
    //Voy a cortar el array de google si vienen cosas malas
    for(z=0; z < miArray.length ; ++z){
       for(p=0; p < google_ads.length; ++p){
      if(miArray[z]==google_ads[p].visible_url){
         google_ads.splice(p,1);
         p=p-1;
      }
   }
    }

   
    // Proceed only if we have ads to display!
    if (google_ads.length < 1 )
      return;

      document.write("<div class='limpiar'></div>");
   // Display ads in a table
    document.write("<div id='google_noticia'>");

    document.write("<div class='cab_google estirar'>");
       document.write("<h2>Publicidad por Google</h2>");
   document.write("<p><a href='http://www.elpais.com/static/google_adwords.html' onClick=\"window.open(this.href, this.target, 'width=700,height=250'); return false;\">¿Que es esto?</a></p>");
    document.write("</div>");
                             
    // 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 == 'text') {
      document.write("<ul>");
      for(i = 0; i < google_ads.length; ++i) {

   document.write("<li>");

    var on_mouse = "onMouseOver=\"window.status='Ir a "+google_ads[i].visible_url+"';return true;\" onMouseOut=\"window.status='';return true;\"";
   document.write("<h3><a href='" + google_ads[i].url + "' " + on_mouse + " target='_blank'>" + google_ads[i].line1 + "</a></h3>");
   document.write("<h4><a href='" + google_ads[i].url + "' " + on_mouse + " target='_blank'>" + google_ads[i].visible_url + "</a></h4>&nbsp;");
   document.write("<p><a href='" + google_ads[i].url + "' " + on_mouse + " target='_blank'>" + google_ads[i].line2 + " " + google_ads[i].line3 + "</a></p>");

   document.write("</li>");

                                        
      }
      document.write("</ul>");
    }

    // For an image ad, display the image; there will be only one .
    //if (google_ads[0].type == 'image') {
    //  document.write("<td align=\"center\">" +
    //    "<a href=\"" + google_ads[0].url + "\">" +
    //    "<img src=\"" + google_ads[0].image_url +
    //    "\" height=\"" + google_ads[0].height +
    //    "\" width=\"" + google_ads[0].width +
    //    "\" border=\"0\"></a></td>");
    //}

    // Finish up anything that needs finishing up
    document.write ("</div>");
  }

  -->
  </script>
  <script language="JavaScript">
  <!--

    // This script sets the attributes for requesting ads.
    google_ad_client = 'ca-xxxxxxxxxxxxxxxxx';       
    google_ad_channel = 'espana';
    google_ad_output = "js";         
    google_max_num_ads = 3;         
    google_safe     = "medium";
    //google_ad_width = 336;
    google_feedback = "on";
    google_ad_type  = "text";
    //google_color_line = "ff0000";
    //google_hints = 'Obama,Zapatero,fomentaran,relaciones,bilaterales';
    google_language = "es";
    //google_adtest = "on";
    google_ad_section = 'default';

  -->
  </script>

  <script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  </script>

        </a>  <!-- este cierre es para forzar el cierre de ADSGOOGLE es algo temporal  -->
   <!-- ***** Fin Google ***** -->

_________________
Directorio de enlaces BudiWeb
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del autor
Mostrar mensajes de anteriores:   
Publicar nuevo tema   Responder al tema    Foros de discusión -> Adwords/Adsense y Publicidad en Buscadores Todas las horas son GMT
Respuesta Rápida y Acciones
 

 

Página 1 de 1


Cambiar a:  
Puede publicar nuevos temas en este foro
No puede responder a temas en este foro
No puede editar sus mensajes en este foro
No puede borrar sus mensajes en este foro
No puede votar en encuestas en este foro

 


Logo diseñado por iLevante
Powered by phpBB © 2001, 2009 phpBB Group