Google AdSense for Moodle 50

moodleI create a block plugin to show Google AdSense in the Moodle E-learning System.
Language : italian and English
Moodle : 1.5 ,1.6, 1.7, 1.8 . (tested)
Download Google AdSense for Moodle for free. [mirror]

You can setup id-publisher, width, height, format, color ecc. in the config.
For info, problem and tips leave comment.


  1. Download it, unzip and put google_adsense directory in blocks directory of your Moodle Installation
  2. login like admin and click on ‘Notifications’ for auto setup
  3. Turn “editing on” to add adsense google in your pages
  4. Go to “blocks” click on the “Add…” and select the google adsense. Then click on the “config” icon

Seguimi su twitter : @ironico

50 thoughts on “Google AdSense for Moodle

  1. Reply Green Card dic 2,2013 21:14

    That is a really goold tip especially to those new to thee blogosphere.
    Simple but very precise information… Maany thanks foor
    sharing this one. A must read article!

  2. Pingback: Anonimo

  3. Pingback: كيفية استخدام AdSense مع نظام إدارة المحتوى - بيت جوجل

  4. Reply prashant lug 30,2012 05:06


    Can you help me to make it work on 1.9? I installed and it shows up on admin account but not on any other user account. I have specifically given permissions for guests and studenst for “allow View”.

  5. Reply Dante Lagos mar 28,2011 02:36


    Dooes this work for moodle 1.9? i installed it but it doesn’t show. should i put something in channel? what am i doing wrong? thanks check it out at

    Thanks again

  6. Reply Troy ott 22,2009 14:46

    Love the plugin….the ads which appear deal with products based on site content….for example see: ….safety training products are in the ads….is there a way to define the products…such as trucks, fishing & hunting gear etc. This would direct ads to my training audience and not show my competition. THX for your contribution….

  7. Reply Gianluca lug 12,2009 21:20

    Notavo che la versione del mio moodle è 1.9 che mi consigli di fare

    Ciao e grazie ancora

  8. Reply Gianluca lug 12,2009 21:11

    Ciao Gennaro e complimenti per il Blog.

    Volevo chiederti un pò meglio la procedura per inserire il codice adsense

    In pratica ho preso il pugin e tramite file zilla l’ho inserito all’interno della cartella blocks

    Poi mi sono autenticato come amministratore e sono andato su Notifiche ,ma non c’e niente.

    Mi sà che non ben capito questo passaggio.

    Sarebbe carino se mettessi la spiegazione in Italiano

    Ciao e Grazie

    • Reply Gennaro Varriale lug 14,2009 10:08

      In notifiche serve solo per installarlo, per utilizzarlo vai in alto sui blocchi, attiva modifica, e dovrebbe esserci nella lista dei blocchi disponibili, altrimenti non è stato installato.

  9. Reply Gennaro Varriale lug 7,2009 12:03

    @Mike: Thanks! I update post ;)

  10. Reply Mike Kniaziewciz lug 7,2009 01:18

    Nice plugin Gennaro. I installed it into Moodle 1.9 and it works fine. You may want to mention in your instructions that after you turn editing on you need to go to “blocks” click on the “Add…” and select the google adsense. Then click on the “config” icon.

    Overall nice work and thanks.

  11. Reply Gennaro Varriale mar 10,2009 09:55

    @Francis: I hope to update it soon. At the moment I do not have time. Maybe in April / May, i can do it. Sorry.

  12. Reply Francis Zardoz mar 9,2009 19:59

    Este módulo ainda não funciona na versão 1.9, será que temos alguma previsão deste módulo ser atualizado??

  13. Reply Gennaro Varriale feb 27,2009 11:43

    @Brandon: This version are only for text ads. I hope to work soon and improve it.

  14. Reply Brandon feb 26,2009 23:52

    Is there a way to put Google Adsense pictures or video ads instead of text ads?


  15. Reply Gennaro Varriale gen 29,2009 09:54

    @Tim: I will have to update it, but you can try it. I put it in a my site and is ok.

  16. Reply Tim Florian gen 28,2009 16:30

    Dooes this work for moodle 1.9?

Leave a Reply




Per essere informato sui miei contenuti - Email: