Post Campaign Bundle Rules
POST {{baseUrl}}/preview/campaigns/:campaignId/targeting/bundle-rules
Inserts a list of targeted bundles for a campaign and sets the targeting mode : blocklisting or allowlisting.
It will replace the current list if any.
Request Body
{"data"=>{"type"=>"<string>", "attributes"=>{"type"=>"BUNDLE", "mode"=>"BLOCKLIST", "data"=>[{"value"=>"<string>", "readOnly"=>"<boolean>", "active"=>"<boolean>"}, {"value"=>"<string>", "readOnly"=>"<boolean>", "active"=>"<boolean>"}]}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":{"type":"\u003cstring\u003e","attributes":{"type":"DOMAIN","mode":"BLOCKLIST","data":[{"value":"\u003cstring\u003e","readOnly":"\u003cboolean\u003e","active":"\u003cboolean\u003e"},{"value":"\u003cstring\u003e","readOnly":"\u003cboolean\u003e","active":"\u003cboolean\u003e"}]}}}