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

# GET /userprofiles/{userprofilesId}/postalCodes/{postalCodesId}

`GET /userprofiles/{userprofilesId}/postalCodes/{postalCodesId}`

## Request

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

Gets one postal code by ID.

## Path parameters

- `userprofilesId` string, required
- `postalCodesId` string, required

## Response `200`

Successful response

- PostalCode: Contains information about a postal code that can be targeted by ads.
  - `code` string: Postal code. This is equivalent to the id field.
  - `countryCode` string: Country code of the country to which this postal code belongs.
  - `countryDartId` string, int64: DART ID of the country to which this postal code belongs.
  - `id` string: ID of this postal code.
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".

---

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