Removes the country-specific pricing entry for the specified campaign and country code. Campaign pricing must already exist; otherwise a 400 error is returned. The code is case-insensitive, and GB reaches the price stored under UK. The caller must have UPDATE permission on the campaign's advertiser and MANAGE_PRICING permission.
Path Params
campaignIdintegerrequired
Unique identifier of the campaign
2001
countryCodestringrequired
ISO 3166 two-letter country code to remove pricing for
US
Responses
200
Country pricing removed
400
Unknown country code or pricing not set
401
Authentication error
403
Not enough permissions
404
Campaign 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/campaign/2001/pricing/US.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());