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的網頁元素的小裝置
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable檢索和獲取的WordPress張貼ID以外的迴路作為PHP變量
- Trick to Add AdSense, AdBrite and Other JavaScript Ad Code Directly to Blogger HTML Template伎倆AdSense新增, adbrite和其他JavaScript廣告代碼直接到Blogger HTML模板
- 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..感謝你為這個偉大的秘訣..