Re: Target Groups?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Content Selection Framework > Re: Target Groups?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Target Groups?  
Andy Xu[MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-04 07:36 PM

Hi, Owen,

My understanding is you have an expression which is something like "Targetin
gContext.Keywords" contains "GIL_signup" and you want to show the advertisem
ent which requires this target expression, correct?

If that's the case, you need to do the following steps
1) use bizdesk "Profiles" --> "Profile Definition Designer" to add a "keywor
ds" property to Targeting context
2) use bizdesk "Campaigns" module to create a target group to contain this e
xpression and remember to set the targeting action to "require" in the targe
t group.
3) use bizdesk, edit the advertisement to target the target group we created
 in step 2
4) in your runtime site, add that keyword to Targeting context and set Conte
ntSelector's targeting context before calling GetContent. refer to the follo
wing code snippet (in which i always add that keyword. you
probably want to do it under certain circumstance based on your need)

/**************** code snippet *************************/
Dim cso As ContentSelector
cso = CommerceContext.Current.TargetingSystem.SelectionContexts(ctxt).GetSel
ector()
cso.ItemsRequested = 1

Dim targetProfile As Profile
targetProfile = CommerceContext.Current.TargetingSystem.TargetingContextProf
ile

targetProfile("Keywords").Value = "GIL_signup"

cso.Profiles.Add("targetingContext", targetProfile)

cso.GetContent()
/*************** end of code snippet *******************/

HTH,
-- Andy

--------------------
From: "Owen Mortensen" <ojm.NO_SPAM@acm.org>
References: <OjNFYI$wDHA.3224@tk2msftngp13.phx.gbl>
Subject: Re: Target Groups?
Date: Tue, 16 Dec 2003 11:20:19 -0700
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <etBxFFAxDHA.2440@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.commerceserver.campaigns_csf
NNTP-Posting-Host: 207.182.37.201
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT
NGP12.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.commerceserver.campaigns_csf:243
4
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf

OK, the target group has information that says a certain expression must be
true.  The expression has XML in it that evaluates to the string
"GIL_signup" under context.keywords. This was a "required" tag in the old
SiteServer Adserver stuff. How do I use dot-net to say that this page has
those keywords in the selection framework?

Thanks,
Owen

"Owen Mortensen" <ojm.NO_SPAM@acm.org> wrote in message
news:OjNFYI$wDHA.3224@tk2msftngp13.phx.gbl...
> I've just imported all our ad campaigns from SiteServer3.0.  However, none
> of the ads are being displayed.
>
> I think my problem is that I do not understand how to use the "Target
> groups:" to target the ads.  I have one ad, for example, that transferred
> from SiteServer3.0 with a Target group of ":140,R".  How do I use this in
> the page display code to get the ad to display?
>
> Oh, yes.  I'm using CommerceServer2002 on Windows Server 2003 and dot-net.
>
> Thanks,
> Owen
> nospam....
>
>




--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of incl
uded script samples are subject to the terms specified at http://www.microsoft.com
/info/cpyright.htm





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register