> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v23** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/fields/latest/operating_system_version_constant).

[Help me build a query](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant_query_builder.md.txt) [Proto definition ![on GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v23/resources/operating_system_version_constant.proto)

A mobile operating system version or a range of versions, depending on
`operator_type`. List of available mobile platforms at
<https://developers.google.com/google-ads/api/reference/data/codes-formats#mobile-platforms>

## operating_system_version_constant.id

Field descriptionOutput only. The ID of the operating system version.
Category`ATTRIBUTE` Data Type`INT64` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

**Resources:** [campaign_criterion](https://developers.google.com/google-ads/api/fields/v23/campaign_criterion.md.txt), [operating_system_version_constant](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant.md.txt)

## operating_system_version_constant.name

Field descriptionOutput only. Name of the operating system.
Category`ATTRIBUTE` Data Type`STRING` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [operating_system_version_constant.id](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant.md.txt#operating_system_version_constant.id).

## operating_system_version_constant.operator_type

Field descriptionOutput only. Determines whether this constant represents a single version
or a range of versions.
Category`ATTRIBUTE` Data Type`ENUM`
`EQUALS_TO``GREATER_THAN_EQUALS_TO``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v23.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [operating_system_version_constant.id](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant.md.txt#operating_system_version_constant.id).

## operating_system_version_constant.os_major_version

Field descriptionOutput only. The OS Major Version number.
Category`ATTRIBUTE` Data Type`INT32` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [operating_system_version_constant.id](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant.md.txt#operating_system_version_constant.id).

## operating_system_version_constant.os_minor_version

Field descriptionOutput only. The OS Minor Version number.
Category`ATTRIBUTE` Data Type`INT32` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [operating_system_version_constant.id](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant.md.txt#operating_system_version_constant.id).

## operating_system_version_constant.resource_name

Field descriptionOutput only. The resource name of the operating system version constant.
Operating system version constant resource names have the form:

`operatingSystemVersionConstants/{criterion_id}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` CapabilitiesSelectable: True  
Filterable: True  
Sortable: False  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [operating_system_version_constant.id](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant.md.txt#operating_system_version_constant.id).