type CmsMetadataValue (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CmsMetadataService
Key value pair associated with a piece of content from a publisher's CMS.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
|
xsd:long
The ID of this CMS metadata value, to be used in targeting. This field is read-only and
provided by Google.
|
valueName
|
xsd:string
The value of this key-value pair.
|
key
|
CmsMetadataKey
|
status
|
CmsMetadataValueStatus
The status of this CMS metadata value.
This attribute is read-only.
Enumerations
-
ACTIVE
-
INACTIVE
-
ARCHIVED
-
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\u003eCmsMetadataValue represents a key-value pair linked to publisher content within their CMS.\u003c/p\u003e\n"],["\u003cp\u003eEach CmsMetadataValue has a unique ID, a value, an associated key, and a status (active, inactive, archived, or unknown).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecmsMetadataValueId\u003c/code\u003e is read-only and assigned by Google, used for targeting purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalueName\u003c/code\u003e field holds the actual value of the key-value pair.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estatus\u003c/code\u003e reflects the current state of the CmsMetadataValue and is read-only.\u003c/p\u003e\n"]]],["The content details `CmsMetadataValue`, a key-value pair for publisher CMS content, accessible via `CmsMetadataService`. It includes a read-only `cmsMetadataValueId` for targeting, a `valueName`, an associated `key`, and a read-only `status`. The `status` can be `ACTIVE`, `INACTIVE`, `ARCHIVED`, or `UNKNOWN`. This data is part of the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type CmsMetadataValue (v202411)\n\n**Service** \n**CmsMetadataService** **Dependencies** \n[CmsMetadataValuePage](/ad-manager/api/reference/v202411/CmsMetadataService.CmsMetadataValuePage) \n▼\n**CmsMetadataValue**\n\nKey value pair associated with a piece of content from a publisher's CMS.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `cmsMetadataValueId` | ` `xsd:`long` The ID of this CMS metadata value, to be used in targeting. This field is read-only and provided by Google. |\n| ### `valueName` | ` `xsd:`string` The value of this key-value pair. |\n| ### `key` | ` `[CmsMetadataKey](/ad-manager/api/reference/v202411/CmsMetadataService.CmsMetadataKey)` ` \u003cbr /\u003e |\n| ### `status` | ` `[CmsMetadataValueStatus](/ad-manager/api/reference/v202411/CmsMetadataService.CmsMetadataValueStatus)` ` The status of this CMS metadata value. This attribute is read-only. *** ** * ** *** **Enumerations** `ACTIVE` : `INACTIVE` : `ARCHIVED` : `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]