enum NativeStyleStatus (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
NativeStyleService
Describes status of the native style.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eNativeStyleStatus describes the current state of a native style, indicating whether it's actively used in ad serving or not.\u003c/p\u003e\n"],["\u003cp\u003eIt has four possible states: \u003ccode\u003eACTIVE\u003c/code\u003e, \u003ccode\u003eARCHIVED\u003c/code\u003e, \u003ccode\u003eINACTIVE\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e, each impacting the visibility and usage of the native style.\u003c/p\u003e\n"],["\u003cp\u003eActive native styles are employed in ad delivery, while archived ones are hidden and inactive styles are visible but not used for serving ads.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUNKNOWN\u003c/code\u003e status is a fallback for cases where the actual status isn't exposed by the API version being used.\u003c/p\u003e\n"]]],["NativeStyleService utilizes `NativeStyle` objects, which have a `NativeStyleStatus`. This status can be `ACTIVE` (used in ad serving), `ARCHIVED` (not used, not visible), `INACTIVE` (not used, visible), or `UNKNOWN` (value not exposed by the API version). The `ACTIVE` status indicates a style is currently being employed for serving ads. The `ARCHIVED` status hides the style. `INACTIVE` status means the style is visible but not in use.\n"],null,["# enum NativeStyleStatus (v202411)\n\n**Service** \n**NativeStyleService** **Dependencies** \n[NativeStyle](/ad-manager/api/reference/v202411/NativeStyleService.NativeStyle) \n▼\n**NativeStyleStatus**\n\nDescribes status of the native style.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-------------|------------------------------------------------------------------------------------------------------------|\n| `ACTIVE` | The native style is active. Active native styles are used in ad serving. |\n| `ARCHIVED` | The native style is archived. Archived native styles are not visible in the UI and not used in ad serving. |\n| `INACTIVE` | The native style is inactive. Inactive native styles are not used in ad serving, but visible in the UI. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]