validate

Validates a native ad AdNode tree. Checks for missing required assets (headline, ad badge, AdChoices) and structural problems.

Return

A validation report with errors and warnings.

Parameters

root

The root node of the layout tree to validate.