Incorrect DNS Names in Ad Placement Report

ID: Q232530


The information in this article applies to:


SYMPTOMS

If you are using a Redirector to your Web server hosting Ad Server (for example Windows Load Balancing, Cluster Server, or a firewall), the data in the Ad Placement Report may not contain the actual DNS name used to access the server.


CAUSE

The cs-referrer in the log used to generate the Ad Placement Data is the actual server name and not necessarily the actual name used to access the Ad Impressions.


RESOLUTION

To resolve this issue, do the following:

  1. Open the AdLogConvert.vbs file from the Microsoft Site Server\Bin directory in any Text Editor.


  2. Go to Line 307 and insert the following lines:
    Dim sdnsname

    sdnsname = GetArg("dnsname")
    This adds a /dnsname to the existing parameters /in and /out.


  3. Edit line 337, as follows:


  4. change:
    fields("cs(Referer)") = fields("cs-uri-stem")
    to:
    fields("cs(Referer)") = "http://" & sdnsname & ":" & fields("cs-uri-stem")
This takes the DNS name you specified and adds the actual page in which the Ad Impression appeared, for example http://www.myserver.com/myads.asp.


MORE INFORMATION

For more information, see the following article in the Microsoft Knowledge Base:

Q189752 Ad Placement Reports Show "Unknown Placement Location"

Additional query words: AdServer DNS


Keywords          : 
Version           : winnt:3.0
Platform          : winnt 
Issue type        : kbprb 

Last Reviewed: May 19, 1999