AI-generated Key Takeaways
-
Retrieves a specific site's information within a sub-account using a GET request.
-
Requires providing the site's name in the URL path using a specified format.
-
Returns a detailed representation of the site, including its properties and configuration, if successful.
-
Needs authorization with specific Google Adsense scopes for access control and permissions.
Gets a site from a specified sub-account.
HTTP request
GET https://adsenseplatform.googleapis.com/v1alpha/{name=platforms/*/accounts/*/sites/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the site to retrieve. Format: platforms/{platform}/accounts/{account}/sites/{site} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Site
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/adsense
https://www.googleapis.com/auth/adsense.readonly