cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris Marketing Segmentation / ADTRECO Extension integration - debugging/logging

Former Member
0 Kudos
280

i am trying to integrate adtreco extensions with my hybris commerce suite. If i try to select the campaigns at wcms > segmentation > customer rules i get a emptry drop down list.

At the moment i am pretty sure the connection is running fine, but i try to narrow down where an error or mistake happens.

https://ip/sap/opu/odata/sap/CUAN_COMMON_SRV/Initiatives is returning the expected results from hybris marketing.

I don't get any OData / HTTP logs in my tomcat-log folder, so i am not 100% sure if the connection is fine or the OData request is executed succesfully. I hope you can help me with these questions:

  • How to enable logging for adtreco?

  • How to force an odata request from adtreco with logging?

  • How to check if the http connection is fine to my hybris marketing system?

  • How to check if the campaigns and so on are fine on hybris marketing side?

  • do i need a running datahub instance?

  • What i am probably missing?

For verification, i already tried the hybris marketing recommendation addon and i can add the recommendation component without a http destination error, so i assume the connection is fine. I can't test the data exchange here due a lack of recommendation data.

Running Hybris 5.7.0.0 with B2C Telco Template.

I tried everything i found on the wiki & experts forum and don't know how to go further now.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Andreas,

When creating the Customer Segment Rule with a Customer Rule, you should be able to see the left operand "Member of campaigns". When this is selected, along with the proper operator, then you will get the right operand type "Campaigns" with an empty field appearing below. If you type a few characters (search term - for a campaign description) in that field, a search will be triggered (OData call) to retrieve the campaigns with the relevant description. A dropdown list is then displayed with the search results (campaigns descriptions), and you can select a campaign from the list.

  • Logging for the extension should work if you have started your server in debug mode.

  • In case the connection between the commerce and the marketing server is not working properly, an error popup will be displayed when trying to perform a search, and more details would be displayed in the server logs.

  • If there are no errors in the UI or the logs, and still no campaigns are returned in the search result list, then it is possible that the search criteria don't yield any results. You should check the backoffice (or hMC) Segmentation configuration (Campaign Category ID, Origin of Contact ID..) and make sure you have corresponding campaigns in hybris Marketing.

  • At the moment there is no "ping" feature in the backoffice to verify the http connection, the best way to do that for now is to simply test the functionality.

  • Datahub is not required for the ADT extension.

I hope this will help, but please let me know if you're still blocked.

Best Regards, Mourad

Former Member
0 Kudos

Hi , I am not getting search result list of campaigns in cms cockpit while creating the rule. I have checked the response is OK but the feeds do not have any list oc campaigns. Can You pl tell what will be the Campaign Category ID, Origin of Contact ID I need to fill in backoffice. I have created sap account at url https://coeportal218.saphosting.de/sap/ui?sap-client=100
and user id for SAP cloud is P1678464284

In SAP MARKETING CLOUD, where can I get the Campaign Category ID and Origin of Contact ID Thanks

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Naresh,

I have provided an answer on your new thread. If you have additional questions, maybe we can continue the discussion there.

Thanks & Best Regards, Mourad

Former Member
0 Kudos

Hello Naresh,

You have to look at the campaigns that are created in Marketing to determine which campaign category ID to fill in. The origin of Contact ID also depends on how you configured the users you have assigned to the target group of your campaign(s). As I mentioned in the other thread, an example would be to leave Campaign Category to empty (category default), and Origin of Contact ID could be "EMAIL", "SAP_HYBRIS_CONSUMER", etc.

I hope this helps.

Best Regards,

Mourad

Former Member
0 Kudos

Hi Mourad, "Origin of Contact ID " can contain values as "EMAIL", "SAP_HYBRIS_CONSUMER" and I have placed these values one by one in backoffice still list of campaigns in cmscockpit is blank. From where have you found these values and what/where could be the other values? What all I need to do in order to get the list of campaign displayed in cmscockpit for customer segment rule. Also, I have posted fulll details withscreen shot in the seperate question and you can put your comments there also. https://answers.sap.com/questions/12761435/hybris-marketing-segmentation-segment-rules-campai.html

Former Member
0 Kudos

Hi Mourad, The trail account info and you can login to it if you require: Application URL as of 16 dec 2016 https://coeportal218.saphosting.de/sap/ui?sap-client=100&sap-language=EN User Name P1678464284 Naresh#1 Campaign id created: 207696

I am testing the customer segmentation on B2C electronic site.

Former Member
0 Kudos

Hi , I am not getting search result list of campaigns in cms cockpit while creating the rule. I have checked the response is OK but the feeds do not have any list oc campaigns. Can You pl tell what will be the Campaign Category ID, Origin of Contact ID I need to fill in backoffice. I have created sap account at url https://coeportal218.saphosting.de/sap/ui?sap-client=100
and user id for SAP cloud is P1678464284

In SAP MARKETING CLOUD, where can I get the Campaign Category ID and Origin of Contact ID I am using the hybris 6.1 Thanks