|
Home > Archive > Commerce Server General > July 2004 > advert order
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi,
I am trying to get Adverts to display in a pre-defined order on a CS2002
site. Is there a property that I have to set to get the ads out in the
order that I'd like?
They are all house ads for now. And I just used some of the sample code to
throw them into a StringCollection. Hmm. maybe that is the answer.
StringCollections don't have an order to them, do they? But I think that
StringCollection is the only way that I know of to get the ads. Does anyone
know of another way?
Also is there an 'approved' way to create new ad types (like image, text,
viginette, etc)? I can do it by DB updates, but that probably isn't the
'proper' way....
Lance
| |
| David Messner [MSFT] 2004-07-15, 5:51 pm |
| From the docs for SelectWinners component:
Selection proceeds are based on score, returning higher scores first. If
multiple paid ads have the same score, selection between them is random.
You could make the ads you want returned first have a higher weight (higher
score). All else being equal, they will be returned first.
The CS2000 resource kit included a little editor tool for creating new ad
types - very handy.
HTH
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.
--------------------
From: "Lance" <news@[nospam]keayweb.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: advert order
Date: Thu, 15 Jul 2004 20:10:09 +0100
Lines: 18
Message-ID: <cd6kk3$e9c$1$8300dec7@news.demon.co.uk>
NNTP-Posting-Host: computerguy1.demon.co.uk
X-Trace: news.demon.co.uk 1089918403 14636 80.176.136.87 (15 Jul 2004
19:06:43 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Thu, 15 Jul 2004 19:06:43 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MSMail-Priority: Normal
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.zanker.org!feeder.ener
tel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!bord
er2.nntp.ams.giganews.com!nntp.giganews.com!news.netcologne.de!nhp.netcologn
e.de!news.clara.net!wagner.news.clara.net!194.159.246.34.MISMATCH!peer-uk.ne
ws.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14259
X-Tomcat-NG: microsoft.public.commerceserver.general
Hi,
I am trying to get Adverts to display in a pre-defined order on a CS2002
site. Is there a property that I have to set to get the ads out in the
order that I'd like?
They are all house ads for now. And I just used some of the sample code to
throw them into a StringCollection. Hmm. maybe that is the answer.
StringCollections don't have an order to them, do they? But I think that
StringCollection is the only way that I know of to get the ads. Does anyone
know of another way?
Also is there an 'approved' way to create new ad types (like image, text,
viginette, etc)? I can do it by DB updates, but that probably isn't the
'proper' way....
Lance
| |
|
| thanks
"David Messner [MSFT]" <davidme@online.microsoft.com> wrote in message
news:dKMJW#raEHA.228@cpmsftngxa06.phx.gbl...
> From the docs for SelectWinners component:
>
> Selection proceeds are based on score, returning higher scores first. If
> multiple paid ads have the same score, selection between them is random.
>
> You could make the ads you want returned first have a higher weight
(higher
> score). All else being equal, they will be returned first.
>
> The CS2000 resource kit included a little editor tool for creating new ad
> types - very handy.
>
> HTH
> -djm
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use. © 2004 Microsoft Corporation. All
rights
> reserved.
>
> --------------------
> From: "Lance" <news@[nospam]keayweb.com>
> Newsgroups: microsoft.public.commerceserver.general
> Subject: advert order
> Date: Thu, 15 Jul 2004 20:10:09 +0100
> Lines: 18
> Message-ID: <cd6kk3$e9c$1$8300dec7@news.demon.co.uk>
> NNTP-Posting-Host: computerguy1.demon.co.uk
> X-Trace: news.demon.co.uk 1089918403 14636 80.176.136.87 (15 Jul 2004
> 19:06:43 GMT)
> X-Complaints-To: abuse@demon.net
> NNTP-Posting-Date: Thu, 15 Jul 2004 19:06:43 +0000 (UTC)
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
> X-Priority: 3
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
> X-MSMail-Priority: Normal
> Path:
>
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
>
8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.zanker.org!feeder.ener
>
tel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!bord
>
er2.nntp.ams.giganews.com!nntp.giganews.com!news.netcologne.de!nhp.netcologn
>
e.de!news.clara.net!wagner.news.clara.net!194.159.246.34.MISMATCH!peer-uk.ne
> ws.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
> Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14259
> X-Tomcat-NG: microsoft.public.commerceserver.general
>
> Hi,
> I am trying to get Adverts to display in a pre-defined order on a CS2002
> site. Is there a property that I have to set to get the ads out in the
> order that I'd like?
>
> They are all house ads for now. And I just used some of the sample code
to
> throw them into a StringCollection. Hmm. maybe that is the answer.
> StringCollections don't have an order to them, do they? But I think that
> StringCollection is the only way that I know of to get the ads. Does
anyone
> know of another way?
>
> Also is there an 'approved' way to create new ad types (like image, text,
> viginette, etc)? I can do it by DB updates, but that probably isn't the
> 'proper' way....
>
> Lance
>
>
>
|
|
|
|
|