Move Blogger Inline Ads Between Posts to Inside Within Post Position动议的Blogger内插广告之间的员额内后的立场

The new Blogger widget based template that built on XML specification has a feature to新的Blogger的窗口小部件为基础的模板,建立在XML规格有一个功能,以 add Google AdSense ad unit inline between posts添加Google AdSense广告单元之间的内插职位 . These inline ads appear between 2 blog posts on homepage, archive and category or label pages, or after the blog content when the single post is viewed individually.这些内置的广告出现在2月之间的博客帖子上的网页,归档和分类或标签的页面,或后,博客内容时,单一的工作地点被认为是个别。 However, the placement 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把Google AdSense广告代码内后 or wrap the ad unit around blog post包装广告单元周围的博客帖子 by editing template’s HTML to insert通过修改模板的HTML插入 modified ad code修改的广告代码 manually.手动。 Some users may feel uneasy on modifying the AdSense ad code as it may violates AdSense TOS.有些使用者可能会感到不安,关于修改AdSense广告代码,因为它可能违反了AdSense的服务条款。 Anyway, there is another workaround to put AdSense ads in Blogger posts, by using trick to move or duplicate built-in inline ads between posts block to inside the post section.无论如何,有另一种可行方案付诸表决, AdSense广告在Blogger的职位,使用的伎俩动议或重复建设,在内置广告之间的职位座内后一节。

  1. To use the trick to move around AdSense ad unit added by Ads Between Posts,使用的伎俩走动AdSense广告单元补充,由广告之间的职位, enable and configure inline ads in Blogger using this guide启用和配置内插广告在Blogger使用本指南 . Note that you must login to your AdSense account from Blogger to establish access authentication.请注意,您必须登录到您的AdSense帐户从Blogger建立接入认证。 If you don’t have AdSense account yet, you can click on Sing Up button to register for one.如果你没有AdSense帐户,但您可以按一下就唱了按钮进行注册为1 。
  2. To display this ad within blog post also, click on Template tab, and then click on Edit HTML sub-tab link to open Blogger HTML code template editor to edit the contents of your template.显示此广告的博客帖子也,点击模板标签,然后点击编辑HTML子标签链接到开放的Blogger的HTML代码模板编辑器编辑的内容,您的范本。

    Blogger的编辑HTML

  3. Backup a copy of your template by click on Download Full Template link, in case it’s is needed be uploaded to Blogger server to recover the template in the event of mistake or corruption.备份的副本,您的范本,由按一下下载完整模板链接,在案件的,是需要被上传到Blogger服务器,以收回模板,在发生错误或腐败。

    Blogger的下载完整模板

  4. Click to tick the Expand Widget Templates checkbox.单击以剔扩展窗口小部件模板复选框。

    Blogger的扩展窗口小部件模板

  5. Find the line with the following text:找到符合下列文字:

    <data:post.body/> <data:post.body/>

    And paste the following block of text before (for ad position before content) or after (for ad position after content) the line above:并粘贴以下文字区块之前, (广告位置之前的内容)或后(广告位置后的内容)线以上:


    <b:if cond='data:post.includeAd'> <b:if cond='data:post.includead'>
    <data:adEnd/> <data:adend/>
    <data:adCode/> <data:adcode/>
    <data:adStart/> <data:adstart/>
    </b:if> < /乙:如果>

    Note that maximum of 3 AdSense for Contents (non Link Unit type) ads are allowed on each page.请注意,最高3 AdSense的内容(非链接单元型)的广告,让每一页上。

  6. If you want the AdSense ads inside blog post to如果您想要AdSense广告内的博客帖子,以 appear only when individual blog post is visited似乎只有当个人博客帖子是访问 , and not on homepage, category or archive pages, wrap the following lines to before and after code added above ,而不是网页,类别或存档页,总结以下线之前和之后的代码补充,上述

    <b:if cond='data:blog.pageType == "item"'> <b:if cond='data:blog.pagetype == "item"'>
    </b:if> < /乙:如果>

    The whole block added will look like below:整个座补充,看起来就像如下:


    <b:if cond='data:blog.pageType == "item"'> <b:if cond='data:blog.pagetype == "item"'>
    <b:if cond='data:post.includeAd'> <b:if cond='data:post.includead'>
    <data:adEnd/> <data:adend/>
    <data:adCode/> <data:adcode/>
    <data:adStart/> <data:adstart/>
    </b:if> < /乙:如果>
    </b:if> < /乙:如果>

  7. After enabling Show Ads Between Posts in step 1, you will notice that AdSense ads will be shown between posts on all multiple blog posts page, and also after the article on individual single post view.之后, 显示广告 ,使岗位之间在第1步,您会发现AdSense广告将显示之间的职位,对所有的博客帖子多页,也后,文章对个别单一的工作地点的看法。 If you don’t want these ads to appear, ie to move built-in inline ads to within post, the locate the following block of text which is same with the one we added above:如果您不想让这些广告出现,即动议内置在内置广告,以符合后,找到下面的文字区块,这是相同的,与我们一说,上述:


    <b:if cond='data:post.includeAd'> <b:if cond='data:post.includead'>
    <data:adEnd/> <data:adend/>
    <data:adCode/> <data:adcode/>
    <data:adStart/> <data:adstart/>
    </b:if> < /乙:如果>

    And delete these code from template.并删除这些代码从模板。 Note that we have just added a same block of code from step above, so do not remove the newly added code, but the existing code in the template.注意,我们刚才说,同一个代码块从上述步骤,所以不要删除新增的代码,但现有的代码模板。

    If you still want the AdSense ad unit to appear between posts when visitors view your blog homepage, label or category pages or archive pages, wrap the code above on top and bottom with the following 2 lines:如果您仍然希望AdSense广告的单位出现岗位之间当访问者查看您的博客网页,标签或分类网页或存档的页面,总结上面的代码对顶部和底部具有下列二行:

    <b:if cond='data:blog.pageType != "item"'> <b:if cond='data:blog.pagetype != "item"'>
    </b:if> < /乙:如果>

    so that it looks like the following:所以,它看起来像以下内容:


    <b:if cond='data:blog.pageType != "item"'> <b:if cond='data:blog.pagetype != "item"'>
    <b:if cond='data:post.includeAd'> <b:if cond='data:post.includead'>
    <data:adEnd/> <data:adend/>
    <data:adCode/> <data:adcode/>
    <data:adStart/> <data:adstart/>
    </b:if> < /乙:如果>
    </b:if> < /乙:如果>

    Note that the two lines should be added to the existing block of code in template, not the block which we added in step above.请注意,两行应该被添加到现有的代码块在模板,而不是块,我们说,在上述步骤。

  8. Click on SAVE TEMPLATE button to save the new hacked template.按一下保存模板按钮来保存新砍死的范本。 Now the ad should be appear inside blog post without actually modify ad code.现在的广告应该出现内的博客帖子,实际上不修改广告代码。 You can also use the same hack theory above to您也可以使用相同的哈克理论以上 place the ads on different location地方的广告不同的位置 .

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 我的数字生活论坛 .



