enum ContentStatus (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Describes the status of a Content object.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
ACTIVE
|
Indicates the Content has been created and is eligible to have
ads served against it.
|
INACTIVE
|
Indicates the Content has been deactivated and cannot have ads
served against it.
|
ARCHIVED
|
Indicates the Content has been archived; user-visible.
|
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\u003eContentStatus describes the operational condition of a Content object, indicating whether it's active and eligible for ad serving or inactive/archived.\u003c/p\u003e\n"],["\u003cp\u003eContent objects can hold one of four statuses: \u003ccode\u003eACTIVE\u003c/code\u003e, \u003ccode\u003eINACTIVE\u003c/code\u003e, \u003ccode\u003eARCHIVED\u003c/code\u003e, or \u003ccode\u003eUNKNOWN\u003c/code\u003e, each signifying a different state in the content lifecycle.\u003c/p\u003e\n"],["\u003cp\u003eWhen a Content object has an \u003ccode\u003eACTIVE\u003c/code\u003e status, it means it is ready for ads to be served against it, while an \u003ccode\u003eINACTIVE\u003c/code\u003e or \u003ccode\u003eARCHIVED\u003c/code\u003e status means it is not eligible for ad serving.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUNKNOWN\u003c/code\u003e status is used as a fallback when the actual status of the Content object is not available through the current API version being used.\u003c/p\u003e\n"]]],["The core information defines `ContentStatus` for a `Content` object within the `ContentService`. It outlines four possible statuses: `ACTIVE`, indicating the content can have ads served; `INACTIVE`, meaning ads cannot be served; `ARCHIVED`, denoting archived content that is still visible; and `UNKNOWN`, representing a status not exposed by the current API version. The namespace for this data is provided as `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# enum ContentStatus (v202411)\n\n**Service** \n**ContentService** **Dependencies** \n[Content](/ad-manager/api/reference/v202411/ContentService.Content) \n▼\n**ContentStatus**\n\nDescribes the status of a [Content](/ad-manager/api/reference/v202411/ContentService.Content) object.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ACTIVE` | Indicates the [Content](/ad-manager/api/reference/v202411/ContentService.Content) has been created and is eligible to have ads served against it. |\n| `INACTIVE` | Indicates the [Content](/ad-manager/api/reference/v202411/ContentService.Content) has been deactivated and cannot have ads served against it. |\n| `ARCHIVED` | Indicates the [Content](/ad-manager/api/reference/v202411/ContentService.Content) has been archived; user-visible. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]