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

Target Delivery API - prefetch mbox content - just get 'state'

Avatar

Avatar
Boost 1
Level 1
Dankohn
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Dankohn
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Dankohn
Level 1

25-06-2020

Hi, 

 

I am trying to use the delivery API to get mbox content, but the response does not contain the HTML of the mbox, just a 'state' value with a string.  Even using the exact example in the docs (http://developers.adobetarget.com/api/delivery-api/#tag/Delivery-API) in Postman, I don't get the response they show in the docs.

 

Documentation example request:
{
"id": {
"tntId": "abcdefghijkl00023.1_1"
},
"context": {
"channel": "web",
"address": {
"url": "http://demo.dev.tt-demo.com/demo/store/index.html"
},
"screen": {
"width": 1200,
"height": 1400
}
},
"prefetch": {
"mboxes": {
"name": "SummerOffer",
"index": 1
}
}
}

Example response:
{
"status": 200,
"requestId": "5efee0d8-3779-4b12-a74e-e04848faf191",
"client": "demo",
"id": {
"tntId": "abcdefghijkl00023.1_1"
},
"edgeHost": "mboxedge28.tt.omtrdc.net",
"prefetch": {
"mboxes": [
{
"index": 1,
"name": "SummerOffer",
"options": {
"content": "<p><b>Enjoy this 15% discount on your next purchase</b></p>",
"type": "html",
"eventToken": "GcvBXDhdJFNR9E9r1tgjfmqipf"
}
}
]
}
}

 

My response:

{
    "status"200,
    "requestId""3666d18b-f8a6-4779-b7a8-01bd6b7e4ef9",
    "client""demo",
    "id": {
        "tntId""abcdefghijkl00023.1_0"
    },
    "edgeHost""mboxedge35.tt.omtrdc.net",
    "prefetch": {
        "mboxes": [
            {
                "index"1,
                "name""SummerOffer",
                "state""5cnsooUo5Hh4m3bm9+V5NTKzRQrvhplk3L87l9ODSVc="
            }
        ]
    }
}
 
Any help would be appreciated

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 3
Employee
ben68
Employee

Likes

4 likes

Total Posts

7 posts

Correct Reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 3
Employee
ben68
Employee

Likes

4 likes

Total Posts

7 posts

Correct Reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
ben68
Employee

28-06-2020

Hi,

 

Probably this Target request is not qualifying for the activity. Please check the audience definition and mbox name used to create the activity, it should match the request.

 

Thanks

Answers (0)