AI-generated Key Takeaways
- 
          This API retrieves a list of postal codes. 
- 
          The HTTP request uses a GET method and includes a profileId path parameter. 
- 
          The request body must be empty, and the response body contains a list of postal code objects. 
- 
          The API requires the https://www.googleapis.com/auth/dfatraffickingauthorization scope.
Retrieves a list of postal codes.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/postalCodes
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| profileId | 
 User profile ID associated with this request. | 
Request body
The request body must be empty.
Response body
Postal Code postalCodes.list Response
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "kind": string,
  "postalCodes": [
    {
      object ( | 
| Fields | |
|---|---|
| kind | 
 Identifies what kind of resource this is. Value: the fixed string 
 . | 
| postalCodes[] | 
 Postal code collection. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/dfatrafficking