PlacementPreviewConfig
Configuration for the placement preview sandbox.
Properties
Section titled “Properties”device?
Section titled “device?”
optionaldevice?:"desktop"|"tablet"|"mobile"
Device form factor for preview.
personalization?
Section titled “personalization?”
optionalpersonalization?:PersonalizationContext
Personalization context for token resolution.
placement
Section titled “placement”placement:
object
The placement output to preview.
sandboxed?
Section titled “sandboxed?”
optionalsandboxed?:boolean
Whether to render in a sandboxed iframe.
viewportHeight?
Section titled “viewportHeight?”
optionalviewportHeight?:number
Viewport height for preview.
viewportWidth?
Section titled “viewportWidth?”
optionalviewportWidth?:number
Viewport width for preview.