Switches competitor separation on for the campaign: its banners are not served on the same page as banners of its competitor campaigns.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/competitors/enable.do
Switches competitor separation on for the campaign: its banners are not served on the same page as banners of its competitor campaigns. Linked competitor campaigns the caller may also manage are switched on with it; competitors of other advertisers the caller has no share on 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 enabled; 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/enable.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());