Method: platforms.accounts.close

  • This API endpoint is used to close a sub-account.

  • The request uses a POST method to the specified URL with path parameters for platform and account ID.

  • The request body must be empty, and a successful response will also have an empty body.

  • The authorization scope required is https://www.googleapis.com/auth/adsense.

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