Filter a delivery priority of placement daisy chaining by country
Sets one delivery priority's filter on a chain grouped by delivery priority, as the priority rows under the console's 'Apply delivery priorities' option do.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/placements/{placementId}/chaining/delivery-priority-filter.do
Sets one delivery priority's filter on a chain grouped by delivery priority, as the priority rows under the console's 'Apply delivery priorities' option do. enabled=true keeps the priority's campaigns or banners in the chain for the countries sent (ISO alpha-2 codes, repeat the parameter; '*' or none sent means every country), replacing the priority's previous countries; enabled=false leaves the priority out of the chain. Grouping switches every priority on for every country. Needs the Daisy Chaining permission and update rights on the placement's site.
Path Params
placementIdintegerrequired
Placement id
4001
Form Params
deliveryPrioritystringrequired
The delivery priority the filter is for
STANDARD_HIGH
enabledbooleanrequired
true keeps the priority in the chain for the countries sent, false leaves it out
true
countriesarray<string>
ISO alpha-2 country codes, or '*' for every country; none sent means every country
US
Responses
200
The chain's settings, as the setup endpoint answers, with deliveryPriorityFilters
400
Daisy chaining is off or not grouped by delivery priority, or an unknown country code
401
Authentication error
403
The Daisy Chaining permission is off, or no update rights on the placement's site