Method: accounts.platforms.childAccounts.sites.list
Stay organized with collections
Save and categorize content based on your preferences.
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 2025-06-19 UTC.
[null,null,["Last updated 2025-06-19 UTC."],[[["\u003cp\u003eThis endpoint lists platform child sites associated with a specified platform child account, using the format \u003ccode\u003eaccounts/{account}/platforms/{platform}/childAccounts/{child_account}\u003c/code\u003e in the \u003ccode\u003eparent\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003eGET\u003c/code\u003e request to the URL \u003ccode\u003ehttps://adsenseplatform.googleapis.com/v1alpha/{parent=accounts/*/platforms/*/childAccounts/*}/sites\u003c/code\u003e and the request body must be empty.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters such as \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e can be used for pagination, allowing you to control the number of platform child sites returned and navigate through the results.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will contain a list of \u003ccode\u003eplatformChildSites\u003c/code\u003e, and a \u003ccode\u003enextPageToken\u003c/code\u003e for subsequent requests if there are more results to be retrieved.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this endpoint requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/adsense\u003c/code\u003e or the \u003ccode\u003ehttps://www.googleapis.com/auth/adsense.readonly\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This outlines the process to list platform child sites. A `GET` request is sent to the specified URL, which requires a `parent` path parameter, defining the account, platform, and child account. Optional query parameters `pageSize` and `pageToken` enable pagination. The request body must be empty. A successful response includes a list of `platformChildSites` and a `nextPageToken` for pagination, if there are more platform child sites. The process requires one of two authorization scopes.\n"],null,["# Method: accounts.platforms.childAccounts.sites.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPlatformChildSitesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists Platform Child Sites for a specified Platform Child Account.\n\n### HTTP request\n\n`GET https://adsenseplatform.googleapis.com/v1alpha/{parent=accounts/*/platforms/*/childAccounts/*}/sites`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the child account under the given platform which owns the platform child sites. Format: accounts/{account}/platforms/{platform}/childAccounts/{child_account} |\n\n### Query parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of children to include in the response, used for paging. If unspecified, at most 10000 platforms will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. |\n| `pageToken` | `string` Optional. A page token, received from a previous `sites.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `sites.list` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse definition for the list platform child sites rpc.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"platformChildSites\": [ { object (/adsense/platforms/reference/rest/v1alpha/accounts.platforms.childAccounts.sites#PlatformChildSite) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `platformChildSites[]` | `object (`[PlatformChildSite](/adsense/platforms/reference/rest/v1alpha/accounts.platforms.childAccounts.sites#PlatformChildSite)`)` The platform child sites returned in this list response. |\n| `nextPageToken` | `string` Continuation token used to page through platforms. To retrieve the next page of the results, set the next request's \"pageToken\" value to this. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/adsense`\n- `\n https://www.googleapis.com/auth/adsense.readonly`"]]