mgaip:insert

Note :This goal should be used as a Maven report.

Full name :

net.sf.mgaip:mgaip:1.2-SNAPSHOT:insert

Description :

Inserts Google Ads in the generated Maven site.

Control Version

  • 1.0 Class creation.

Attributes :

  • Requires a Maven 2.0 project to be executed.
  • Since version: 1.0 .
  • Binds by default to the lifecycle phase: post-site .

Optional Parameters

Name Type Since Description
customPoweredBy String 1.0 Custom script to insert in the vertical zone as a powered by.
facebookLink String 1.0 Link to associate in the I like Facebook button.

The link has to be in this form:

https%3A%2F%2Fwww.facebook.com%2Fpages%2FZemucan%2F138284808329

Replacing the ':' by %3A, '/' by %2F


googleId String 1.0 Identifier of the Google Account. This is the google_ad_client field.
Default value is : ca-pub-9663595078690574 .
googlePlusOne boolean 1.0 Adds a Google Plus one script in the pages.
horizontalAdHeight int 1.0 Height of the horizontal ad.
Default value is : 90 .
horizontalAdId String 1.0 Identifier of the Horizontal Ad. This is the google_ad_slot field.

This is placed everywhere in the text.


Default value is : 2519400815 .
horizontalAdWidth int 1.0 Width of the horizontal ad.
Default value is : 728 .
logoAdHeight int 1.0 Height of the logo ad.
Default value is : 200 .
logoAdId String 1.0 Identifier of the Logo Ad. This is the google_ad_slot field.

This could be used as a logo replacement.


Default value is : 3789968358 .
logoAdWidth int 1.0 Width of the logo ad.
Default value is : 200 .
uniqueAdHeight int 1.0 Height of the unique ad.
Default value is : 60 .
uniqueAdId String 1.0 Identifier of the Unique Ad. This is the google_ad_slot field.

Placed inline the text.


Default value is : 1788050126 .
uniqueAdWidth int 1.0 Width of the unique ad.
Default value is : 234 .
verticalAdHeight int 1.0 Height of the vertical ad.
Default value is : 600 .
verticalAdId String 1.0 Identifier of the Vertical Ad. This is the google_ad_slot field.

This is placed at the vertical left side of the site, as a powered by icon.


Default value is : 9409358178 .
verticalAdWidth int 1.0 Width of the vertical ad.
Default value is : 120 .

Parameter Details

customPoweredBy :

Custom script to insert in the vertical zone as a powered by.
  • Type : java.lang.String
  • Since : 1.0
  • Required : No

facebookLink :

Link to associate in the I like Facebook button.

The link has to be in this form:

https%3A%2F%2Fwww.facebook.com%2Fpages%2FZemucan%2F138284808329

Replacing the ':' by %3A, '/' by %2F

  • Type : java.lang.String
  • Since : 1.0
  • Required : No

googleId :

Identifier of the Google Account. This is the google_ad_client field.
  • Type : java.lang.String
  • Since : 1.0
  • Required : No
  • Default : ca-pub-9663595078690574

googlePlusOne :

Adds a Google Plus one script in the pages.
  • Type : boolean
  • Since : 1.0
  • Required : No

horizontalAdHeight :

Height of the horizontal ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 90

horizontalAdId :

Identifier of the Horizontal Ad. This is the google_ad_slot field.

This is placed everywhere in the text.

  • Type : java.lang.String
  • Since : 1.0
  • Required : No
  • Default : 2519400815

horizontalAdWidth :

Width of the horizontal ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 728

logoAdHeight :

Height of the logo ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 200

logoAdId :

Identifier of the Logo Ad. This is the google_ad_slot field.

This could be used as a logo replacement.

  • Type : java.lang.String
  • Since : 1.0
  • Required : No
  • Default : 3789968358

logoAdWidth :

Width of the logo ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 200

uniqueAdHeight :

Height of the unique ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 60

uniqueAdId :

Identifier of the Unique Ad. This is the google_ad_slot field.

Placed inline the text.

  • Type : java.lang.String
  • Since : 1.0
  • Required : No
  • Default : 1788050126

uniqueAdWidth :

Width of the unique ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 234

verticalAdHeight :

Height of the vertical ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 600

verticalAdId :

Identifier of the Vertical Ad. This is the google_ad_slot field.

This is placed at the vertical left side of the site, as a powered by icon.

  • Type : java.lang.String
  • Since : 1.0
  • Required : No
  • Default : 9409358178

verticalAdWidth :

Width of the vertical ad.
  • Type : int
  • Since : 1.0
  • Required : No
  • Default : 120