Hello Readers, in this post I will tell you how to put Qadabra ads unit inside blogger blog post. Qadabra is one the best CPM based ads providers and if you get a good amount of traffic to your site you can easily earn money online with them. It’s been a month now that I am using Qadabra ads and I have posted my review about it. Many of my online readers have asked me how they could put the Qadabra ads unit inside their blog post just like any other ads because it was giving XML parsing errors. Earlier I was using some other ads providers and I had placed their ads unit inside my blog post body. I tried the same procedure with Qadabra ads to put them inside the post body myself and got the XML parsing errors even after parsing the ad code. But today I succeeded in putting the Qadabra ads inside my blog post body and now I am writing a tutorial for the same.
Recommended Articles:
I am dividing the tutorial into two parts, first is the parsing the code to encode all the special characters and the second one is the placement of code. We shall start with parsing the code first:
Part-I
How To Parse Qadabra Ad Code
- Login in to your Qadabra account.
- Add a new placement and copy the ad code from there.
- Now visit this website and put the ad code inside the text area to parse it.
- The parsed code might look like this one:
- But this code is not fully parsed yet. I have highlighted the mistake.
- The '&' (without quotes) is not parsed yet, it was the mistake that was causing the XML parsing errors.
- Replace '&' with '&' (without quotes) to parse this special character.
- Now copy the code and get ready to put it in to your blog post body.
Part-II
How To Place Qadabra Ads In Blog Post
- First of all, login in to your blogger account.
- Take backup of your current blog template, it is recommended to takebackup of your blogger blog before any editing to your blog template.
- Now click on Edit HTML to start the editing.
- Press Ctrl+F and Find the following code:
- It might be occuring more than once in your template so try the last one.
- To put the ads at the beigning and the end, add the following code before and after the above code:
- You can also change alignment of the ads unit by changing the ‘align’ attribute to left or right.
- You can also make the ad units float left or right along with your post text like this:
- Save the template and click on view Blog.
You have successfully placed the Qadabra ads inside the blog post body. It is recommended to use the 320x250 or 336x280 ad units in this placement to get maximum out of it. But still you can experiment with different ads size units. If you face any problem with the above tutorial you can comment here. I will be glad to help you.
Check out our Blogging and SEO section for cool tips/tricks and tutorials like this on Unziptech. It will improve your blogging experience. You can also check out our earn money online section for more online earnings methods.
If you like my work; you can show your regards by hitting Facebook like button, following us on Google+ or Twitter, stumbling our posts on stumble upon or giving us a link back via the links below. Stay tuned for more tech updates.
Thanks for sharing!
ReplyDeleteyou Are Welcome !
ReplyDeleteWhy do this when you can just add a gadget and paste the code in there?
ReplyDeleteLike here: http://codekid101.blogspot.ca/