The examples below show what adobe.target.applyOffer() usage looks like
-
Description
// example how applyOffer can be used (as globalMbox)
// applies target-global-mbox's mbox call response
$('#applyGlobalMboxContentId').click(function() {
adobe.target.getOffer({
mbox: 'target-global-mbox',
success: function(offer) {
adobe.target.applyOffer({
offer: offer
})
},
error: function() {
}
})
});