Content Selection Framework - Creating Ads based on user landing

This is Interesting: Free IT Magazines  
Home > Archive > Content Selection Framework > June 2006 > Creating Ads based on user landing





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]

Author Creating Ads based on user landing
ukeu

2006-06-06, 7:19 am

Hi,
I have different types of users landing on the CS retail site. I need
to give different ads for these types. All the users are not registered.
So I cant use a profile to set the target expression. Is there any way in
which I can crack this using campaign manager. Please help

Ravi Shankar

2006-06-06, 1:20 pm

ukeu,

You can still use the profile object.. he "usertype" field (Anonymous or
Registered) can be used as your targeting condition ! What is the third type
of user ?
--
Ravi Shankar


"ukeu" wrote:

> Hi,
> I have different types of users landing on the CS retail site. I need
> to give different ads for these types. All the users are not registered.
> So I cant use a profile to set the target expression. Is there any way in
> which I can crack this using campaign manager. Please help
>
>

ukeu

2006-06-06, 1:20 pm

Hi Ravi,
Thanks for your inputs. I do not currently enter an anonymous
user's details on the user object table. I maintain them at the cookie. So
anyway I can assign an ad to the user type?

Ravi Shankar

2006-06-08, 7:19 am

Hi ukeu,

The basic behaviour of the site is to create a userprofile based on the
cookie set. You would have modified the code to prevent anonymous profiles
from being saved to the DB. This does not imply that the authentication
objects do not internally create profile objects for the duration of the
visit. You can verify this by checking if the CommerceContext.UserProfile
object is null or nothing.... if this is set then you can assign this to the
targeting context and check for anonymous users vrs registered users in this
profile. That would resolve your problem.

--
Ravi Shankar


"ukeu" wrote:

> Hi Ravi,
> Thanks for your inputs. I do not currently enter an anonymous
> user's details on the user object table. I maintain them at the cookie. So
> anyway I can assign an ad to the user type?
>
>

ukeu

2006-06-09, 7:18 am

Thanks Ravi. Let me explain my problem. I have various kinds of users, one
type who come from another partner site, one type who are registered
users, and a few other user types like these. I identify the user type of
a user only after a user lands on the type. Our client wants to have
various image links(ads) to be displayed to different user types. This
they want to define using campaign manager. How can this be achieved? Is
this possible using targetting context? Kindly explain.

Ravi Shankar

2006-06-10, 11:53 am

thinking aloud ...

I'd extend the UserProfile object to create a field called "Referrer URL"
When I land on the home page of your site, I'd find out who the referrer was
and store it into thi value for the anonymous profile created.... and use the
anonymous profile for content targetting. If this anonymous user logs in, I'd
convert this anonymous user profile to the logged in user profile (and copy
the "Referrer URL" also)...

Then I'd be able to create add conditions where I can check
1. If the current user is an anonymous user
2. OR the current user is a registered user
3. Anonymous user referred to me by Site A or B or whatever
4. Registered user referred to me by site A or B...

Would that address your requirement ?
--
Ravi Shankar


"ukeu" wrote:

> Thanks Ravi. Let me explain my problem. I have various kinds of users, one
> type who come from another partner site, one type who are registered
> users, and a few other user types like these. I identify the user type of
> a user only after a user lands on the type. Our client wants to have
> various image links(ads) to be displayed to different user types. This
> they want to define using campaign manager. How can this be achieved? Is
> this possible using targetting context? Kindly explain.
>
>

Ravi Shankar

2006-06-10, 1:17 pm

thinking aloud ...

I'd extend the UserProfile object to create a field called "Referrer URL"
When I land on the home page of your site, I'd find out who the referrer was
and store it into thi value for the anonymous profile created.... and use the
anonymous profile for content targetting. If this anonymous user logs in, I'd
convert this anonymous user profile to the logged in user profile (and copy
the "Referrer URL" also)...

Then I'd be able to create add conditions where I can check
1. If the current user is an anonymous user
2. OR the current user is a registered user
3. Anonymous user referred to me by Site A or B or whatever
4. Registered user referred to me by site A or B...

Would that address your requirement ?
--
Ravi Shankar


"ukeu" wrote:

> Thanks Ravi. Let me explain my problem. I have various kinds of users, one
> type who come from another partner site, one type who are registered
> users, and a few other user types like these. I identify the user type of
> a user only after a user lands on the type. Our client wants to have
> various image links(ads) to be displayed to different user types. This
> they want to define using campaign manager. How can this be achieved? Is
> this possible using targetting context? Kindly explain.
>
>

ukeu

2006-06-12, 3:48 am

Hi Ravi: The solution sounds fine but the only catch here would be
anonymous users-Our client doesnt want us to store anonymous profiles in
the user object table Targetting context cant be used in this case
right??

ukeu

2006-06-12, 7:20 am

Hi Ravi: The solution sounds fine but the only catch here would be
anonymous users-Our client doesnt want us to store anonymous profiles in
the user object table Targetting context cant be used in this case
right??

Ravi Shankar

2006-06-12, 9:43 am

