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的職位,使用的伎倆動議或重複建設,在內置廣告之間的職位座內後一節。
- 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 。
- 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代碼模板編輯器編輯的內容,您的範本。
- 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服務器,以收回模板,在發生錯誤或腐敗。
- Click to tick the Expand Widget Templates checkbox.單擊以剔擴展窗口小部件模板複選框。
- 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的內容(非鏈接單元型)的廣告,讓每一頁上。
- 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>< /乙:如果> - 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.請注意,兩行應該被添加到現有的代碼塊在模板,而不是塊,我們說,在上述步驟。
- 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 我的數字生活論壇 . 。
Related Articles相關文章
- How to Wrap AdSense Ads Around and Inline Beside Blogger Post Content如何總結AdSense廣告約和內置旁邊的Blogger帖子內容
- Place AdSense Ad Unit In Various Positions Inside Within Blogger Post Contents地方AdSense廣告單元在各個據點內的Blogger帖子內容
- Add and Insert to Put Google AdSense Ads Units Between Blog Posts in Blogger.com新增和插入把Google AdSense廣告單位之間的博客帖子在blogger.com
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable檢索和獲取的WordPress張貼ID以外的迴路作為PHP變量
- How to Display Elements (Ads) Only On (Or Only Not At) Individual Single Post Item View如何顯示元素(廣告) ,只(或只有不)個別單一郵政項目的看法
- Google AdSense Policy Update Disallows Image Besides Ads Blocks Google AdSense的政策不允許更新的形象,除了廣告區塊
- Migrate and Switch to Blogger Beta: When’s Your Turn?遷移並切換到Blogger試用版:當你打開?
- New Blogger with Category (Labels) and Instant Publishing Features plus New Templates新的Blogger與類別(標籤)和即時發布功能,以及新範本
- Redirect Blogger RSS Feed to FeedBurner for Detailed Statistics and Monetize Ads重定向Blogger的RSS饋送到feedburner為詳細的統計資料和財源的廣告
- Blogger (at BlogSpot) with Category Labels and Drag-and-Drop Template Editing Out of Beta的Blogger ( BlogSpot的)類的標籤和拖放模板編輯完成測試

































December 4th, 2007 02:58 2007年12月4日2時58分
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.謝謝。
February 5th, 2008 12:03 2008年2月5日12時03分
they had I didn’t and saw and climb in a hollow more than came by themselves他們,我沒有看到和爬在一個空心多來自己
June 13th, 2008 01:04 2008年6月13日1時04分
[...] 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內插廣告之間的員額內後的立場
August 9th, 2008 03:27 2008年8月9日3時27分
cant locate post body tag in my template.. cannot找到後身體標記在我的模板..