How To Display AdSense & Yahoo Publisher Ads Using AdRotator Plugin for WordPress ¿Cómo mostrar AdSense y Yahoo Publisher de anuncios que utilizan AdRotator plugin para WordPress
AdRotator is a WordPress plugin which you can used to randomly rotate your ads (including but not limited to AdSense, Yahoo Publisher Network, Clicksor, Chitika etc.) on WordPress blogs. WordPress es un plugin que puede utilizarse para girar al azar sus anuncios (incluyendo pero no limitado a AdSense, Yahoo Publisher Network, Clicksor, Chitika etc) en los blogs de WordPress. It allows you to display an advertisement (which is randomly selected from a group of advertisements specified in a text file) at your chosen location. Se le permite mostrar un anuncio (que es seleccionada al azar de un grupo de anuncios especificados en un archivo de texto) en su lugar elegido. The most frequent question I get is how you can use it to display AdSense ads, with an example. La pregunta más frecuente que recibo es cómo puede utilizar para mostrar anuncios de AdSense, con un ejemplo.
AdRotator plugin AdRotator plugin can be used to easily rotate between AdSense, Yahoo Publisher Network ads and any other javascript based ad codes in combination and in a single file. puede ser utilizado fácilmente a un sistema de rotación entre AdSense, Yahoo Publisher Network anuncios y cualquier otro javascript los anuncios de códigos en combinación y en un solo archivo. There is however a small trick to it. Sin embargo, existe un pequeño truco con él. You need to compress the ad code in a single line. Usted necesita para comprimir el código de anuncios en una sola línea. Let me illustrate with an AdSense example. Permítanme ilustrar con un ejemplo de AdSense.
Suppose your adsense ad is as follows: Supongamos que su anuncio de AdSense es el siguiente:
Then you need to reformat it as below: Luego hay que cambiar como a continuación:
Note: The above code is in a single line. Nota: Este código se encuentra en una sola línea. Place as many as such ad codes in a single file and you can rotate between them. Colocar la mayor cantidad de anuncios como tales códigos en un solo archivo y puede girar entre ellos.
This idea can be used with Yahoo ads and any other javascript based ad codes. Esta idea se puede utilizar con los anuncios de Yahoo y cualquier otro javascript los anuncios de códigos. If you face problems then you have most likely messed up your ad code somewhere. Si se enfrentan a problemas, entonces tiene más probabilidades desordenado su código de anuncios en alguna parte.
Here is another Aquí está otra example ejemplo for other types of ads. para otros tipos de anuncios. You can refer to the Puede referirse a la AdRotator user manual AdRotator manual del usuario for further details. para más detalles.
BTW: I am planning to release AdRotator Pro version in about a couple of weeks. BTW: Estoy planeando poner en libertad a AdRotator Pro versión en aproximadamente un par de semanas. It will make it much much simpler to manage your ad-strips, no tricks like above and no need to change your ad code, will allow placing multiple ads from the same file on the same page, without duplication, allow rotating between say Google & Yahoo ads without conflict and tons of advanced options for beginners and pro alike and lots more. Se hará mucho más simple para manejar su anuncio de las tiras, no como trucos por encima y no necesita cambiar su código de anuncios, permitirá colocar varios anuncios de un mismo archivo en la misma página, sin duplicación de esfuerzos, permitir la rotación entre Google y el decir Yahoo anuncios sin conflicto y toneladas de opciones avanzadas para los principiantes y pro igual y mucho más.
Filed under Filed under CMS Software CMS Software , Headline News Headline News , How To Cómo , Pro Blogging Blogging Pro , Tech Note Nota técnica , Web , Web Services Web Services , WordPress | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artículo |
Email this Article Enviar artículo
You may also like to read También puede leer |




September 2nd, 2006 at 10:14 pm 2 de Septiembre, 2006 a las 10:14 pm
Hello Angsuman, I am trying to use your ad rotator Angsuman Hola, estoy intentando utilizar su anuncio rotador
but I am getting this error. pero yo estoy recibiendo este error.
Parse error: unexpected T_STRING, expecting ‘,’ or ‘;’ in Error de análisis: T_STRING inesperado, esperando »,« o »,« en
I even tried it like this: with no luck. Incluso he probado de esta manera: sin suerte.
Do you know what it is asking me to adjust? ¿Sabe usted para qué se me pide que ajustar?
Thanks, Simone Gracias, Simone
September 2nd, 2006 at 10:19 pm 2 de Septiembre, 2006 a las 10:19 pm
Hmmmm it wouldn’t include my php include I’ll try it without the brackets. Hmmmm no iba a incluir mi php incluir Voy a probarlo sin los corchetes.
These are the two I tried but with php brackets. Estos son los dos he intentado pero con php entre paréntesis.
php echo getad ’test1’; php echo getad 'test1';
php echo getad ’test1,test2’; php echo getad 'test1, test2';
April 7th, 2007 at 10:56 am 7 de abril de 2007, a las 10:56 am
i think this could work on my image hosting site Creo que esto podría trabajar en mi sitio de alojamiento de imágenes photosharingworld.com
April 21st, 2007 at 4:59 pm Abril 21, 2007 a las 4:59 pm
>then you need to reformat it as below, > > entonces usted necesidad de cambiar más adelante como,>
well it is against google ad terms , what u think abt that ? así que está en contra de google términos de anuncio, lo que piensan u abt que?
August 23rd, 2007 at 11:42 am 23 de Agosto, 2007 a las 11:42 am
Can this work in RSS feeds? ¿Puede este trabajo en los canales RSS?
August 23rd, 2007 at 2:11 pm 23 de Agosto, 2007 a las 2:11 pm
Yes, but you have to modify it. Sí, pero usted tiene que modificar. Or you can contact us for developing it for you. O bien, puede ponerse en contacto con nosotros para el desarrollo por ti.
April 5th, 2008 at 3:08 pm 5 de abril de 2008 a 3:08 pm
Hey, thanks for this awesome plugin. Hey, gracias por esta impresionante plugin.
I managed to get it work on my blog. Logré llegar a trabajar en mi blog.
The thing is, it doesn’t properly show adsense. La cosa es, no se muestran correctamente adsense. Hmm..doesn’t show at all. Hmm .. no muestra en absoluto. maybe because of lining up the code in 1 line breaks it. tal vez porque el revestimiento de hasta el código 1 en saltos de línea.
Does this work with the new adsense code? ¿Este trabajo con el nuevo código de AdSense?