AI-generated Key Takeaways
-
This documentation describes how to get a single site by ID using an HTTP GET request.
-
The HTTP request requires a user profile ID and site ID as path parameters.
-
The request body for this operation must be empty.
-
A successful response body will contain an instance of the Site resource.
-
The request requires authorization using the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
Gets one site by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/sites/{id}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
id |
Site ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Site.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking