Removes the country-specific price override for the specified banner and country code. The base pricing record for the banner is preserved; only the individual country override is deleted. Returns 400 if no pricing record exists for the banner, 404 if it has no price for the country. The code is case-insensitive, and GB reaches the price stored under UK. Requires UPDATE permission on the banner's advertiser and MANAGE_PRICING permission.
Path Params
bannerIdintegerrequired
ID of the banner to remove country pricing from
3001
countryCodestringrequired
ISO 3166 two-letter country code to remove pricing for
US
Responses
200
Country pricing removed
400
No base pricing yet
401
Authentication error
403
Not enough permissions
404
Banner not found, or it has no price for the country
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://YOUR-NETWORK-DOMAIN/rest-api/banner/3001/pricing/US.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());