Removes the entire pricing configuration for the specified campaign, including all country-level and action-level pricing entries. The campaign's pricing reference is set to null. The caller must have UPDATE permission on the campaign's advertiser and MANAGE_PRICING permission. If no pricing exists for the campaign there is nothing to remove and the answer is the same {success:true}.
Path Params
campaignIdintegerrequired
Unique identifier of the campaign whose pricing to remove
2001
Responses
200
{success:true}: campaign pricing removed, or there was none
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/pricing.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());