AdLayout

data class AdLayout(val root: AdNode)(source)

An immutable, rendered native ad layout tree. Produced by the adLayout DSL function. validation is computed eagerly and reports any missing policy-required assets (headline, ad badge, AdChoices).

Constructors

Link copied to clipboard
constructor(root: AdNode)

Properties

Link copied to clipboard

Stable identity string for the layout, used as a recomposition key.

Link copied to clipboard

The root node of the layout tree.

Link copied to clipboard

Validation report for this layout, computed at construction.