Professional Banner Server Software for Ad Serving  
 
      AdComplete.com, LLC
4536 Grove Park Dr..
Tallahassee, FL  32311
407-551-0777 Phone
 
 
>> How do I call a campaign by keywords?
Keyword campaigns always take priority over evenly distributed, weighted, and default campaigns.  (For more information on campaign priority, see this article.).  Keyword campaigns can be assigned to zones if desired in order to limit their display.

To setup a keyword Campaign...

  1. Add a new campaign and specify the distribution as "Call By Keyword Only".
  2. Specify the keywords to be used by this campaign.  For example, if a company is purchasing a campaign for a keyword of computers then enter "computers".  If entering multiple keywords, separate them by commas.

    Exact Match Keywords -- Enter any exact match keywords or phrases in order to call this ad only for an exact match.  For example, if you enter an exact match phrase of "Ford Escape" and a person searches for "Ford" the campaign will not be served.  It will only be served if "Ford Escape" is searched.


     
  3. Assign the keyword campaign to one or more zones if desired.
Note:  Ban Man Pro will rotate among campaigns with the same keywords.  If using Full-Text indexing, they are rotated based on the rank as returned by SQL server.  A higher rank indicates a closer match and will be displayed more often.  Keyword campaigns are assigned to zones so that you may serve multiple sizes on the same page.

 

To call a campaign by keyword using the ASP.NET control code, use the syntax:

<%@ Register TagPrefix="ucAdvertisement" TagName="ctlDisplayAd" Src="banmanpro/ctlDisplayAd.ascx" %>
<uc1:ctlDisplayAd id="CtlDisplayAd1" runat="server" ZoneID="9" SiteID="1" Keywords="keyword"></uc1:ctlDisplayAd>

For example,

<uc1:ctlDisplayAd id="CtlDisplayAd1" runat="server" ZoneID="9" SiteID="1" Keywords="movies"></uc1:ctlDisplayAd>

will retrieve the campaign with the keyword Movies.   If a ZoneID or ZoneName is not provided and not campaign is found, a 1X1 pixel image is served.  If a ZoneID or ZoneName is provided, Ban Man Pro can still serve an ad in the event that no valid keyword campaign is found. 

To call a campaign using the Advanced Javascript code, non cache defeating code, and the HTML code, you must take on the following to each URL containing the GET statement:

&Keywords=yourkeyword

For example, &Keywords=Movies to retrieve a campaign containing the word movies.

Here is a complete example using the non-cache defeating code...

<!-- Begin Ban Man Pro Banner Code - TestKeywords -->
<IFRAME SRC="http://www.yourdomain.com/banmanpro/banman.asp?ZoneID=71
&Task=Get&PageID=52913&Keywords=Movies" width=150 height=110 Marginwidth=0 
Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No>
<SCRIPT LANGUAGE='JAVASCRIPT1.1' SRC="http://www.yourdomain.com/banmanpro/banman.asp?ZoneID=71&Task=Get
&Browser=NETSCAPE4&NoCache=True&PageID=52913&Keywords=Movies"></SCRIPT>
<NOSCRIPT><a href="http://www.yourdomain.com/banmanpro/banman.asp?ZoneID=71&Task=Click
&Mode=HTML&PageID=52913" target="_new">
<img src="http://www.yourdomain.com/banmanpro/banman.asp?ZoneID=71&Task=Get
&Mode=HTML&PageID=52913&Keywords=Movies" width="150" height="110" border="0"></a>
</NOSCRIPT>
</IFRAME>
<!-- End Ban Man Pro Banner Code - TestKeywords -->

 
 
 
Copyright © 1999-2008 AdComplete.com, LLC All Rights Reserved
Contact Us  |  Privacy Policy