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:
<data:post.body/>
- 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:
<b:if cond='data:blog.pageType == "item"'>
<div align='center'>Paste your parsed ad code here.</div>
</b:if>
- 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:
<b:if cond='data:blog.pageType == "item"'>
<div style='float:left or right'>Paste your parsed ad code here.</div>
</b:if>
- Save the template and click on view Blog.
Note: The ads will only be shown on full post page. Click on any post to open the full post page to see these ads in action.
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.
Do you like this post? Please link back to this article by copying one of the codes below.
URL: HTML link code: BB link code:
This comment has been removed by the author.
ReplyDeleteNice work. Great tutorial.
ReplyDeleteGood Article post
ReplyDeleteWeb Designer in Bangalore
size must be end with delimiter ; error
ReplyDeleteThanks everything is fine
ReplyDeleteGreat..!! Gud luck with the earnings,,
DeleteError parsing XML, line 1351, column 147: The reference to entity "size" must end with the ';' delimiter.
ReplyDeleteerror coming
Brother you have not parsed the code properly..check out the point no. 4,5,6,7 in the first part-Parsing the code..you need to replace the "&" just before the size..It will solve your problem..check the above comment..Rahul had the same problem..
ReplyDeletety problem solved
DeleteGreat,,happy earnings..I have sent you the template as well..Check your email id..
DeleteI am having problems finding the once I do ctrl + f in edit HTML
ReplyDeleteThe code must be there try finding it like this: <data:post.body or post-header-line-1
Deletedid everything as you said but not able to see the ads help
ReplyDeleteDid you get parsing error ?? if yes then check out the part-I carefully..
DeleteHi zafar i did correctly as you told but i didn't get the qadabra ads in my blog. what to do now.
ReplyDeletei find
and pasted the
<b:if cond='data:blog.pageType == "........
these codes above and below <data:post.body/>.
But i didn't get the ads by qadabra in my blog. Please help me
Brother there could be many <data:posy.body tags in your template..So there might be a case that you are dealing with the wrong one..Can you send me your blog template backup so that i could checkout what is going on..
DeleteOk zafar i send to you in your fb message
DeleteIt works like a charm. Thank you very much!
ReplyDeleteThanks..keep visiting for more tutorials..
DeleteThanks bro you solved my problem
ReplyDeleteI am Glad that my tutorial helped you..Go ahead..happy earnings..
Delete