NativeTemplateStyle
The NativeTemplateStyle class configures the visual styling template and color customization for native overlay ads.
Constants
Templates
NativeTemplateStyle.SMALLNativeTemplateStyle.MEDIUM
NativeTemplateStyle.SmallNativeTemplateStyle.Medium
Properties
template_id / TemplateId
The template layout choice ("small" or "medium").
main_background_color / MainBackgroundColor
The background color of the native ad layout container.
primary_text / PrimaryText
TextStyle configuration for the ad's main title/heading text.
secondary_text / SecondaryText
TextStyle configuration for the ad's body/description text.
tertiary_text / TertiaryText
TextStyle configuration for third-tier textual metadata.
call_to_action_text / CallToActionText
TextStyle configuration for the clickable button / Call To Action text field.