Switches competitor separation off for the campaign and drops its competitor links.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/competitors/disable.do
Switches competitor separation off for the campaign and drops its competitor links. A linked competitor the caller may manage is switched off too once it has no competitors left; competitors outside the caller's shares are left untouched. Requires the COMPETITOR_CAMPAIGNS permission and UPDATE access to the campaign's advertiser.
Path Params
campaignIdintegerrequired
Unique identifier of the campaign
2001
Responses
200
Competitors disabled; enableCompetitors echoes the new state
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/competitors/disable.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());