AdSense Troubleshooting: Extra line breaks

/ Thursday, February 4, 2010 /
This article is about fixing problems with AdSense advertisements that are caused by having extra line-breaks in the ad-code.



Putting AdSense ads into your posts - what can go wrong

Battle of the Canal du Nord - Horse drawn artillery wagonPreviously I've explained how to set up AdSense for your blog, and how to put AdSense advertisements
right inside a post rather than in the header, footer or sidebar.

However AdSense ad code won't work if it has any extra line breaks added to it.  This is why, to put it  you need to paste the code into the editor in Edit HTML mode, not Compose mode.   And to be certain, I also recommend that you make sure the "use <br /> tags" option (previously called "Ignore new lines") is chosen as well.

If you don't do this, ie if you put the code into the Post Editor while you are in Compose mode, Blogger seems to insert extra <br /> tags (ie new lines) in places.  And this causes the ad to not be displayed.


Fixing the problem


If you encounter this problem while putting ad-code into a post in this way, it's best to go in to Edit HTML mode and:
  • remove the whole piece of Ad code
  • in a separate window, log into AdSense (www.google.com/adsense), choose the Ad you want from  from Adsense Setup / Manage Ads
  • copy the ad code
  • swtich back to your blogger window and paste the ad-unit in again
Removing the line-break characters by hand is tedious to do, and I've found it's very hard to get right.




Related Articles:



AdSense Troublehooting hints-and-tips

Putting AdSense ads inside blog posts

The Post Editor's  <br /> tags vs new-line option.

0 comments:

Post a Comment

Labels

Thank you for visiting my site. I’m the author of home decor help, home garden decor, home design interiors, tina 4 home design, uhozz, visit yogurt lab, sitazine, is beauty tips and sunnijati website. Modestop Topmodest Free Beauty Tips Shitazine Sitahouseblog Izhealthy Shitadesign Sitahouse Topmodest Sitazine Irezine Home- decor-design Shitadesign Shitadesign-dot-com Inhomeland inhouseland ghiuldenika inebautystyle enterarteiuna radiodominiopublico biberealexandru fabiobernadosdi geeklore31 syahadah-alhafeezah peaceloveiman bigwideempty techandchefadventures kaosgunlugu fikirkulubleri duazinciri theinternationalrules morefortngintn monkeymanzach lifeatthegreenys photokid84 chelsea-settles chasingmommyhood sexyhotactresseswallpaper tophotnewstodays avvani urbantrendsussex voychic reisyamode sitazine reportmy homedesignideasx mystylepinterest fashionstyleco popularnewstips isexy-hot-girls sexywomengirl trendymodeku derumahdesign womenhairs hackoblogger gadiswomen homeinteriordesignideas1s homedesignideasa uniquehomedesignsw enterpreneurforbloggers earningblogtipss lilyandgiasmom onfeatureblog aboutadsen onblogsocial tecnologiku onlinekutip akuhub caramakemoney youseoneed blogukus newbieblogit adsenseguideto triond-adsense inseoservice intipseoblog otherseoblog freeseoguid seoblognets tawaguideblog seosecretip buzdesign modewomen gayawoman cantikide tipsehat bebeautyps tipsjilbabcantiks idekontenislami healthfitnessnutritionsz jilbab-tips tips-home-decor caramemakaijilbabv beritaremajaterkinie allisoncrewnews mypinspinterest mypinspinterest gogirlsgallery seyhotgirls topmodest worldotgirls seksigirlsblog yourgirlsnet sexywomensia decorativehousedesigns simplebloggertipsz aboutadsense09s marketingner freeseotipstricksz womensiana chicstylegallery oblogkudewe colhomegallery marketserve onlibusiness artodesign designinguide oninteriorhome interiormu intutorblog blogoffeed newbloggerhint enginseo dibisnistips internetmublog onroomdesign homegardenco
 
Copyright © 2010 New Blogger Tips, All rights reserved
Design by DZignine. Powered by Blogger