---
schema_version: "1"
id: 86bae40d41f6efe109e964c627ac2cc79524048660b594937dee6ec2f50c7e89
title: EndImpressionRegion
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_utilitiesEndImpressionRegion.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_utilitiesEndImpressionRegion.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c0ddf9e89715714be9844de0c44760d63af38b755cc55fc3592bb5114bb268ac
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# EndImpressionRegion

## Overview

Sets end of an impression region

### Syntax

EndImpressionRegion(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |     | Description                                                         |
| ------- | ------ | --- | ------------------------------------------------------------------- |
| **1**   | string |     | Insert value of ClearAll to clear all impression region information |

## Example

This sample code ends the impression region. You do not need to specify the region.

```
BeginImpressionRegion("myImpressionRegion");
...
EndImpressionRegion(ClearAll);
```
