OperatingSystemVersionConstant

  • This content describes an operating system version constant used in Google Ads API, providing details about its fields and how it's used.

  • The resource_name field is an output-only string representing the constant's resource name, formed with the criterion ID.

  • The operator_type field, also output-only, indicates if the constant covers a single operating system version or a range.

  • Other output-only fields include id, name, os_major_version, and os_minor_version, providing the constant's ID, name, major version number, and minor version number, respectively.

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

Fields

resource_name

string

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

operatingSystemVersionConstants/{criterion_id}

operator_type

OperatingSystemVersionOperatorType

Output only. Determines whether this constant represents a single version or a range of versions.

id

int64

Output only. The ID of the operating system version.

name

string

Output only. Name of the operating system.

os_major_version

int32

Output only. The OS Major Version number.

os_minor_version

int32

Output only. The OS Minor Version number.