AI-generated Key Takeaways
-
Retrieves a specific postal code using its ID and the associated user profile ID.
-
Utilizes a
GET
request with path parameters forprofileId
andcode
. -
Requires an empty request body and returns a
PostalCode
object in the response. -
Needs authorization with the
dfatrafficking
scope.
Gets one postal code by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/postalCodes/{code}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
profileId |
User profile ID associated with this request. |
code |
Postal code ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PostalCode
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking