# GoogleMobileAds.Api.NativeTemplateStyle

Style options for native templates.

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1a509cfcdb7663a1d4c90bac69eeb031cf()` Creates a [NativeTemplateStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style) using the Small Template[TemplateId](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1adb2ef6c64acf3388a18cbad41b088746). ||
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1a82a7bc9197c4da293b0f8fd431aec394(https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style templateStyle)` Creates a [NativeTemplateStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style) from a given [NativeTemplateStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style). ||

| ### Public attributes ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1a713fff251bc18831f3c9819b51966166` | `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style` The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the call to action. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1ae7daf095f0a3321c55dbe2e5fa63f47e` | `Color` The background color. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1a957ff96db5d2b85d290853628d812a13` | `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style` The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the primary text. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1aa84b00f0eb277d232b602b8541c9862a` | `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style` The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the second row of text in the template. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1adb2ef6c64acf3388a18cbad41b088746` | `string` An identifier representing the native template to render. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1a0661e15163916608a9165b3667dfff59` | `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style` The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the third row of text in the template. |

## Public attributes

### CallToActionText

```c#
NativeTemplateTextStyle CallToActionText
```
The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the call to action.

### MainBackgroundColor

```c#
Color MainBackgroundColor
```
The background color.

### PrimaryText

```c#
NativeTemplateTextStyle PrimaryText
```
The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the primary text.

### SecondaryText

```c#
NativeTemplateTextStyle SecondaryText
```
The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the second row of text in the template.

### TemplateId

```c#
string TemplateId
```
An identifier representing the native template to render.

### TertiaryText

```c#
NativeTemplateTextStyle TertiaryText
```
The [NativeTemplateTextStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-text-style#class_google_mobile_ads_1_1_api_1_1_native_template_text_style) for the third row of text in the template.

## Public functions

### NativeTemplateStyle

```c#
 NativeTemplateStyle()
```
Creates a [NativeTemplateStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style) using the Small Template[TemplateId](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style_1adb2ef6c64acf3388a18cbad41b088746).

### NativeTemplateStyle

```c#
 NativeTemplateStyle(
  NativeTemplateStyle templateStyle
)
```
Creates a [NativeTemplateStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style) from a given [NativeTemplateStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style).

<br />

Details Parameters `templateStyle` The [NativeTemplateStyle](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/native-template-style#class_google_mobile_ads_1_1_api_1_1_native_template_style) parameter to copy.