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