Deletes the bid floor entry for the specified placement and country combination.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/bid-floor/placement/{placementId}/delete.do
Deletes the bid floor entry for the specified placement and country combination. When the country parameter is '*', the global bid floor is not removed but reset to 0; the country bid floors stay. When a specific country code is provided, only that country's bid floor entry is removed. Requires UPDATE access to the placement's site and ENABLED level on BID_FLOOR_MANAGEMENT permission.
Path Params
placementIdintegerrequired
Unique numeric identifier of the placement whose bid floor entry should be deleted
3001
Form Params
countrystringrequired
ISO alpha-2 country code (e.g., 'US', 'DE') of the bid floor to remove, or '*' to reset the global bid floor to zero
US
Responses
200
Placement bid floor deleted, or the global one reset to 0
400
Unknown country
401
Authentication error
403
Permission denied
404
Placement, its bid floor, or the country's bid floor not found
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/bid-floor/placement/3001/delete.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string> { ["country"] = "US" });
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());