Here is a sample code - which works for me accordingly in at.js 1.x -
but not in at.js 2.x. If I would remove the action parameter - then it
works accordingly in both. var mbox = 'mboxName'; var selector =
document.querySelector('.className'); adobe.target.getOffer({ mbox:
mbox, success: function (response) { adobe.target.applyOffer({ mbox:
mbox, offer: [{ content: response[0].content, action: 'replaceContent'
}], selector: selector }); }, error: function (status, errorMsg) {
console.log(status,...