|In Ban Man Pro 5.0 and higher, the
following types of ad code are available. You must use the code
produced by Ban Man Pro in its entirety. Making modifications is not
You will notice some of
the ad tags contain a pageID. This is simply for enhanced cache
defeating in very old browsers (version 3.0) and earlier. These
browsers represented a very tiny share of the market and we don't recommend
worrying about modifying this number.
If you are utilizing the companion ads
feature, the PageID does become very important. For the companion
feature to work, two different zones on the same page must have the same
PageID. For more information on the
companion ads feature click here.
|Serves any type of banner including rich
media. Use this code if you are serving rollover, expanding, or moving
banners that cannot be displayed inside the IFRAME window. You can also use
this code if displaying different sized banners in the same zone. This code
does not support the zone refresh option.
Encrypted Java Code
This code is identical to the
Non-IFRAME Java Code (Highly Recommended) code except all parameters passed
in the URL are encrypted to attempt to defeat ad blockers. This code does
not support passing keywords or demographics because of the encryption.
Here is a sampling of this code:
Serves rich media ads and defeats cache. This
zone will refresh every 5 seconds in IFRAME compatible browsers (IE
and Netscape 6 or higher).
|This code is the most flexible
of the browser side codes that we offer. This
code also provides the best performance from a server standpoint in both
memory usage and the speed of delivery of ads. This code is capable of
serving up rich media ads. The browser type is determined using
based on the browser. Be careful when placing this code on your
pages as outlined here so that it appears
properly in Netscape 3. This code also defeats the cache all the
time when reloading a page, even MOST of the time when clicking back on your browser.
IE browsers may not reload a new image when clicking back. This code will
maximize the number of impressions served by your web site. This
code also supports automatically refreshing and loading a new ad every X
seconds in IFRAME compatible browsers.
Here is a sampling of this code:
|Similar to the Advanced
code does not defeat the browser cache when clicking back on your
browser. This code is useful if you are dynamically
generating your pages and can tag on the random PageID number using code.
Please note that in this code the PageID appears in 4 places. This code is
also useful if you aren't concerned about browser
Note: This code should also be used in
This zone will refresh every 5 seconds
in IFRAME compatible browsers (IE and Netscape 6 or higher).
Here is a sample of this code:
|Use this code to display banners using an
ASP.NET control (VB.NET). This code does not support the zone refresh
option. This is probably the most flexible of all the code because all
pages are rendered on the server before being sent back to the browser.
The drawback of this code is that you can only serve a web site URL at which
Ban Man Pro has been installed. Another drawback is that this only
works from within ASP.net web pages.
An example of this code is:
Serves all campaigns in a zone and
rotates them up the page with each refresh. Change
CountImpressions to False if you do not want to count impressions.
Change Total=0 to the total number of banners to display. 0
will display all banners in the zone. For example, if you
have 8 banners in the zone and only want to display four at-a-time
then set Total=4.
Use this code in
email marketing newsletters. This code will ONLY work if your
email marketing system supports embedding a unique number or a
completely random number that is unique to each and every
subscriber. You must replace ##SubscriberID####RND## with the
unique variable for your email marketing system. This code
serves images only and does not support flash or any other
advanced banner. ##SubscriberID####RND## must be numeric. All
zones must also be unique if placing multiple sets of ad tags in
the same email. If you are using eNewsletter Pro as your email
marketing software, please use these two variables in
conjunction: ##SubscriberID####RND## to insert both the
SubscriberID and a random number. If you are in the market
for email marketing
software, please checkout our eNewsletter Pro.
Note: This code can only serve
standard image ads and does not support advanced banners such as
Tooltip Ad Code
Use this code to
display tooltip ads. Tooltip ads will serve only campaigns of
type "Call by Keyword Only" where one or more matching keywords
are found within the TEXT content of the web page. When a match
is found the text is highlighted. An impression is only counted
when a person clicks the highlighted text ad at which time the
actual banner ad is shown and an impression is counted. These
tags are typically placed between the tags on the web page. The
look and feel of the ad can be modified by changing the style
sheet called ToolTipStyle.css.
Click here for more
information on Tooltip Ads