Creates a custom parameter targeting rule for the specified advertiser.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/advertiser/{advertiserId}/targeting/custom/create.do
Creates a custom parameter targeting rule for the specified advertiser. Supports three modes: EXPRESSION for complex boolean expressions (e.g., '($p1==1 || $p1=="a") && ($p2>=12 && $p2<=22)'), VALUE for simple value matching, and SUBSTRING for partial string matching. When using VALUE or SUBSTRING modes, provide the operation and parameter fields. 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
customValuestringrequired
Custom targeting value — an expression, value, or substring depending on customType
premium_user
customTypestring
Optional custom target type — EXPRESSION, VALUE, or SUBSTRING
VALUE
operationstring
Optional comparison operation — EQUALS, NOT_EQUALS, CONTAINS, or NOT_CONTAINS