# onPauseForAd

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

Notifies that ad went fullscreen and that application should pause.

### Data passed by the event <a href="#markdown-header-data-passed-by-the-event" id="markdown-header-data-passed-by-the-event"></a>

**placementName**

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

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

```typescript
document.addEventListener('onPauseForAd', (data: any) => {
  console.log('onPauseForAd ' + data.placementName);
});
```
