One advertising category, with every field a create or an update accepts.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/categories/advertising/{categoryId}.do
One advertising category, with every field a create or an update accepts. Fields: id, name, and type - PUBLIC, offered to every account, or INTERNAL, offered only to roles granted the internal categories. The whole list is GET /rest-api/categories/advertising.do.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/categories/advertising/5.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());