Creates a traffic risk score targeting rule for the specified placement.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/placement/{placementId}/targeting/traffic-risk-score/create.do
Creates a traffic risk score targeting rule for the specified placement. Targets traffic based on brand safety fraud detection risk levels. Optionally filter by specific risk categories. If multiple risk categories are provided, a separate targeting rule is created for each. Requires UPDATE permission on the placement and MANAGE_SUPPLY_PRE_TARGETING user permission.
Path Params
placementIdintegerrequired
Unique numeric ID of the placement
4001
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
relationstringrequired
Comparison relation — LOWER, GREATER, LOWER_EQUAL, GREATER_EQUAL or 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