---
title: isTemporary
slug: campaign/docs/istemporary
docTags: 
createdAt: 2026-07-02T19:01:46.338Z
---

**Type**: Boolean

**Parameters**

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

**Return values**

- true: Target group is temporary
- false: Target group is not temporary

**Code structure**

```javascript
boolean isTemporary(String sessionId, long filterId)
```
