Usage

To use this plugin you have to do two things:

  1. To indicate where the GoogleAds will be placed (or Facebook I Like button or custom code).
  2. To configure the plugin in the pom.xml file.

    It seems that Google has a restriction of showing a maximum of 3 ads per page, so it is not advised to configure more than 3 ads for a single page because they will no be shown.

Google Adsense Account configuration

One very important thing to have configured in order to use the plugin is the GoogleAds account. You need to have a valid already active account. If you do not, it could take until three days to be activated. This is not automatically created once you have created a Google Account, this is a different service, but you use the same credentials. If you want to activate it, you have to visit this page https://www.google.com/adsense/ . Once the service has been activated, you can create banners for your sites. We recommend the next possible banners for the different Ads positions in the site.

Google Ads types

There are several type of Google Ads: https://www.google.com/adsense/static/AdFormats.html , however, we recommend the next configuration:

  • Vertical
    • Recommended : Skyscraper (120 x 600)
    • Button (125 x 125)
    • Banner vertical (120 x 400)
  • Horizontal:
    • Recommended : Horizontal Skyscraper (728 x 90)
    • Banner (468 x 60)
    • Half banner (234 x 60)
    • Show 4 or 5 (468 x 15)
    • Show 4 or 5 (728 x 15)
  • Unique:
    • Recommended : Half Banner (234 x 60)
    • Small rectangle (180 x 150)
  • Logo:
    • Recommended : Square (200 x 200)
    • Small rectangle (180 x 150)
    • Square (250 x 250)
    • Medium rectangle (300 x 250)
    • Horizontal Skyscraper (728 x 90)
    • Banner (468 x 60)
    • Half banner (234 x 60)
    • Show 4 or 5 (468 x 15)
    • Show 4 or 5 (728 x 15)