Method: platforms.accounts.close
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["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."]]],["The core actions involve closing a sub-account via a POST HTTP request to a specific URL: `https://adsenseplatform.googleapis.com/v1alpha/{name=platforms/*/accounts/*}:close`. The request requires a `name` path parameter, specifying the account to close in the format `platforms/{platform}/accounts/{account_id}`. The request body must be empty. A successful response will also have an empty body. Authorization requires the OAuth scope `https://www.googleapis.com/auth/adsense`.\n"]]