Retrieves the bid floor configuration for the specified site, including per-country minimum bid prices.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/bid-floor/site/{siteId}.do
Retrieves the bid floor configuration for the specified site, including per-country minimum bid prices. The response contains the site ID, site name, and a bid_floors array where each entry has a country code and the corresponding bid floor value. If the site has no bid floor configured, an empty bid_floors array is returned. Requires ENABLED or READONLY level on the INVENTORY permission.
Path Params
siteIdintegerrequired
Unique numeric identifier of the site whose bid floor configuration should be retrieved
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/bid-floor/site/4001.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());