AI-generated Key Takeaways
-
Lookup an Account using its resource name with a
GET
request to the specified endpoint. -
The request requires specifying the
name
path parameter in the URL, representing the Account's identifier. -
An empty request body is necessary for this operation.
-
Upon success, the response includes detailed information about the Account in the specified format.
-
Authorization is required with scopes allowing read-only or edit access to Analytics data.
Lookup for a single Account.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{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