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! 🎉
"qlc": {
"enable": true,
"multiple_quotas": {
"enable": true
}
}
count_by_quota
: false,compensate_by_quota
: falseqlc.multiple_quotas.enable
should be set to true, if qlc.enable
is set to true.qlc.enable
is set to false. In order for QLC to be enabled, your survey must have at least one buyer defined quota.buyer_quota_id
."quotas": [
{
"buyer_quota_id": "1",
"ps_quota_id": "9e90fb74-3f5b-4d0f-92d3-3c920aa1e40e",
"required_count": 300,
"criteria": [
{
"qualification_code": 211,
"condition_codes": [
"111"
]
}
]
}
]
buyer_quota_id
is set to 1
."a_id=[%%buyer_quota_id%%]
. In this case, [%%buyer_quota_id%%]
would correspond to the buyer_quota_id specified when setting up the survey.quota_id
is also compatible with the update survey status API:qlc.enable
is set to false, none of the other options can be set to true. {
"ps_api_response_code": 1014,
"ps_api_response_message": "QLC can only be turned on if there are quotas. Please set QLC to false, or add quotas in order to launch this survey."
}
buyer_quota_supplier_id
request body parameter.{
"survey_title": "Flo Test Survey QLC supplier",
"survey_category_code": 231,
"survey_localization": "en_GB",
"completes_required": 1000,
"expected_ir": 60,
"expected_loi": 60,
"offer_price": 4.5,
"incl_excl": 0,
"live_url": "https://example.com/",
"test_url": "https://test-example.com/",
"field_time": 10,
"billing_id": "PS_123456",
"qualifications": [
{
"qualification_code": 211,
"condition_codes": [
"111"
]
}
],
"quotas": [
{
"buyer_quota_id": "QMales",
"buyer_quota_supplier_id": "QMales",
"required_count": 500,
"criteria": [
{
"qualification_code": 211,
"condition_codes": [
"111"
]
}
]
}
]
}
buyer_quota_supplier_id
is set to QMales
."a_id=[%%buyer_quota_id%%]&sqlc=true
. In this case, [%%buyer_quota_id%%]
would correspond to the buyer_quota_id
specified when setting up the survey.