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
BedrockMission!

Learn More

View all

Sign in to view all badges

Who Me Too'd this topic

Avatar

Avatar
Validate 1
Level 1
dan_e1982
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
dan_e1982
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
dan_e1982
Level 1

20-04-2021

Hi

I have a secure SPA that we're implementing Target into.  We've decided to utilise the new getOffers() and applyOffers() functions that were part of at.js 2x.

Via a Launch rule we have managed to successfully 'get' the offers, i.e., see the offers associated with the mbox in the response, this is code we've used to do this..

dan_e1982_0-1618984850574.png

However, I've been unable to figure out how to apply any of these offers, the Adobe documentation is a bit sparse, giving no example of how to retrieve the content associated with the mbox, I've attempted the below, which haven't retrieved anything:

 

dan_e1982_1-1618985227080.png

 

 

 

 

 

 

 

 

 

 

 

 

 

Is anybody able to give me any pointers, or examples of the correct syntax I should be using?

Many thanks

Dan

Who Me Too'd this topic