AEM Offers/Campaigns import | Community
Skip to main content
Level 2
November 25, 2015
Solved

AEM Offers/Campaigns import

  • November 25, 2015
  • 4 replies
  • 1053 views

Can we import Campaigns/offers from the other systems using RESTful services to AEM? if YES, what are the steps to be followed?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ogill

Hi Sudheer,

as Scott implied this is not a typical use case. With AEM you can either create the personalisation in AEM, or use DTM/Target to do it from the marketing cloud. If you did want to use an external source, then you would have to write the integration yourself which I'm not sure might even be possible.

Regards,

Opkar

4 replies

smacdonald2008
Level 10
November 25, 2015

AEM does not support using REST  to import campaigns from other systems. You use the AEM UI to create campaigns:

https://docs.adobe.com/docs/en/aem/6-1/author/personalization/campaigns.html

https://helpx.adobe.com/experience-manager/using/personal61.html

ogillAdobe EmployeeAccepted solution
Adobe Employee
November 26, 2015

Hi Sudheer,

as Scott implied this is not a typical use case. With AEM you can either create the personalisation in AEM, or use DTM/Target to do it from the marketing cloud. If you did want to use an external source, then you would have to write the integration yourself which I'm not sure might even be possible.

Regards,

Opkar

Jitendra_S_Toma
Level 10
November 27, 2015

Hi,

As you know, AEM does not provide any such integration, So you gotta to build your own to the importer (more like content migration from the third parties). If there is a need for this integration and third party which has all the offers/campaigns provide an API. Then shouldn't be that hard.

Following things to be done:

  1. Design custom XML/JSON for the data transmission.
  2. Write a REST Client to fetch offers/campaigns details.
  3. Observe JCR offer data model in AEM and Use JCR API to create offers pages as per expectation.
  4. Similar things could be done for campaigns.

I entirely agree that it requires much effort to build it. But, I would also say, it is a valid use case. What if Business doesn't want to re-create all existing offers/campaigns in the legacy system into AEM.

kautuk_sahni
Community Manager
Community Manager
November 27, 2015

Hi 

As mentioned by Scott, Opkar and Tomar, we don't have direct integration with campaigns.

We need to achieve it using personalisation in AEM, or as mentioned by Tomar, you would need to build own importer( OSGI service/Component) where we can contact with campaigns via its APIs.

How to create OSGI Service :- https://helpx.adobe.com/experience-manager/using/first-osgi.html

Use of 3rd party :- https://helpx.adobe.com/experience-manager/using/restful-services.html

Adobe Campaign APIs:- https://docs.adobe.com/dev/products/target/reference/legacy/abxt/campaign-create.html

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni