Returns every custom (additional) field the network defines for the entity type, with the entity's value.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/additional-fields/{entityType}/{entityId}.do
Returns every custom (additional) field the network defines for the entity type, with the entity's value. A field the entity has no value for comes back with value null. These are the fields of the console's Basic Info card; their definitions are managed under /rest-api/additional-entity-fields-configuration. Needs view rights on the entity: the advertiser's share for an advertiser, campaign or banner, the site's share for a site, zone or placement.
Path Params
entityTypestringrequired
Entity type the fields belong to
CAMPAIGN
entityIdintegerrequired
Id of the advertiser, campaign, banner, site, zone or placement
2001
Responses
200
'fields' lists {id, name, title, value} for each field of the entity type
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/additional-fields/CAMPAIGN/2001.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());