Returns the DMPs the caller may target, each as an object with dmp (the enum name to send to the DMP create endpoints) and name.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/targeting/dmp/values.do
Returns the DMPs the caller may target, each as an object with dmp (the enum name to send to the DMP create endpoints) and name. Requires MANAGE_DEMAND_TARGETING or MANAGE_SUPPLY_PRE_TARGETING and TARGETING_DMP or PRETARGETING_DMP; a DMP is listed only when its own permission is granted.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/targeting/dmp/values.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());