Creates a cookie value targeting rule for the specified campaign.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/targeting/cookie-value/create.do
Creates a cookie value targeting rule for the specified campaign. A new rule joins the Include or Exclude list it lands in and takes that list's match mode (see targeting/match-mode). The values a list names for one cookie always match on any of them; the mode joins different cookies. Requires UPDATE permission on the campaign and MANAGE_DEMAND_TARGETING user permission.
Path Params
campaignIdintegerrequired
Unique numeric ID of the campaign
1234
Form Params
cookieNamestringrequired
Cookie name to match
user_segment
cookieValuestringrequired
Cookie value to match
premium
rulestringrequired
Targeting rule type
INCLUDE
Responses
200
Success — the response carries the created rule with the matchMode of its list