Expand my Community achievements bar.

Support for qaMode in Node.js On-Device Decisioning?

Avatar

Level 1

Hi all, 

 

The Node.js getOffers() method seems to be ignoring my QA parameters. 


The docs for Node.js getOffers() method indicate that it conforms to the spec for the REST-based Delivery API . 

My request object contains the request.qaMode value as described in the Delivery API spec.

 

const offers = targetClient.getOffers({
// ...
"request": {
//...
"qaMode": {
"token": "s_c15OYe-jBHIvKsmzAuL7zP_DDcGGb87aV06x_KWVo",
"listedActivitiesOnly": true,
"evaluateAsTrueAudienceIds": [],
"previewIndexes": [
{
"activityIndex": 1,
"experienceIndex": 2
}
]
},
// ...
});

However, getOffers() seems to be ignoring this. (I'm 100% sure it's correctly formatted, etc. - it's created & populated using the same code that's creating the qaMode object we pass to the Delivery API endpoint in production.)

Can anyone point me to any documentation on this? 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies