Method: accounts.platforms.get

  • This endpoint retrieves a specific platform using a GET request.

  • The platform is identified by its name, which is a required path parameter in the URL, following the format accounts/{account}/platforms/{platform}.

  • The request body for this operation must be empty.

  • A successful request will return an instance of the Platform resource in the response body.

  • Authorization for this request requires either the https://www.googleapis.com/auth/adsense or https://www.googleapis.com/auth/adsense.readonly OAuth scope.

Gets a platform.

HTTP request

GET https://adsenseplatform.googleapis.com/v1alpha/{name=accounts/*/platforms/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the platform to retrieve. Format: accounts/{account}/platforms/{platform}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Platform.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/adsense
  • https://www.googleapis.com/auth/adsense.readonly