AI-generated Key Takeaways
- 
          This page provides documentation for the directorySites.getmethod to retrieve a single directory site by its ID.
- 
          The HTTP request uses a GET method to a specific URL containing the user profile ID and directory site ID. 
- 
          The request requires two path parameters: profileIdandid, both in string format representing int64 values.
- 
          The request body must be empty. 
- 
          A successful response will contain an instance of a DirectorySiteobject.
- 
          The request requires the https://www.googleapis.com/auth/dfatraffickingOAuth scope for authorization.
Gets one directory site by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/directorySites/{id}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| profileId | 
 User profile ID associated with this request. | 
| id | 
 Directory site ID. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DirectorySite.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/dfatrafficking