如何在 Maven 生成的网站(如 GoogleAds)中投放广告
我有一个 Maven 生成的网站,我想在该网站中包含一些 Google Ads 或类似类型的宣传。 GoogleAds 使用 HTML 中的脚本标记,但是当使用仅包含 APT 文件的简单 Maven 网站时,我找不到将宣传放入文件中的方法。 有没有办法包含这些脚本标记以便为我的网站增加宣传?
I have a Maven generated site, and I would like to include some Google Ads or similar type of publicity in the site.
GoogleAds works with a script tag in the HTML, however when using a simple Maven site with only APT files, I cannot see a way to put the publicity in the files.
Is there a way to include those script tag in order to add publicity to my site?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要将 Google 宣传放入 Maven 生成的站点中,您可以使用插件 MGAIP。
您只需将其添加为报告即可
顺丰网
姆盖普
1.1
然后将googleAds作为poweredBy。
欲了解更多信息,请访问http://mgaip.sourceforge.net
To put Google publicity inside a Maven generated site you can use the plugin MGAIP.
You just add this as a report
net.sf.mgaip
mgaip
1.1
And then put the googleAds as a poweredBy.
For more information please visit http://mgaip.sourceforge.net