AdLayoutValidationReport

data class AdLayoutValidationReport(val errors: List<AdLayoutValidationIssue> = emptyList(), val warnings: List<AdLayoutValidationIssue> = emptyList())(source)

Result of validating an AdLayout tree. errors are structural problems that prevent rendering; warnings indicate missing policy-relevant assets (headline, ad badge, AdChoices).

Constructors

Link copied to clipboard
constructor(errors: List<AdLayoutValidationIssue> = emptyList(), warnings: List<AdLayoutValidationIssue> = emptyList())

Properties

Link copied to clipboard

Errors that prevent the layout from rendering.

Link copied to clipboard

True when there are warnings.

Link copied to clipboard

True when there are no errors (warnings are acceptable).

Link copied to clipboard

Warnings about missing policy-relevant assets.