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類別