AI-generated Key Takeaways
-
Lookup account details using the provided API endpoint with a GET request.
-
Specify the account to lookup using the
name
path parameter in the formataccounts/{account}
. -
The API requires authorization using specified OAuth scopes for either read or edit access.
-
Successful requests will return an Account object containing the requested account information.
Lookup for a single Account.
HTTP request
GET https://analyticsadmin.googleapis.com/v1beta/{name=accounts/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
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/analytics.readonly
https://www.googleapis.com/auth/analytics.edit