cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hybris marketing segmentation segment rules campaign dropdown list is blank.

Former Member
0 Kudos
639

In CMS Cockpit while creating the customer segment rule "member of campaign", on entring minimum 3 digits for example 197, A drop down list should be displayed with search results (campaigns descriptions) but it is displayed as blank. What will be the Campaign Category ID, Origin of Contact ID I need to fill in backoffice. My connection to the sap marketing through OData is success with the following request created: https://coeportal218.saphosting.de/sap/opu/odata/sap/CUAN_COMMON_SRV/Initiatives/?$expand=TargetGrou... eq '5555' and Category/CategoryCode eq '' and (Search/TileFilterCategory eq '1' or Search/TileFilterCategory eq '2')&sap-client=100&saml2=disabled

and my connection url is formed as HttpsURLConnectionImpl (id=30344)
sun.net.www.protocol.https.DelegateHttpsURLConnection:https://coeportal218.saphosting.de/sap/opu/odata/sap/CUAN_COMMON_SRV/$metadata?saml2=disabled

The response status is "OK" In the ADTInitiativesBeCEIImpl.java the ODataFeed.getEntries are coming blank. Repeating my question again, What will be/from where can I get the Campaign Category ID, Origin of Contact ID which I need to fill in backoffice. Are these tow fields mandatory to get the campaigns description in drop down? I am using Hybris 6.1. Also attached the screen shot of cmscockpit btg segment rule. Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Naresh,

FYI - You have posted the question on different threads, so I'll try to consolidate my answer on this one.

As mentioned before, the values you need to maintain in the backoffice configuration tab of SAP Hybris Marketing Segementation really depend on the data you have in your Hybris Marketing system, and the way you configure your target group contacts and your campaigns.

So to take the concrete example you had brought up in the other thread, let's consider your campaign from the trial system (attached screen capture).

  • Campaign Category:

This field is mandatory if you want to specify a campaign category other than category "Default"

This campaign is of category "Export", as shown in campaign UI in the Hybris Marketing system. You need to maintain the corresponding ID of this category (and not the description) . The ID corresponding to "Export" is "ZE" so this is the value you maintain in backoffice.

My understanding is in the Marketing trial system, there is no access to these customizing values, so a quick workaround is to look at the network response in your browser to see the ID corresponding to the category of the campaign.

N.B.: Please note that this campaign seems to be "finished" (Execution Status). Maybe you need to create a copy of this one? The campaign needs to be active/in process to be visible in Commerce.

  • Origin of Contact ID:

This field is mandatory

To determine which origin of contact ID to use, you need to know the "user facet" (Facet ~= Origin of contact ID) you typically address for your users. For example, for this particular campaign, if you go to the assigned target group, you can navigate to any of the users in this target group. When you look at the Contact Profile UI, you will see that multiple facets are assigned, among which is the "Email" facet. It is also enabled for your contact (green). In the context of the Commerce-Marketing integration for personalization, the contact will be identified by the e-mail address he is using to log on to the web shop, therefore it makes sense that you use the "Email" facet. So in the backoffice, you will need to maintain "EMAIL" (the origin of contact ID))

Again, since this is the trial system, you can also get the technical ID of the Origin of Contact ID using the network request preview in the browser, look for the request for the ContactPersonFacets.

I hope this helps!

Please also refer to the hybris help documentation for more details about the configuration of the SAP Hybris Marketing Segmentation extension.

Best Regards,

Mourad

Former Member
0 Kudos

HI Mourad, Thanks for the reply. Helped me to clear many of the doubts. I have put the values for Origin of Contact ID as "EMAIL" and Campaign Category: for Export as ZE. ut still the list of the campaigns empty in cms cockpit after login with the admin/nimda. Back office entries: In Back office, What will be the value for "SAP Logical System"? is it optional? since I am working for customer segmentations, I have kept RFC related fields blank as it is used for Product Recommendations. Placing question for CMS Cockpit in next comment.

Former Member
0 Kudos

Hi Naresh,

Maybe that's related to the fact that your campaign is in execution status "Finished", as mentioned in my previous reply?

Best Regards,

Mourad

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Naresh,

The anonymous user in commerce will be created in Marketing as anonymous contact with the user facet (AKA ID Origin) COOKIE_ID based on commerce interactions that are replicated in marketing. It should look like the below screen capture (not from your system), the piwik ID becomes the contact's ID for this facet. The COOKIE_ID ID Origin should be available in marketing OOTB. It is also the OOTB setting in commerce (for anonymous users with piwik ID).

Hope this helps.

Mourad

![alt text][1] [1]: /storage/temp/7698-anon.png

Former Member
0 Kudos

Hi Mourad, In CMS Cockpit, for the "Member of Campaigns" I have created a rule after selecting one of the campaigns available in Hybris marketing ( I have created one java object of Odata Entry and connection to Marketing is successfull and getting the full info of this hard coded campaign from hybris marketing). I am not able to find anything in wiki for BTGAssignTOSAPInitiativeDefination and what values the attributes Code, Target and [BTGAssignToSAPInitiativeDefinition.initiative] (its not loaclised in my env) will be contained. On saving this where its output result can be seen. What will be the ultimate output result/use case in storefront for end user? I have gone through all the wiki links but not able to get the end result/use case of reccommendation integration. Thanks

Former Member
0 Kudos

Sorry Naresh, I am not sure I understand the question... Regarding the missing localization, are you sure the commerce server is initialized properly? Segmentation and Recommendation are 2 different extensions with different purposes. Segmentation has no real output in the UI! You need to create a UI Component Restriction, of type "Customer Segment Restriction" to consume the customer segment you created using the rule "Member Of Campaign".

Former Member
0 Kudos

Hi Mourad, Question 1) In sap hybris marketing, where the "Piwik" cookie ID of an anonymous user to be passed to the SAP Hybris Marketing server. Can you please tell me how and where can we see this Piwil cookie ID in SAP hybris Marketing? Is this cookie available for the trail hybris marketing account? At hybris storefront at my local browser, I am able to view this cookied id with name _pk_id.123456789.1fff. Thanks

Former Member
0 Kudos

Hi Mourad, I have created a trail account for sap hybris marketing at using the following url: https://coeportal218.saphosting.de/sap/ui?sap-client=100&sap-language=EN User Name: P1942035831 Password: Naresh#1 Pl clarify am I connected to SAP Hybris Marketing or S/4HANA Marketing Cloud and which version (1511 or 1602 or 1605) from the following as I got these lines from wiki? a) Scenarios (valid for SAP Hybris Marketing 1511 and earlier) b) RecommendationScenario (valid for SAP Hybris Marketing as of 1602) c) ProductRecoScenarios (valid for SAP S/4HANA Marketing Cloud as of 1605)