Home › Forum › Problemi Vari con WP › Adsense e il codice the_author_aim(); su wordpress
-
AutorePost
-
-
4 Marzo 2010 alle 14:24 #13210difenPartecipante
Ciao ragazzi,
ho creato insieme ad alcuni amici un nuovo blog ed abbiamo inserito adsense.
Inoltre abbiamo deciso di inserire adsense anche negli articoli utilizzando il seguente codice:
<div class="adsense234x60">
<script type="text/javascript"><!--
google_ad_client = "<?php the_author_aim(); ?>"
/* 234x60, creato 20/02/10 */
google_ad_slot = "4121280422";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
Ora, "<?php the_author_aim(); ?>" serve per far riconoscere ad adsense l'autore dell'articolo assegnandoli cosi la pubblicità al suo account.
Il problema è che solo nei miei articoli compare la pubblicità (che sono colui che ha diciamo creato il blog), mentre per tutti i miei amici non compare nulla, resta lo spazio bianco.
Sul forum di adsense mi hanno suggerito di mettere anche "<?php the_ad_slot(); ?>"; (al posto del codice 412128xxx. Facendo cosi però visualizzo la homepage ma appena cerco di aceddere in qualche articolo, riesco a visualizzare solo il titolo e il resto scompare.
Voi come avete fatto?
-
4 Marzo 2010 alle 18:38 #71950zhenyaPartecipante
Usando un plugin con cui crei gli ads dei vari autori senza localizzarli; cioè lasciando vuote le selezioni di posizione e pagine.
Poi ogni autore inserirà nel suo post il suo codice embed nelle posizioni desiderate.
http://www.wpitaly.it/forum/topic/13923
Ovvero cercando se esiste un plugin specifico per gli ads di più autori.
-
4 Marzo 2010 alle 20:55 #71957difenPartecipante
ho gia provato con alcuni plugin ma mi danno sempre errore, tipo author advertising plugin dandomi l’errore Your Author Advertising table structure is out of date…. updated now.
Ma non so come risolvere.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.