- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Looks up information about a sub-account for a specified creationRequestId. If no account exists for the given creationRequestId, returns 404.
HTTP request
GET https://adsenseplatform.googleapis.com/v1/{parent=platforms/*}/accounts:lookup
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Platform who parents the account. Format: platforms/{platform} |
Query parameters
Parameters | |
---|---|
creationRequestId |
Optional. The creationRequestId provided when calling createAccount. |
Request body
The request body must be empty.
Response body
Response definition for the lookup account rpc.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "name": string } |
Fields | |
---|---|
name |
The name of the Account Format: platforms/{platform}/accounts/{account_id} |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/adsense
https://www.googleapis.com/auth/adsense.readonly