4 Responses to “Move Blogger Inline Ads Between Posts to Inside Within Post Position” 4回应“动议的Blogger内插广告之间的员额内后的地位”

  1. spiderman05
    December 4th, 2007 02:58 2007年12月4日2时58分
    1

    Very interesting post and a very clean way to modify the location of Adsense ads.非常有趣的员额和一个非常清洁的方式来修改的位置AdSense广告。 I applied it to my blog and it works like a charm.我套用到我的博客,它就像一个工程的魅力。

    Thanks.谢谢。

  2. microsoftmic
    February 5th, 2008 12:03 2008年2月5日12时03分
    2

    they had I didn’t and saw and climb in a hollow more than came by themselves他们,我没有看到和爬在一个空心多来自己

  3. Where do I put my ad codes in the HTML box on Blogger?我在哪里把我的广告代码在HTML中框, Blogger吗? - Bloggeries Blog Forum -b loggeries博客论坛
    June 13th, 2008 01:04 2008年6月13日1时04分
    3

    [...] expand widget and look for the codes where you wanted to put the codes.. [ … … ]扩展窗口小部件,并寻找守则那里你想提出的守则.. <dataost.body/> Move Blogger Inline Ads Between Posts to Inside Within Post Position <dataost.body/>动议的Blogger内插广告之间的员额内后的立场

  4. janaxx
    August 9th, 2008 03:27 2008年8月9日3时27分
    4

    cant locate post body tag in my template.. cannot找到后身体标记在我的模板..

