Place AdSense Ad Unit In Various Positions Inside Within Blogger Post Contents地方AdSense广告单元在各个据点内的Blogger帖子内容
There is有 trick伎俩 to add Google AdSense and other advertising network such as AdBrite ad unit right beside and inside within Blogger post content, so that the ad block will appear wrapped and floated inline to the top left or top right next to the blog text.加入Google AdSense和其他广告联播网,如adbrite广告单元旁边的权利和内内的Blogger张贴的内容,使广告座会出现包裹和浮动内插向左上方或右上方旁边的博客文字。 If you do not like this layout and dislike the prominent location the ads are displayed, there are other places within blog post to put the ad code.如果你不喜欢这个布局和不喜欢的突出位置展示广告,还有其他地方的博客帖子把广告代码。
The guide below provides tips and tricks on where should the指南规定,下面的技巧和窍门在哪里应 parsed HTML ad code解析的HTML广告代码 (after replacing several special characters with HTML code) be pasted and inserted in the Blogger XML-based template. (后取代几个特殊字符与HTML代码)被粘贴和插入,在Blogger的基于XML的模板。 In essence, the steps are exactly the same when在本质上,步骤是完全一样时, positioning the ad next to and within post content定位广告的旁边,并张贴内容 , except that the text string to search (where to paste the ad code) is different.除文字字串搜索(在哪里贴广告代码)是不同的。
To recap, go to Blogger Template tab for the blog you want to change, then click on Edit HTML .要回顾一下,转到Blogger 模板标签为博客您要更改,然后点击编辑HTML 。 Remember to tick Expand Widget Templates check box, and perform the backup.记得要剔扩展窗口小部件模板复选框,执行备份。
Wrap Around Next to the Post and Float to Left or Right 捆绕旁边的邮政和浮动,以向左或向右
Refer to this参照此 guide指南 . 。
After Post Title Before Post Contents 之后,帖子标题前,后的内容
The ad banner will appear below post title but above and before the start of blog content.广告横幅下方会出现职衔,但高于前开始的博客内容。 It’s actually exactly the same with tip above to wrap AdSense around the post, except that now the ad unit does not float but instead been place at the center without wrapping, and thus pushing content below it.它实际上完全一样,与提示上述总结的AdSense左右后,除了现在的广告单元不浮动,而是被地方,在该中心没有包装,从而推动以下内容。
Search for the line of:搜索路线:
<p><data:post.body/></p> <p> <data:post.body/> < / >
Paste the parsed Google AdSense ad code inside <center><div> and </div></center> right before the above line so that it looks like below after change:粘贴剖析Google AdSense广告代码内<center>立即<div>和“ < /学> < /中心>的权利之前,上述路线,以便使它看起来像下面后,改变:
<div class=’post-header-line-1′/> <div class='post-header-line-1'/>
<div class=’post-body entry-content’> <div class='post-body entry-content'>
<center><div> [ <center>立即<div> [ parsed Google AdSense ad code 剖析Google AdSense广告代码 ] </div></center> ] < /学> < /中心>
<p><data:post.body/></p> <p> <data:post.body/> < / >
<div style=’clear: both;’/> <!– clear for photos floats –> <div style='clear: both;'/> < ! -清晰的照片彩车- >“
</div> < /学>
After Post Content Before Footer Credits 后张贴内容之前,页脚学分
The Google AdSense ad unit or other display ads banner will appear at the bottom of the blog post, after the end of content and just before the ending credits, within inside the post. Google AdSense广告的单位或其他显示广告的旗帜将出现在底部的博客帖子,结束后,内容和前结束学分,在车厢内张贴。
Search for:搜索:
<div class=’post-footer’> <div class='post-footer'>
Paste the parsed Google AdSense ad code inside <div> and </div> right before the above line so that it looks like below after change:粘贴剖析Google AdSense广告代码内<div>和“ < /学>的权利之前,上述路线,以便使它看起来像下面后,改变:
<div class=’post-body entry-content’> <div class='post-body entry-content'>
<p><data:post.body/></p> <p> <data:post.body/> < / >
<div style=’clear: both;’/> <!– clear for photos floats –> <div style='clear: both;'/> < ! -清晰的照片彩车- >“
</div> < /学>
<div> [ <div> [ parsed Google AdSense ad code 剖析Google AdSense广告代码 ] </div> ] < /学>
<div class=’post-footer’> <div class='post-footer'>
To center the ads unit, add the wrapper of <center> and </center>.中心的广告单位,新增包装的<center>立即和“ < /中心> 。
After Footer Credits 后页脚学分
Unlike the above where the ad unit appear before the credit right after post content, this time the ad unit will appear after the credit for the post is displayed.不同于上述情况下的广告单元出现之前,信用权后,张贴内容,这一次的广告单元会出现后,信用为后显示出来。 The easiest way to achieve the task is using built-in最简单的方式实现的任务是使用内建在 feature of “Show Ads Between Posts”功能“显示广告之间的职位” in Blogger.在Blogger 。 Turn off and enable the feature will display ads between posts when view in home, index or category pages, and also at the bottom most part when view in single individual post page view.关闭和启用此功能将显示广告之间的职位时,鉴于在首页,索引或分类网页,并在底部的大部份时,鉴于在单个人的帖子页的看法。
If you plan to use non-AdSense ads or want to add in custom channels, you have to manually edit the template HTML to add in the ad code.如果您打算使用非AdSense广告,或要添加在自定义渠道,你必须手动编辑模板添加在广告代码。 In this case, search for:在这种情况下,搜索:
<p class=’post-footer-line post-footer-line-3′/> <p class='post-footer-line post-footer-line-3'/>
Paste the parsed Google AdSense ad code inside <div> and </div> right after the above line so that it looks like below after change:粘贴剖析Google AdSense广告代码内<div>和“ < /学>权后,上述路线,以便使它看起来像下面后,改变:
<p class=’post-footer-line post-footer-line-3′/> <p class='post-footer-line post-footer-line-3'/>
<div> [ <div> [ parsed Google AdSense ad code 剖析Google AdSense广告代码 ] </div> ] < /学>
</div> < /学>
</div> < /学>
</b:includable> < /乙:包含>
To center the ads unit, add the wrapper of <center> and </center>.中心的广告单位,新增包装的<center>立即和“ < /中心> 。
Between Posts 岗位之间
After it’s pretty much similar to the above where ads appear after post footer.之后,这几乎是类似上述情况下的广告出现后,帖子页脚。 So just follow tips above.因此,只要按照提示以上。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article原来的英语文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- Move Blogger Inline Ads Between Posts to Inside Within Post Position动议的Blogger内插广告之间的员额内后的立场
- How to Wrap AdSense Ads Around and Inline Beside Blogger Post Content如何总结AdSense广告约和内置旁边的Blogger帖子内容
- How to Display Elements (Ads) Only On (Or Only Not At) Individual Single Post Item View如何显示元素(广告) ,只(或只有不)个别单一邮政项目的看法
- google_ad_host Host ID in Google AdSense Ad Unit Code and Revenue Sharing google_ad_host主机ID在Google AdSense广告单元代码和收益分享
- Workaround to Add Custom Channels into Blogger AdSense Page Element Widget其他可行方案如果要添加自定义渠道到Blogger AdSense的网页元素的小装置
- Trick to Add AdSense, AdBrite and Other JavaScript Ad Code Directly to Blogger HTML Template伎俩AdSense新增, adbrite和其他JavaScript广告代码直接到Blogger HTML模板
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable检索和获取的WordPress张贴ID以外的回路作为PHP变量
- Add and Insert to Put Google AdSense Ads Units Between Blog Posts in Blogger.com新增和插入把Google AdSense广告单位之间的博客帖子在blogger.com
- Google AdSense Policy Update Disallows Image Besides Ads Blocks Google AdSense的政策不允许更新的形象,除了广告区块
- Redirect Blogger RSS Feed to FeedBurner for Detailed Statistics and Monetize Ads重定向Blogger的RSS馈送到feedburner为详细的统计资料和财源的广告

































