- [Resource: NativeStyle](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles#NativeStyle)
  - [JSON representation](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles#NativeStyle.SCHEMA_REPRESENTATION)
- [NativeStyleStatus](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles#NativeStyleStatus)
- [Methods](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles#METHODS_SUMMARY)

## Resource: NativeStyle

Used to define the look and feel of native ads, for both web and apps. Native styles determine how native creatives look for a segment of inventory.

| JSON representation |
|---|
| ``` { "name": string, "targeting": { object (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/Targeting`) }, "size": { object (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/Size`) }, "creativeTemplate": string, "displayName": string, "htmlSnippet": string, "cssSnippet": string, "status": enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles#NativeStyleStatus`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the `NativeStyle`. Format: `networks/{networkCode}/nativeStyles/{nativeStyleId}` |
| `targeting` | ``object (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/Targeting`)`` Optional. The targeting criteria for this native style. |
| `size` | ``object (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/Size`)`` Required. The size of the native style. |
| `creativeTemplate` | `string` Required. Immutable. The creative template this native style is associated with. Format: "networks/{networkCode}/creativeTemplates/{creativeTemplate}" |
| `displayName` | `string` Required. The display name of the native style. This attribute has a maximum length of 255 characters. |
| `htmlSnippet` | `string` Optional. The HTML snippet of the native style with placeholders for the associated variables. |
| `cssSnippet` | `string` Optional. The CSS snippet of the native style, with placeholders for the associated variables. |
| `status` | ``enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles#NativeStyleStatus`)`` Output only. The status of the native style. |

## NativeStyleStatus

Describes status of the native style.

| Enums ||
|---|---|
| `NATIVE_STYLE_STATUS_UNSPECIFIED` | Default value. This value is unused. |
| `ACTIVE` | The native style is active. Active native styles are used in ad serving. |
| `ARCHIVED` | The native style is archived. Archived native styles are not visible in the UI and not used in ad serving. |
| `INACTIVE` | The native style is inactive. Inactive native styles are not used in ad serving, but visible in the UI. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/batchActivate` | Beginning of non-CRUD Activates a list of `NativeStyle` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/batchArchive` | Archives a list of `NativeStyle` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/batchCreate` | Creates `NativeStyle` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/batchDeactivate` | Deactivates a list of `NativeStyle` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/batchUpdate` | Batch updates `NativeStyle` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/create` | Creates a `NativeStyle` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/get` | Retrieves a `NativeStyle` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/list` | Lists `NativeStyle` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.nativeStyles/patch` | Updates a `NativeStyle` object. |