Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 1st edition of the Target Community Lens newsletter is out now! Click to the right to find all the latest updates

How to use JSON offer to create an activity


Level 2

So I have list of JSON offers created using AEM . How can I use the JSON offers to create an activity in Target . Till now we are using HTML offers for creating activity. Is there any DEV work needed or Business authors can use the platform to create an activity.

I tried searching for any documentation but couldn't get anything from Adobe Documentation

2 Replies


Level 2

Hi @indranilm,


You can use JSON offers in Adobe Target, but only using the form-based composer and not the Visual Experience Composer (VEC).


More JSON considerations:

  • JSON offers are currently available only for A/B Tests, Automated Personalization (AP), and Experience Targeting (XT) activities.
  • JSON offer can be retrieved directly when you are using the Server Side APIs and Mobile Node.js, Java, .NET, and Python SDKs.
  • In the browser, JSON offers can be retrieved ONLY via at.js 1.2.3 (or later) and using getOffer() by filtering actions using the setJson action.
  • JSON offers are delivered as native JSON objects rather than as strings. Consumers of these objects are no longer required to handle objects as strings and convert them to JSON objects.
  • JSON offers are not applied automatically as opposed to other offers (such as HTML offers) because JSON offers are non-visual offers. Developers must write code to get the offer using getOffer explicitly ().

1. Creating a JSON offer:


2. Click Offers > Code Offers.


3. Type an offer name.

4. Type or paste your JSON code in the Code box.

5. Click Save.



Also, there is an integration between AEM and Adobe Target which you might want to look into:


I hope this helps.



Community Advisor

Hi @indranilm,

In case you need to insert the offers always in a same pattern in a page etc. You can also write an HTML offer that ensures that the data from the JSON (which you can get with - is used to display your activity accordingly.


Hope this helps you.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now