Leave a Reply离开的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

blogger Configure Inline Ads Blogger的配置内插广告 - - show image ads between posts blogger 显示图片广告岗位之间的Blogger - - ads between post 广告之间的邮政 - - blogger template inline ads Blogger模板内插广告 - - position codes for blogger 位置码的Blogger - - ads within posts 广告职位 - - how to put ads in blog posting 如何把广告张贴在博客 - - blogger edit single post Blogger的编辑单一邮政 - - - - blogger inline ads Blogger的内插广告 - - placing adsense within post blogger 配售的AdSense后的的Blogger - - blogger ads in post Blogger的广告在后 - - ads between pages 广告页面之间 - - data:adStart 数据: adstart - - how to add ads in between posts blogger 如何添加广告,在岗位之间的Blogger - - ads between blogger post 广告之间的Blogger帖子 - - insert ads in blogger posts 插入的广告在Blogger职位 - - ads in post + blogger 广告在后的Blogger + - - how to remove ads in between post 如何删除的广告之间的邮政 - - IE "ads dont show" 即“广告不要再显示” - - blogger adsense between entries 的Blogger的AdSense之间的参赛作品 - - blogger inline ads not showing up Blogger的内插广告没有显示 - - how to place inline ads in blogger 如何把内插广告在Blogger - - how to insert ads in posts blogspot 如何插入的广告在职位的BlogSpot - - Move Blogger Title text 动议的Blogger的标题文字 - - place ads between posts in blogger 广告放置在岗位之间在Blogger - - ad block inside the post 广告区块内的邮政 - - ads between post blogger 邮政广告之间的Blogger - - hide blogger posts from homepage 隐藏Blogger的员额从网页 - - how to put ads inside article 如何把广告内的文章 - - - - ads inside the post 广告内后 - - sub post tool codes for blogger 分后的工具,代码的Blogger - - blogger with ads Blogger的广告 - - insert ads between posts blogger 插入广告,岗位之间的Blogger - - adsense blogger results "blogger ads" AdSense的Blogger的结果“ Blogger的广告” - - blogger placing ads between posts Blogger的广告放置在岗位之间 - - how to put ads inside blog article 如何把广告内博客文章 - - place ad in posting, blogger 地方的广告在发布时, Blogger - - place ad inline posting, blogger 内置的地方,张贴的广告中, Blogger - - ads posts blogger 广告职位的Blogger - - how to place image ads inside RSS feed 如何把图片广告内的RSS馈送 - - ads on blogger posts 广告的Blogger职位 - - how to place an ad within post in blogger 如何把一个广告后在Blogger - - Inline ads in post body 内插广告在帖子正文 - - show ads between article 显示广告之间的文章 - - - - Enter Email Address: 输入电子邮件地址:


  • Machine Translation机器翻译

    Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/Icelandic
    Traducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/Swedish
    Chyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/Italian
    Traduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplified中文翻译/Chinese Traditionalترجمة الى العربية/ArabicVertaal aan het Nederlands/Dutch
    Μεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/NorwegianTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin




  • Categories类别