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

# GET /userprofiles/{userprofilesId}/metros

`GET /userprofiles/{userprofilesId}/metros`

## Request

- Base URL: `https://dfareporting.googleapis.com/dfareporting/v5`
- URL: `https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{userprofilesId}/metros`
- 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/metros/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of metros.

## Path parameters

- `userprofilesId` string, required

## Response `200`

Successful response

- MetrosListResponse: Metro List Response
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#metrosListResponse".
  - `metros` Metro[]: Metro collection.
    - `countryCode` string: Country code of the country to which this metro region belongs.
    - `countryDartId` string, int64: DART ID of the country to which this metro region belongs.
    - `dartId` string, int64: DART ID of this metro region.
    - `dmaId` string, int64: DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
    - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
    - `metroCode` string: Metro code of this metro region. This is equivalent to dma_id.
    - `name` string: Name of this metro region.

---

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