Page Summary
-
This API gets information about a selected AdSense account using an HTTP GET request.
-
The request uses gRPC Transcoding syntax and requires a
namepath parameter to specify the account. -
The request body should be empty.
-
A successful response contains an instance of an Account object in the response body.
-
The request requires specific OAuth scopes for authorization.
Gets information about the selected AdSense account.
HTTP request
GET https://adsense.googleapis.com/v2/{name=accounts/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. Account to get information about. Format: accounts/{account} |
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/adsensehttps://www.googleapis.com/auth/adsense.readonly