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

# GET /userprofiles/{userprofilesId}/countries

`GET /userprofiles/{userprofilesId}/countries`

## Request

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

Retrieves a list of countries.

## Path parameters

- `userprofilesId` string, required

## Response `200`

Successful response

- CountriesListResponse: Country List Response
  - `countries` Country[]: Country collection.
    - `countryCode` string: Country code.
    - `dartId` string, int64: DART ID of this country. This is the ID used for targeting and generating reports.
    - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
    - `name` string: Name of this country.
    - `sslEnabled` boolean: Whether ad serving supports secure servers in this country.
    - `tvDataProviders` string[]: Output only. The TV data providers supported in this country.
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#countriesListResponse".

---

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