Jumat, 17 September 2010

Insert and Fix Problem Adbrite Code

How to use adbrite in blogger/blogspot ?
You can use the following steps :
1. you got to log in in your google or blogger or blogspot account.
2. go to Dashboard of your blog where you want to put your adbrite ads.
3. click on Layout.
4. Click on add a Gadget,
5. a pop up will show instantly.
6. select HTML/Javascript .
7. a Box will appear. Leave the box blank and go to Adbrite.com, log in ,
8. create the ad and copy the ad code and paste in the description box in the popup. save it. then you are done with placing ad. your ads will show after 24 hrs.

Sometimes Adbrite Javascript get error code. Sample


The adbrite code is:
<!-- Begin: AdBrite, Generated: 2010-09-17 21:06:42 -->
<style type="text/css">
.adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #0000FF;}
.adText {font: normal 10pt Arial; text-decoration: none; color: #000000;}
</style>
<script type="text/javascript">
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1549555&br=1&dk=77656220686f7374696e675f355f325f776562&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
<!-- End: AdBrite -->

To Fix error code look the code :
var AdBrite_Iframe='';var AdBrite_Referrer='';}

then replace with :
var AdBrite_Iframe="";var AdBrite_Referrer="";}

good luck .........


Related Post :



0 comments:

R