Set campaign weight on a placement
Gives the campaign its own weight on one placement that any of its banners is linked to, replacing its campaign weight in the campaign draw there: summer 3 against fall 1 sends three requests of four to the summer campaign on that placement only.
https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/placements/{placementId}/weight.do Gives the campaign its own weight on one placement that any of its banners is linked to, replacing its campaign weight in the campaign draw there: summer 3 against fall 1 sends three requests of four to the summer campaign on that placement only. 0 keeps the campaign out of the draw on that placement. House ads stay at 0 whatever is set. Requires UPDATE on the campaign's advertiser and the MANAGE_PLACEMENT_WEIGHTS and MANAGE_CAMPAIGN_WEIGHT permissions. Answers {success, campaignId, placementId, weight, effectiveWeight}; read it back with GET /rest-api/campaign/{campaignId}/placements/weights.do.
Path Params
campaignId integer required
Unique identifier of the campaign
12 placementId integer required
Placement any of the campaign's banners is linked to
3001 Form Params
weight integer required
The campaign's weight on this placement, a whole number from 0 to 32767
3 Responses
200
The weight was set
400
The weight is outside 0-32767
401
Authentication error
403
Insufficient permissions, naming the missing one
404
The campaign does not exist, or none of its banners is linked to the placement