Returns the list of all available device vendors (e.g., Apple, Samsung, Huawei) as a serialized JSON array.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/placement/{placementId}/targeting/device-vendor/values.do
Returns the list of all available device vendors (e.g., Apple, Samsung, Huawei) as a serialized JSON array. Each element contains vendor details including ID and name. These values can be used when creating a device vendor targeting rule. Requires UPDATE permission on the placement's site inventory and MANAGE_SUPPLY_PRE_TARGETING user permission.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/placement/4001/targeting/device-vendor/values.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());