October 3rd, 2007 01:17 2007年10月3日1时17分
[...] is kind of awkward and low performing in term of click through rate (CTR). [ … … ]是种尴尬和低表演在任期内通过点击率( CTR ) 。 A lot of bloggers have put Google AdSense ad code inside the post or wrap the ad unit around blog post by editing template’s HTML to insert modified ad code [...]很多博客把Google AdSense广告代码内张贴或包装的广告单元周围的博客帖子编辑模板的HTML插入修改的广告代码[ … … ]
December 27th, 2007 01:05 2007年12月27日1时05分
THANK U感谢u
February 18th, 2008 00:54 2008年2月18日0时54分
hi dude thanks for the wonderful information, but can you help me with one problem.喜dude感谢精彩的资料,但你能帮助我同一个问题。 I used your codes very nicely for “After Post Title Before Post Contents” but two ads displayed well before the content, but the third post does not has an ad and there is a blank portion in the post blog.我用您的代码非常好,为“后,帖子标题前,后的内容” ,但两个上显示的广告,以及之前的内容,但第三帖子不有一个广告是有空白部分,在后博客。 As i have the third ad in my sidebar.正如我刚才的第三个广告在我的工具栏。
Kindly help to remove the blank space.好心帮助,以消除空白。
thanks in advance.感谢在前进。
March 22nd, 2008 21:23 2008年3月22日21时23分
Hi there,喜有,
When I place ads below the topic, the ads appear below all the topics instead of the first one.当我的地方,广告下面这个主题,广告会出现在下面的所有议题,而非第一次。
You can check it out @您可以检查出来@ http://mobilegyaan.blogspot.com
Please let me know where the problem is?请让我知道问题所在是什么?
July 12th, 2008 02:52 2008年7月12日2时52分
Hi嗨
I have a question…我有一个问题…
I was able to add the code wrap around the text but in my tennis blog I also put a picture after the title and before the text… what can I do to still get my picture after the title and before the text and adssense ad???我能添加代码的捆绕的文本,但在我的网球博客,我也提出了图片后,标题和前文…我能做些什么来仍让我的图片后,标题和前文字和adssense广告吗? ? for example exactly where you have the chitika ad in the post….举例来说正是你有没有Chitika公司的广告,在后… … 。
Thanks谢谢
July 28th, 2008 00:18 2008年7月28日00:18
Hi,嗨,
Thank you for the useful and helpful tips.感谢你为有用的和有用的提示。 The tips make me excited to display ads in various positions within the post body.提示令我兴奋,显示广告在各个职位,该职位的机构。 I want the ads to display below post content before footer credits.我想的广告展示后下面的内容之前,页脚学分。 I want to display it only in the post page not in the main page.我想它显示,只有在帖子页而不是在主网页。 So, when the user click the “Read More” link/button in the summary of the post in the main page, it will go to the post page and the ads will show below the post content before footer credits only not in the main page.因此,当用户点击“阅读更多内容”链接/按钮,在总结后,在主网页,将到会后的网页和广告将显示在下面的内容后前页脚学分,不但无法在主网页。
I would appreciate so much if you could advise me about it.我将不胜感激这么多,如果你可以告诉我一下。
Again, thank you.再次,谢谢你。
Cheers!干杯!
Dandy丹迪
July 30th, 2008 17:56 2008年7月30日17时56分
Hi,嗨,
Thank you for your useful and excellent posts.感谢您对有用的和优秀的职位。
I have a question, how can I display a slideshow of pictures from my Picasa Web/Photobucket albums WITHIN the post body of my Blogger blog (blogspot)?我有一个问题,我如何才能显示图片幻灯片演示从我的Picasa网络/ photobucket相册内的邮政机构,我的Blogger博客( BlogSpot的) ? And how can I get the embed codes of those albums/pictures?我该怎么去嵌入守则,那些相册/图片?
Looking forward positively to your excellent tips.期待着您的积极优秀的秘诀。
August 20th, 2008 21:14 2008年8月20日21时14分
Thanks, after try and error, finally I got the ad between post in desired position.感谢后,尝试和错误,最后我得到的广告之间的邮政在理想的位置。 Thank you for this great tips..感谢你为这个伟大的秘诀..