Showing posts with label Adesense posting tricks. Show all posts
Showing posts with label Adesense posting tricks. Show all posts

Trick to add adsense between two posts

Blogging platform, now has the ability to allow Blogger users to add AdSense ads in between their posts using Show Ads Between Posts feature. To put and show AdSense ads units between posts in Blogger template is very easy, in fact, users not even need to know any HTML code programming knowledge. Just follow step-by-step instructions at the below guide. 1. Sign into Blogger account. 2. At Blogger Dashboard, click on Settings link listed behind “Manage” for the blog that you want to enable to show AdSense ads between posts. 3. Click on Template tab, and then click on Page Elements sub-tab if it hasn’t been already selected.
On the lower right corner of “Blog Posts” widget, click on Edit link. A “Configure Blog Posts” web page will be loaded, select and tick the check box for Show Ads Between Posts setting under “Select Items” section. # Once “Show Ads Between Posts” option is selected, a “Configure Inline Ads” configuration options section will appear. Here, users can set how often the ads will appear, i.e. to show and display ads after every 1, 2, 3, 4 or 5 posts up to maximum of 3 ads on a web page due to AdSense program policies. You can also choose your prefer ad format for AdSense for Content or Link Units (for ads between posts, rectangle or large rectangle is recommended), and customize the colors of background, border, text, title and URL Click on SAVE CHANGES button when done

Tricks to add Adsense Adbrite Chitika and other Ads directly in your blogger HTML Template

Advanced users of Blogger.com service may have tried to insert and put Google AdSense ad code which is actually a Java script directly into the blog pages by manually editing the XML-based template HTML coding interface. Actually, it’s possible add any ad code by using HTML/JavaScript page element within the Blogger new XML template system, but the place where you can place the new block is rather limited, i.e. above or below the post body, header, footer, within sidebar or between blog posts. In case you want to put the ads inside the post, or align the ads to float and wrap around the text, or just within the single individual article content view, you will have to edit directly the HTML coding of Blogger template. If you try to insert any Google AdSense, AdBrite, AdEngage and any other JavaScript based ad code, or client-side components such as counter, tracker, form, snippet, effect, date and time, etc which is JavaScript based, the following error message may be returned when saving ore previewing:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The processing instruction target matching “[xX][mM][lL]” is not allowed.
or
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The reference to entity “zs” must end with the ‘;’ delimiter.
and many other different XML error message. The problem is caused by incorrect dynamic interpretation of Blogger XML template when it generates the HTML webpage for the blog page that is requested, probably due to the fact that the AdSense ad code or other code is not a valid XML, coupled with the fact that some ASCII characters have special meaning and reserved functions, confusing Blogger blogging .
The resolution to the JavaScript based coding does not work in Blogger HTML template error can be solved by replacing special characters or symbols in the script to HTML code. Check out the list below for which ASCII characters that need to be replaced with their corresponding HTML code. Using HTML code will ensure that Blogger render the character correctly when serving the page to the viewer.
< - < > - >
Above two is enough to make Google AdSense works in Blogger template. For other scripts, such as AdBrite ad code, you will need to replace more characters such as those listed below. & = & ” = "
For example, a Google AdSense code should become looks similar to code below:
<script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXXXX"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "000000"; google_color_text = "000000"; google_color_url = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
While an AdBrite ad code will became the similar code to the below:
<script type="text/javascript"> var AdBrite_Title_Color = '0000FF'; var AdBrite_Text_Color = '000000'; var AdBrite_Background_Color = 'FFFFFF'; var AdBrite_Border_Color = 'FFFFFF'; </script> <script src="http://ads.adbrite.com/mb/text_group.php?sid=303771&zs=3330305f323530" type="text/javascript"></script>
Your Ad Here
Simply use the text editor to parse the code and then replace the characters. Don’t worry about violating AdSense TOS or other terms and conditions, as once the blog’s web pages are rendered and presented to the viewers and visitors, the code will be exactly same as the original code before any replacement! or other way to use Html in to blogger template Step-by-Step Guide:
  • Step 1:
  • Parsed Your AdSense Code:
  • Parse means you make slight modification to the AdSense Code. How do you want to parse the code?
  • Simple. You need to change all the symbols like <, >, and so on in the code to HTML tags.
  • If you are lazy to do it, you can parse the AdSense Code at BlogCrowds.com. BlogCrowds.com offer free parse code service.
Parse Your AdSense Code: http://www.blogcrowds.com/resources/parse_html.php
  • Step Two:
  • Placement of the AdSense Ads your posts:
  • Expand your blog's widget first and find for the code below:
  • i) Place the Ads Next to your posts:
ii) Place the Ads after your posts: Paste the parsed AdSense Code at the place you want the Ads to appear. Then, Save the template. After doing all the steps above, the AdSense Ads will appear in your posts area. The steps mentioned above is only applicable to Blogger.com Customize Template.