09-30-04 01:03 AM
You have a variety of choices. Two involve "filters" that the
ContentSelector executes by default and the third involves creating
expressions.
1. Use the PageGroups filter. E.g. "CSO.PageGroup = TopLeft"
2. Use the Size filter. Create custom 'Sizes' that are really used for
positions. E.g. "CSO.Size = TopLeft"
3. Extend the TargetingContext profile with a "Position" property and
create targeting expressions based on that, then associate those
expressions with the advertisements. You can use the "Require" action to
create a filter so that only matching position values pass. At runtime,
you'll need to create the TargetingContext dictionary (it's a true Profile
in CS2002 .NET Application Framework) and set the Position value.
Choices 1 and 2 are computationally more efficient, but if you use both
PageGroup and Size for their intentended uses then you may have no choice
but to use #3.
-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.
--------------------
Thread-Topic: Migrate campaigns
thread-index: AcSQ/+aJjQmTy24dQumXMusA8idq+A==
X-WBNR-Posting-Host: 148.223.233.103
From: "examnotes" <Alberto
Olivares@discussions.microsoft.com>
Subject: Migrate campaigns
Date: Thu, 2 Sep 2004 08:17:03 -0700
Lines: 19
Message-ID: <B8A44AE1-9F1D-4464-A298-52BCE8CC8ACF@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.campaigns_csf
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2821
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
Hi, i migrate my site from site server to commerce server, in this site i
have distincts campaigns, white site server i see this campaigns in my site
with code like this: <%Set
ad=(Application("Ad")%><%myTags=array("ad.Size.PHoeLeftUp","ad.targetframe.n
w","ad.border.0")%>
, and i have distincts positions to displays this, now whit commerce
server
2002 i can't indicate nothing about positions, please telme is this
posible?,
my site is make in asp, in this moment i can see the campaigns of my site
in
commerce server whit this code:
<%
Set CSO = Server.CreateObject("Commerce.ContentSelector")
Set Ads = CSO.GetContent(Application("CSFAdsContext"))
For Each Ad in Ads
Response.Write(Ad)
Next
%>
but i can't indicate the position, i migrate the campaigns from site server
to commerce server, please telme how can indicate the position and other
options like site server, tanks
[ Post a follow-up to this message ]
|