AI-generated Key Takeaways
-
This document details how to retrieve a specific site from a specified sub-account using an HTTP GET request.
-
The request requires a
namepath parameter specifying the site to retrieve in a specific format. -
The request body must be empty.
-
A successful response will contain an instance of
Sitein the response body. -
Authorization requires one of two specified OAuth scopes.
Gets a site from a specified sub-account.
HTTP request
GET https://adsenseplatform.googleapis.com/v1/{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/adsensehttps://www.googleapis.com/auth/adsense.readonly