Skip to content

PlacementPreviewConfig

Configuration for the placement preview sandbox.

optional device?: "desktop" | "tablet" | "mobile"

Device form factor for preview.


optional personalization?: PersonalizationContext

Personalization context for token resolution.


placement: object

The placement output to preview.


optional sandboxed?: boolean

Whether to render in a sandboxed iframe.


optional viewportHeight?: number

Viewport height for preview.


optional viewportWidth?: number

Viewport width for preview.