This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the Marketers site. If you are a measurement partner, refer to the Measurement Partners site.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eLists Ads Data Hub customers accessible to the current user with optional pagination using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using an HTTP GET method to the URL \u003ccode\u003ehttps://adsdatahub.googleapis.com/v1/customers\u003c/code\u003e with an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses provide a list of \u003ccode\u003ecustomers\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for retrieving additional results in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e.\u003c/p\u003e\n"]]],["This document details how to list Ads Data Hub customers accessible to a user. An HTTP `GET` request is sent to `https://adsdatahub.googleapis.com/v1/customers`. Optional query parameters `pageSize` (maximum items) and `pageToken` (for pagination) can be used. The request body must be empty. A successful response includes a JSON structure with a list of `customers` and a `nextPageToken` for further pagination. Authorization requires the OAuth scope `https://www.googleapis.com/auth/adsdatahub`.\n"],null,["# Method: customers.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListCustomersResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists Ads Data Hub customers to which the current user has access.\n\n### HTTP request\n\n`GET https://adsdatahub.googleapis.com/v1/customers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Maximum number of items to return. If 0, the server will determine the number of customers to return. |\n| `pageToken` | `string` Page token, returned by previous call, to request the next page of results, if any. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse to a customers.list request. Contains the Ads Data Hub customers accessible by the current user.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------|\n| ``` { \"customers\": [ { object (/ads-data-hub/reference/rest/v1/customers#Customer) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `customers[]` | `object (`[Customer](/ads-data-hub/reference/rest/v1/customers#Customer)`)` A list of customers. |\n| `nextPageToken` | `string` A token that can be used to request the next results page. This field is empty if there are no additional results. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adsdatahub`"]]