GoogleMobileAds.Api.NativeTemplateStyle

Style options for native templates.

Summary

Constructors and Destructors

NativeTemplateStyle()
Creates a NativeTemplateStyle using the Small TemplateTemplateId.
NativeTemplateStyle(NativeTemplateStyle templateStyle)
Creates a NativeTemplateStyle from a given NativeTemplateStyle.

Public attributes

CallToActionText
The NativeTemplateTextStyle for the call to action.
MainBackgroundColor
Color
The background color.
PrimaryText
The NativeTemplateTextStyle for the primary text.
SecondaryText
The NativeTemplateTextStyle for the second row of text in the template.
TemplateId
string
An identifier representing the native template to render.
TertiaryText
The NativeTemplateTextStyle for the third row of text in the template.

Public attributes

CallToActionText

NativeTemplateTextStyle CallToActionText

The NativeTemplateTextStyle for the call to action.

MainBackgroundColor

Color MainBackgroundColor

The background color.

PrimaryText

NativeTemplateTextStyle PrimaryText

The NativeTemplateTextStyle for the primary text.

SecondaryText

NativeTemplateTextStyle SecondaryText

The NativeTemplateTextStyle for the second row of text in the template.

TemplateId

string TemplateId

An identifier representing the native template to render.

TertiaryText

NativeTemplateTextStyle TertiaryText

The NativeTemplateTextStyle for the third row of text in the template.

Public functions

NativeTemplateStyle

 NativeTemplateStyle()

Creates a NativeTemplateStyle using the Small TemplateTemplateId.

NativeTemplateStyle

 NativeTemplateStyle(
  NativeTemplateStyle templateStyle
)

Creates a NativeTemplateStyle from a given NativeTemplateStyle.

Details
Parameters
templateStyle
The NativeTemplateStyle parameter to copy.