Set up placement daisy chaining
Switches daisy chaining (the ad waterfall) on or off for a placement and sets its options, as the console's Daisy Chaining card does.
https://YOUR-NETWORK-DOMAIN/rest-api/placements/{placementId}/chaining.do Switches daisy chaining (the ad waterfall) on or off for a placement and sets its options, as the console's Daisy Chaining card does. enabled=true (or a type) switches it on; type chooses whether the chain orders BANNERs or CAMPAIGNs; enabled=false switches it off and drops the chain. lookupDepth, viewPerEntityEnabled/viewPerEntityCount, rotatingEnabled/rotatingCount and groupByDeliveryPriority set the chain's options; only the ones sent change. The options need daisy chaining on - in the same request or before. Needs the Daisy Chaining permission and update rights on the placement's site.
Path Params
placementId integer required
Placement id
4001 Form Params
enabled boolean
true switches daisy chaining on, false switches it off and drops the chain
true groupByDeliveryPriority boolean
Order the chain within each delivery priority
false lookupDepth integer
How many entries of the chain are tried for one ad request, 1 to 100
5 rotatingCount integer
Rotation count when rotatingEnabled, 1 to 10000000
2 rotatingEnabled boolean
Rotate the chain's entries
false type string
What the chain orders: BANNER or CAMPAIGN; switches daisy chaining on
CAMPAIGN viewPerEntityCount integer
Views per entry when viewPerEntityEnabled, 1 to 10000000
3 viewPerEntityEnabled boolean
Cap how many times each entry is shown before the next one
true Responses
200
{placementId, enabled, type, lookupDepth, viewPerEntityEnabled, viewPerEntityCount, rotatingEnabled, rotatingCount, groupByDeliveryPriority}
400
Nothing sent, an option for a placement whose daisy chaining is off, enabled=false together with a type or an option, or a depth or count below 1
401
Authentication error
403
The Daisy Chaining permission is off, or no update rights on the placement's site
404
The placement does not exist or is deleted