Method: platforms.accounts.close

  • Closes a specified sub-account within the AdSense platform.

  • Requires an empty request body and returns an empty response body upon successful completion.

  • Utilizes a POST request to a specific URL with the sub-account's platform and ID as path parameters.

  • Needs authorization with the https://www.googleapis.com/auth/adsense scope.

Closes a sub-account.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Account to close. Format: platforms/{platform}/accounts/{account_id}

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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