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.
Optional. Specific linked Ads Data Hub customer ID that owns the match data for the query. Defaults to all the linked customers.
pageSize
integer
Maximum number of items to return. If 0, the server will determine the number of tables to return.
pageToken
string
Page token, returned by a previous call, used to request the next page of results, if any. The page token must have been returned by a call with the same request parameters.
Request body
The request body must be empty.
Response body
Response to a tables.list request. Contains the Ads Data Hub tables accessible by the customer.
If successful, the response body contains data with the following structure:
[[["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 tables accessible to a specified customer using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by linked customer IDs for ads data and match data using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of tables and a token for pagination if more results are available.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details how to retrieve a list of Ads Data Hub tables accessible to a specific customer. It uses a `GET` request to the provided URL, including the customer ID in the path. Optional query parameters like `adsDataCustomerId`, `matchDataCustomerId`, `pageSize`, and `pageToken` can refine the results. The request body should be empty. The response contains a list of accessible tables and a `nextPageToken` for pagination, if applicable. An OAuth scope (`https://www.googleapis.com/auth/adsdatahub`) is required for authorization.\n"],null,["# Method: customers.tables.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.ListTablesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists the Ads Data Hub tables to which the specified customer has access.\n\n### HTTP request\n\n`GET https://adsdatahub.googleapis.com/v1/{parent=customers/*}/tables`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------|\n| `parent` | `string` Required. Parent customer resource name, e.g. 'customers/123'. |\n\n### Query parameters\n\n| Parameters ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `adsDataCustomerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Optional. Specific linked Ads Data Hub customer ID that owns the ads data used by the tables. Defaults to all the linked customers. |\n| `matchDataCustomerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Optional. Specific linked Ads Data Hub customer ID that owns the match data for the query. Defaults to all the linked customers. |\n| `pageSize` | `integer` Maximum number of items to return. If 0, the server will determine the number of tables to return. |\n| `pageToken` | `string` Page token, returned by a previous call, used to request the next page of results, if any. The page token must have been returned by a call with the same request parameters. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse to a tables.list request. Contains the Ads Data Hub tables accessible by the customer.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"tables\": [ { object (/ads-data-hub/reference/rest/v1/customers.tables#Table) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `tables[]` | `object (`[Table](/ads-data-hub/reference/rest/v1/customers.tables#Table)`)` A list of tables. |\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`"]]