Creates a traffic risk score targeting rule for the specified advertiser.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/advertiser/{advertiserId}/targeting/traffic-risk-score/create.do
Creates a traffic risk score targeting rule for the specified advertiser. The rule filters ad requests based on brand safety traffic risk score and optional risk categories. Multiple risk categories can be specified, creating separate targeting rules for each. Requires UPDATE permission on the advertiser and MANAGE_DEMAND_TARGETING user permission.
Path Params
advertiserIdintegerrequired
Unique numeric ID of the advertiser
1234
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