---
title: "Get rule group details — advertiser"
type: reference
method: GET
path: /rest-api/rules/advertiser/show-details.do
tag: "Targeting Rules"
---

# Get rule group details — advertiser

`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

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `ruleGroupId` | integer | yes | `50` | The unique numeric identifier of the rule group to retrieve |

## 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

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/rules/advertiser/show-details.do?ruleGroupId=50' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/targeting-rules/get-rules-advertiser-show-details