[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["Native styles define the appearance of native ads for web and apps, determining how creatives look for inventory segments. Key actions involve creating and updating native styles using `createNativeStyles()` and `updateNativeStyles()`. Each style is defined by its `id`, `name`, `htmlSnippet`, `cssSnippet`, `creativeTemplateId`, `isFluid`, `targeting`, `status`, and `size`. Styles can be `ACTIVE`, `ARCHIVED`, or `INACTIVE`. Targeting is limited to ad unit and key-value targeting. The `NativeStylePage` dependency is used.\n"],null,["**Service** \n**NativeStyleService** **Dependencies** \n[NativeStylePage](/ad-manager/api/reference/v202502/NativeStyleService.NativeStylePage) [createNativeStyles()](/ad-manager/api/reference/v202502/NativeStyleService#createNativeStyles) [updateNativeStyles()](/ad-manager/api/reference/v202502/NativeStyleService#updateNativeStyles) \n▼\n**NativeStyle**\n\nUsed to define the look and feel of native ads, for both web and apps. Native styles determine\nhow native creatives look for a segment of inventory.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | ` `xsd:`long` Uniquely identifies the `NativeStyle`. This attribute is read-only and is assigned by Google when a native style is created. |\n| `name` | ` `xsd:`string` The name of the native style. This attribute is required and has a maximum length of 255 characters. |\n| `htmlSnippet` | ` `xsd:`string` The HTML snippet of the native style with placeholders for the associated variables. This attribute is required. |\n| `cssSnippet` | ` `xsd:`string` The CSS snippet of the native style, with placeholders for the associated variables. This attribute is required. |\n| `creativeTemplateId` | ` `xsd:`long` The creative template ID this native style associated with. This attribute is required on creation and is read-only afterwards. |\n| `isFluid` | ` `xsd:`boolean` Whether this is a fluid size native style. If `true`, this must be used with 1x1 size. |\n| `targeting` | ` `[Targeting](/ad-manager/api/reference/v202502/NativeStyleService.Targeting)` ` The targeting criteria for this native style. Only ad unit and key-value targeting are supported at this time. |\n| `status` | ` `[NativeStyleStatus](/ad-manager/api/reference/v202502/NativeStyleService.NativeStyleStatus)` ` The status of the native style. This attribute is read-only. *** ** * ** *** **Enumerations** `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. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |\n| `size` | ` `[Size](/ad-manager/api/reference/v202502/NativeStyleService.Size)` ` The size of the native style. This attribute is required. |"]]