type CmsMetadataValue (v202502)
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/v202502
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."],[],["The `CmsMetadataService` uses `CmsMetadataValue` to represent key-value pairs from a publisher's CMS. Each `CmsMetadataValue` has a read-only ID (`cmsMetadataValueId`) for targeting, a `valueName`, and a `key`. Its `status` can be `ACTIVE`, `INACTIVE`, `ARCHIVED`, or `UNKNOWN`. This information can be found on the `CmsMetadataValuePage`. The namespace of the `CmsMetadataValue` is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# type CmsMetadataValue (v202502)\n\n**Service** \n**CmsMetadataService** **Dependencies** \n[CmsMetadataValuePage](/ad-manager/api/reference/v202502/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/v202502`\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/v202502/CmsMetadataService.CmsMetadataKey)` ` \u003cbr /\u003e |\n| ### `status` | ` `[CmsMetadataValueStatus](/ad-manager/api/reference/v202502/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 |"]]