---
title: setDescription
slug: campaign/docs/setdescription-recipientfilter
docTags: 
createdAt: 2026-07-02T19:01:45.566Z
---

:::hint{type="info"}
**Note**
You cannot set the description of a temporary target group. To check whether the target group is temporary, use the [isTemporary](docId\:x4T6WcyIBbOu6GNzp4MtQ)  operation.
:::

**Type**: void

**Parameters**

| Name        | Type   | Value                                    |
| ----------- | ------ | ---------------------------------------- |
| sessionId   | String | ID of the session                        |
| filterId    | long   | ID of the target group                   |
| Description | String | Internal description of the target group |

**Return values**

- **Code structure**

```javascript
void setDescription(String sessionId, long filterId, String description)
```
