Method: tables.list

Retrieves names of ADH tables the specified customer has access to.

HTTP request

GET https://fullcirclequery.googleapis.com/v2/tables

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
customerId

string (int64 format)

Ads Data Hub ID of customer for which accounts should be listed

adsDataCustomerId

string (int64 format)

Optional. Linked Ads Data Hub customer ID used to determine whether a particular Ads Data Hub table is accessible.

matchDataCustomerId

string (int64 format)

Optional. Linked Ads Data Hub customer ID used to determine whether Ads Data Hub _match tables are accessible.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response to tables.list request. Contains all names of the tables the customer has access to.

JSON representation
{
  "tables": [
    {
      object (Table)
    }
  ]
}
Fields
tables[]

object (Table)

Full names of ADH and customer tables the customer has access to.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/adsdatahub
  • https://www.googleapis.com/auth/xapi.zoo

Table

Information on a table

JSON representation
{
  "name": string,
  "type": enum (DataSource)
}
Fields
name

string

Table's full name (in the form "project_name.dataset_name.table_name")

type

enum (DataSource)

Indicates whether the specified table is an "adh" table or a customer table

DataSource

Indicates a table's type (whether it is an adh table or a customer table)

Enums
DATA_SOURCE_UNSPECIFIED Indicates a table from an unknown source
DATA_SOURCE_ADH Indicates a table from ADH
DATA_SOURCE_CUSTOMER Indicates a table from the customer