In my previous to previous response I had mentioned that storage of a profile
is driven through code. So in your authentication moule you'd check if this
is an anonymous profile.. if it is don't store it (and it will not get into
the UserObject Table) but it'd exist as a profile assigned to the
CommerceContext.UserProfile for the duration of that visit. So where so you
see a problem in this ????

And when the user authenticates, you replace the anonymous profile in
CommerceContect with the authenticated Users profile and copy the "Referrer"
from the anonymous profile into the commerce context authenticated user
profile.
--
Ravi Shankar


"ukeu" wrote:

> Hi Ravi: The solution sounds fine but the only catch here would be
> anonymous users-Our client doesnt want us to store anonymous profiles in
> the user object table Targetting context cant be used in this case
> right??
>
>

Ravi Shankar

2006-06-12, 1:19 pm

In my previous to previous response I had mentioned that storage of a profile
is driven through code. So in your authentication moule you'd check if this
is an anonymous profile.. if it is don't store it (and it will not get into
the UserObject Table) but it'd exist as a profile assigned to the
CommerceContext.UserProfile for the duration of that visit. So where so you
see a problem in this ????

And when the user authenticates, you replace the anonymous profile in
CommerceContect with the authenticated Users profile and copy the "Referrer"
from the anonymous profile into the commerce context authenticated user
profile.
--
Ravi Shankar


"ukeu" wrote:

> Hi Ravi: The solution sounds fine but the only catch here would be
> anonymous users-Our client doesnt want us to store anonymous profiles in
> the user object table Targetting context cant be used in this case
> right??
>
>

J.F. Larente

2006-06-15, 12:02 pm

My opinion:

If there are "session" or "context" type of values you need to target on,
you can use and extend the Targeting Context to store values you wish to
target without having to store them in the Profile Object. The disadvantage
of using the UserObject for all targeting aspects (including referrer and
other transient data) is that you are adding complexity to your object.

ctx = CommerceContext.Current;
ContentSelector cso =
ctx.TargetingSystem.SelectionContexts["advertising"].GetSelector();
ctx.TargetingSystem.TargetingContext["PageGroup"].Value =
"premium";
ctx.TargetingSystem.Profiles.Add("TargetingContext",
ctx.TargetingSystem.TargetingContextProfile);
ctx.TargetingSystem.Profiles.Add("User", ctx.UserProfile);
StringCollection content = cso.GetContent();

This way, you can customize your TargetingContext object without affecting
your UserObject.

Hope this helps,

J.F. Larente

"Ravi Shankar" <shankycheil@newsgroup.nospam> wrote in message
news:90B61738-BEA6-4405-81D1-BA08951F9B52@microsoft.com...[vbcol=seagreen]
> In my previous to previous response I had mentioned that storage of a
> profile
> is driven through code. So in your authentication moule you'd check if
> this
> is an anonymous profile.. if it is don't store it (and it will not get
> into
> the UserObject Table) but it'd exist as a profile assigned to the
> CommerceContext.UserProfile for the duration of that visit. So where so
> you
> see a problem in this ????
>
> And when the user authenticates, you replace the anonymous profile in
> CommerceContect with the authenticated Users profile and copy the
> "Referrer"
> from the anonymous profile into the commerce context authenticated user
> profile.
> --
> Ravi Shankar
>
>
> "ukeu" wrote:
>


J.F. Larente

2006-06-15, 1:19 pm

My opinion:

If there are "session" or "context" type of values you need to target on,
you can use and extend the Targeting Context to store values you wish to
target without having to store them in the Profile Object. The disadvantage
of using the UserObject for all targeting aspects (including referrer and
other transient data) is that you are adding complexity to your object.

ctx = CommerceContext.Current;
ContentSelector cso =
ctx.TargetingSystem.SelectionContexts["advertising"].GetSelector();
ctx.TargetingSystem.TargetingContext["PageGroup"].Value =
"premium";
ctx.TargetingSystem.Profiles.Add("TargetingContext",
ctx.TargetingSystem.TargetingContextProfile);
ctx.TargetingSystem.Profiles.Add("User", ctx.UserProfile);
StringCollection content = cso.GetContent();

This way, you can customize your TargetingContext object without affecting
your UserObject.

Hope this helps,

J.F. Larente

"Ravi Shankar" <shankycheil@newsgroup.nospam> wrote in message
news:90B61738-BEA6-4405-81D1-BA08951F9B52@microsoft.com...[vbcol=seagreen]
> In my previous to previous response I had mentioned that storage of a
> profile
> is driven through code. So in your authentication moule you'd check if
> this
> is an anonymous profile.. if it is don't store it (and it will not get
> into
> the UserObject Table) but it'd exist as a profile assigned to the
> CommerceContext.UserProfile for the duration of that visit. So where so
> you
> see a problem in this ????
>
> And when the user authenticates, you replace the anonymous profile in
> CommerceContect with the authenticated Users profile and copy the
> "Referrer"
> from the anonymous profile into the commerce context authenticated user
> profile.
> --
> Ravi Shankar
>
>
> "ukeu" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com