AdLayoutScope
Receiver scope for the native ad layout DSL. Provides builder functions for every supported layout node and ad asset.
Inheritors
Properties
Functions
Adds an "Ad" attribution badge. Policy-relevant.
Reserves space for the SDK-owned AdChoices privacy icon. Policy-relevant.
Binds the native ad's advertiser/sponsor name asset.
Binds the native ad's body text asset.
Adds a box (arbitrary positioned) container.
Binds the native ad's call-to-action button asset.
Adds a vertical column container.
Binds the native ad's headline text asset.
Binds the native ad's icon image asset.
Binds the native ad's media asset (image or video).
Binds the native ad's price string asset.
Adds a horizontal row container.
Adds an empty spacer node.
Binds the native ad's star rating asset.
Binds the native ad's store/app name asset.
Adds a static (non-ad) text node.