Your Moodle version

Blocks: Google Adsense block

block_google_adsense
Maintained by Picture of Marcus Green Marcus Green
An updated version of Gennaro Varriale's Google Adsense block to work with Moodle 2.x. It allows the easy creation and display of Google Adsense blocks within Moodle.

You enter your Google Adsense publisher id, select a format for the ads and check the ads are showing. Don't forget to disable any adblocker you might have running when testing.

Contributors

Picture of Marcus Green
Marcus Green (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Marcus Green
    Mon, Dec 2, 2013, 12:58 AM
    That is very very old and unsupported
  • Picture of Katrina Belcher
    Mon, Dec 2, 2013, 1:00 AM
    That must be it then. Thanks for your help, Marcus! I'm nervous about hosing the courses, by upgrading.
  • Picture of Marcus Green
    Mon, Dec 2, 2013, 1:01 AM
    I recommend a fresh install and move over gradually.
  • Picture of Katrina Belcher
    Mon, Dec 2, 2013, 1:04 AM
    Thanks, Marcus. So like copy and paste the course descriptions, etc.?
  • Picture of mike doyle
    Tue, Mar 18, 2014, 2:55 AM
    I've installed google_adsense in the blocks directory and it is not showing up in settings under blocks
    can anyone help with this?
  • Picture of Marcus Green
    Tue, Mar 18, 2014, 3:01 AM
    What version of moodle, what folder name under blocks and have you tried turning on full debugging in the admin panel to see if it is generating any error messages
  • Picture of mike doyle
    Tue, Mar 18, 2014, 3:41 AM
    Thanks for your reply.
    How can I look up the version?
    also, how do I turn on full debugging?
    Thanks
  • Picture of mike doyle
    Tue, Mar 18, 2014, 3:43 AM
    google_adsense is the folder name under blocks
  • Picture of Anand Khatri
    Tue, Apr 29, 2014, 12:27 AM
    Hello everyone,
    I understand this plugin is tested up to 2.4 moodle version.

    I tried installing Google adsense plugin on Moodle 2.6.2 latest version, on Ubuntu 14.04, 32 bit server. The installation goes smooth, just a warning that its a Beta release. But if I go to this path: Home / ► Site administration / ► Plugins / ► Blocks / ► Manage blocks
    It shows as google adsense block is added. But when I try to add such a block on any page... the block does not appear. Where as the number of instance count on the above page increases.

    Can anyone help in resolving this?
    Is dev team working to upgrade this plugin?
    Or do I have to drop my plan to use this with current version of moodle?

    Thanks in advance,
    Prof Anand Khatri
  • Picture of Marcus Green
    Tue, Apr 29, 2014, 12:46 AM
    I have just installed on a fresh copy of Moodle 2.6.1+ (Build: 20140228). In the Add a Block menu it appears in the list as AdSense Google. Is that not appearing in your list?
  • Picture of Anand Khatri
    Tue, Apr 29, 2014, 2:02 PM
    Dear Mr. Marcus Green,
    Thanks for replying immediately.
    If I login as admin, Site administration->Front Page -> Front Page settings. And here I "Turn ON" Blocks editing. I have "Add Block" widget appearing below Site administration menu. If I click on "Add blcok" button, I get menu to add so many different blocks etc... within that I do get "google adsense" option.

    If I choose that, page just refreshes, but no "google adsense block" gets added !!

    Even if I repeat multiple times, it does not work. Whereas, the number of instance count for "google adsense block" on the " Home / ► Site administration / ► Plugins / ► Blocks / ► Manage blocks" page increases.
    Hope this gives you clarity.

    Thanks Again.
    Warm regards,
    Prof Anand Khatri
    khatrianand@hotmail.com
  • Picture of Marcus Green
    Tue, Apr 29, 2014, 3:13 PM
    What theme are you using and what browser are you using?
  • Picture of Anand Khatri
    Wed, Apr 30, 2014, 12:09 AM
    Hi,
    I was using "Clean" theme. I even tried using "Standard" the default theme... it does not work ( no google adsense" block gets added., no matter which theme I use.

    Thanks,
    Prof Anand Khatri
    khatrianand@hotmail.com
  • Picture of Marcus Green
    Fri, May 16, 2014, 11:42 PM
    I'll consider your issue closed now Anand based on our emails and for anyone else, the block seems to work OK with Moodle 2.6x. Marcus
1 2 3
Please login to post comments