Lists the companion ads of a video banner, as the console's Companions grid does.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/vast/companions.do
Lists the companion ads of a video banner, as the console's Companions grid does. Needs the VAST Companion Ads permission and view rights on the banner's advertiser.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/banner/5001/vast/companions.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());