Drops the campaign's own weight on the placement, so the campaign weight applies there again. Requires UPDATE on the campaign's advertiser and the MANAGE_PLACEMENT_WEIGHTS and MANAGE_CAMPAIGN_WEIGHT permissions. Answers {success, campaignId, placementId, weight: null, effectiveWeight}.
Path Params
campaignIdintegerrequired
Unique identifier of the campaign
12
placementIdintegerrequired
Placement any of the campaign's banners is linked to
3001
Responses
200
The override was removed (or there was none)
400
Bad request — invalid or missing parameters
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
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://YOUR-NETWORK-DOMAIN/rest-api/campaign/12/placements/3001/weight.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());