AI-generated Key Takeaways
-
This page details how to get a single site by ID using an HTTP GET request.
-
The request URL includes path parameters for the user
profileIdand the siteid. -
The request body for this operation must be empty.
-
A successful response body contains an instance of a Site object.
-
Authorization for this request requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
Gets one site by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/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