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

Collecting Bounces for Executed Email Campaigns in SAP Marketing cloud

Former Member
0 Likes
1,163

Dear Experts,

We are using generic email service provider for sending emails from Email campaigns. We are using SAP CPI as a middle-ware for integrating SAP Marketing Cloud and Email service provider. Email Service provider is capable of sending the bounce details back to SAP CPI.

Can anyone explain the mechanism after CPI receives the bounce details? How that will be sent to SAP Marketing Cloud and how interaction for bounce will be created against the contact? Is there any OData service needs to be consumed in SAP CPI to send the bounce details or is there any job needs to be scheduled in SAP Marketing Cloud?

Thanks,

Pawan

Accepted Solutions (1)

Accepted Solutions (1)

SCHNEIDERT
Active Contributor

Hi Pawan,

I think you can use the OData Service API_MKT_INTERACTION_SRV and create Interactions of InteractionType EMAIL_BOUNCE_HARD. They are assigned to the contact via the InteractionContactOrigin = EMAIL and InteractionContactId = email-address of the contact.

As communication medium you use EMAIL and then you can also use different InteractionReasons like EMAIL_INVALID (you can create more based on your needs in Customizing) based on different DSN-codes you get back from your Service Provider. Of course you have to do the mapping of the different codes to the reasons on CPI side.

Also remember, InteractionTimeStampUTC field is mandatory.

I think this should work. Hope that helps.

BR Tobias

KunalBansal
SAP Champion
SAP Champion

Totally agreed with Tobias

marc_dorais
Product and Topic Expert
Product and Topic Expert

Hello Pawan,

You cannot use the OData Service API_MKT_INTERACTION_SRV to create interaction of type EMAIL_BOUNCE_HARD. Those interactions must be processed by the interface /bounces of the generic adapter. See the documentation https://help.sap.com/viewer/0f9408e4921e4ba3bb4a7a1f75f837a7/2005.500/en-US/b245f748b0964836b3d4f422...

You can also find a blog https://blogs.sap.com/2018/06/25/sap-marketing-cloud-connect-any-email-service-provider-to-sap-marke... which explain how to get the bounces.

Every 10 minutes the SMC system will try to pull the bounces (GET /bounces)

Best regards,
Marc

SCHNEIDERT
Active Contributor
0 Likes

Hi pawan.hinge,

as marc.dorais explained, you have to use another approach to get the Bounces. Sorry for my wrong statement. I wasn't aware of that approach. Hope Marcs explanation will work.

Thanks for the correction Marc!

BR Tobias

Answers (4)

Answers (4)

KunalBansal
SAP Champion
SAP Champion

Hello Pawan,

Please ignore previous responses.

As Dorais said, you cannot use this API for that, see answer here.

best regards,

Kunal

marc_dorais
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Pawan,

You don't need additional configuration in SMC and you don't need to schedule a job.
SMC will get the information from the communication arrangement for the communication scenario SAP_COM_0234.

Best regards,
Marc

Former Member
0 Likes

Thanks Tobias, Marc and Kunal for your quick inputs.

As mentioned, Every 10 minutes the SMC system will try to pull the bounces (GET /bounces). For this do we need to any configuration in SMC or do we need to schedule a job?

Thanks,

Pawan

Former Member
0 Likes

Thanks Tobias and Kunal !! Will try it out.

SCHNEIDERT
Active Contributor
0 Likes

Hi pawan.hinge,

you should also check this blog series. Especially the third part ("Get Bounces") is interesting for your scenario.

Also check this part of the integration guide.

BR Tobias