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

# GET /userprofiles/{userprofilesId}/countries/{countriesId}

`GET /userprofiles/{userprofilesId}/countries/{countriesId}`

## Request

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

Gets one country by ID.

## Path parameters

- `userprofilesId` string, required
- `countriesId` string, required

## Response `200`

Successful response

- Country: Contains information about a country that can be targeted by ads.
  - `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.

---

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