> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-unity-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-unity-integration/other/reference/aatkitbinding/methods/setimpressionaction.md).

# SetImpressionAction

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Sets the impression action for the given placement.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```
SetImpressionAction(placementName, action)
```

placementName **(REQUIRED)**

*string* Unique name of placement. The same name will be used in gravite.net account.

action **(REQUIRED)**

*Action\<AATKitImpression>* Action that will be triggered when impression event occurs.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```csharp
SetImpressionAction("PlacementName", (impression) => {
    Debug.Log("ImpressionAction impression: " + impression);
});
```
