---
title: "GET /userprofiles/{userprofilesId}/operatingSystemVersions"
method: GET
path: "/userprofiles/{userprofilesId}/operatingSystemVersions"
tags: ["operatingSystemVersions"]
---

# GET /userprofiles/{userprofilesId}/operatingSystemVersions

`GET /userprofiles/{userprofilesId}/operatingSystemVersions`

## Request

- Base URL: `https://dfareporting.googleapis.com/dfareporting/v5`
- URL: `https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{userprofilesId}/operatingSystemVersions`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/dfatrafficking`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/dfatrafficking`
- TypeScript: <https://skmtc.dev/google/apis/dfareporting/docs/userprofiles/:userprofilesId/operatingSystemVersions/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of operating system versions.

## Path parameters

- `userprofilesId` string, required

## Response `200`

Successful response

- OperatingSystemVersionsListResponse: Operating System Version List Response
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersionsListResponse".
  - `operatingSystemVersions` OperatingSystemVersion[]: Operating system version collection.
    - `id` string, int64: ID of this operating system version.
    - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
    - `majorVersion` string: Major version (leftmost number) of this operating system version.
    - `minorVersion` string: Minor version (number after the first dot) of this operating system version.
    - `name` string: Name of this operating system version.
    - `operatingSystem` OperatingSystem: Contains information about an operating system that can be targeted by ads.
      - `dartId` string, int64: DART ID of this operating system. This is the ID used for targeting.
      - `desktop` boolean: Whether this operating system is for desktop.
      - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
      - `mobile` boolean: Whether this operating system is for mobile.
      - `name` string: Name of this operating system.

---

[API](https://skmtc.dev/google/apis/dfareporting.md) - [All operations](https://skmtc.dev/google/apis/dfareporting/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dfareporting/revisions/be73a9a450de?raw)
