Returns whether competitor separation is on (enableCompetitors) and the linked competitor campaigns, each with id, campaignName and advertiserName.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/competitors.do
Returns whether competitor separation is on (enableCompetitors) and the linked competitor campaigns, each with id, campaignName and advertiserName. With the MASK_CAMPAIGNS permission, competitors of advertisers the caller does not own are shown as CAMPAIGN_{id} / ADVERTISER_{id}. Requires the COMPETITOR_CAMPAIGNS permission and VIEW access to the campaign's advertiser.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/competitors.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());