Returns the full details of a specific rule group identified by its ID, including the list of rules it contains, the logical operator (AND/OR), and the include/exclude flag.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/rules/advertiser/show-details.do
Returns the full details of a specific rule group identified by its ID, including the list of rules it contains, the logical operator (AND/OR), and the include/exclude flag. The response JSON contains a 'details' object with the rule group data. The group must belong to an entity of this endpoint's type that the caller may view.
Query Params
ruleGroupIdintegerrequired
The unique numeric identifier of the rule group to retrieve
50
Responses
200
Success
400
Bad request — missing ruleGroupId parameter
401
Unauthorized
403
Forbidden — insufficient permissions
404
No such rule group on an entity of this type that the caller may view
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/rules/advertiser/show-details.do?ruleGroupId=50");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());