Creates a traffic risk score targeting rule for the specified zone.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/zone/{zoneId}/targeting/traffic-risk-score/create.do
Creates a traffic risk score targeting rule for the specified zone. Optionally filter by specific risk categories. Requires UPDATE permission on the zone and MANAGE_SUPPLY_PRE_TARGETING user permission.
Path Params
zoneIdintegerrequired
Unique numeric ID of the zone
200
Form Params
rulestringrequired
Targeting rule type — INCLUDE for whitelist or EXCLUDE for blacklist
INCLUDE
riskLevelstringrequired
Traffic fraud risk level threshold. Accepts enum name or integer ID for backward compatibility
NOT_SCORED
relationstring
Comparison relation — LOWER, GREATER, LOWER_EQUAL, GREATER_EQUAL or EQUAL; omitted, it is GREATER_EQUAL
GREATER_EQUAL
riskCategoryarray<string>
Array of risk categories for brand safety targeting. Accepts enum names (e.g. HIGH_RISK_IP), camelCase names (e.g. highRiskIP), or integer IDs