AI-generated Key Takeaways
-
This page describes how to get information about a selected sub-account using an HTTP GET request.
-
The request requires a
name
path parameter specifying the platform and account ID. -
The request body must be empty, and a successful response contains an instance of
Account
. -
Authorization requires specific OAuth scopes related to AdSense access.
Gets information about the selected sub-account.
HTTP request
GET https://adsenseplatform.googleapis.com/v1/{name=platforms/*/accounts/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Account to get information about. Format: platforms/{platform}/accounts/{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 one of the following OAuth scopes:
https://www.googleapis.com/auth/adsense
https://www.googleapis.com/auth/adsense.readonly