> [!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).

[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v23/operating_system_version_constant_query_builder.md.txt) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](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` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[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` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[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.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` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[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.os_major_version

Field descriptionOutput only. The OS Major Version number.
Category`ATTRIBUTE` Data Type`INT32` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[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.os_minor_version

Field descriptionOutput only. The OS Minor Version number.
Category`ATTRIBUTE` Data Type`INT32` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[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.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` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[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)