AI-generated Key Takeaways
-
This document outlines how to retrieve a single account by its ID using an HTTP GET request.
-
The required information for the request includes a
profileIdand anidprovided as path parameters. -
The request body must be empty, and a successful response will contain an
Accountinstance. -
Access to this function requires the
https://www.googleapis.com/auth/dfatraffickingauthorization scope.
Gets one account by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/accounts/{id}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
id |
Account ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Account.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking