We hope you enjoy our updated documentation! The old documentation website is still available here. Reach out to us with feedback or questions. Happy programming! 🎉
qbp
parameters should be passed to the request body like this:{
...
"qbp" : {
"enable": true,
"quota_ids": [
"abc", // buyer_quota_id
"xyz"
]
"category": "Age" // optional in case of UI.
}
}
{
...
"qbp" : {
"enable": false
}
}
{
"live_url": "http://survey.com/",
"test_url": "http://test.survey.com/",
"survey_title": "Test QPB",
"survey_category_code": 231,
"survey_localization": "en_US",
"completes_required": 100,
"expected_ir": 10,
"expected_loi": 10,
"offer_price": 10,
"field_time": 99,
"qbp": {
"enable": true,
"quota_ids": [
"M",
"F"
]
},
"quotas": [
{
"buyer_quota_id": "M",
"required_count": 50,
"criteria": [
{
"qualification_code": 211,
"condition_codes": [
"111"
]
}
]
},
{
"buyer_quota_id": "F",
"required_count": 50,
"criteria": [
{
"qualification_code": 211,
"condition_codes": [
"112"
]
}
]
}
],
"qualifications": [
{
"condition_codes": [
"111",
"112"
],
"qualification_code": 211
},
{
"range_sets": [
{
"from": 18,
"to": 99,
"units": 311
}
],
"qualification_code": 212
}
]
}