Ads Data Hub Query API

API for the Ads Data Hub query service.


The Service name is needed to create RPC client stubs.

ExecuteQuery Executes a query and returns when it is complete.
ListCustomers Retrieves customers you are associated with.
ListQueries Retrieves every query that you have access to.
StartQuery Executes a query asynchronously and writes the results to the specified destination table in your BigQuery shared dataset.
WaitOperation Waits a given amount of time for a job to complete.

CreateQuery Creates and stores a query for later execution.
CreateUserList Creates a user list in Google Ads to be populated from ADH queries.
CreateUserQuery Creates and stores a user query for later execution.
DeleteQuery Deletes a stored query.
DeleteUserQuery Deletes a stored user query.
ExecuteQuery Synchronously executes the query defined in ExecuteQueryRequest.
GetTable Retrieves columns names and types associated with a specified table
GetUserList Retrieves a Google Ads user list for the given user list id.
ListCustomers Retrieves all Ads Data Hub customers to which the current user has access.
ListGmpAccounts Retrieves linked Google Marketing Platform accounts (accounts whose data is accessible by the specified customer.
ListGoogleAdsAccounts Retrieves linked Google Ads accounts (accounts whose data is accessible by the specified customer.
ListLinkedCustomers Retrieves linked Ads Data Hub customers (customers that can be queries by the specified customer).
ListQueries Retrieves every query to which a customer has access.
ListTables Retrieves names of ADH tables the specified customer has access to.
ListUserLists Retrieves the Google Ads user lists associated with an Ads Data Hub customer.
ListUserQueries Retrieves every user query that a customer has access to.
PopulateUserListFromQuery Starts execution for a stored user list query.
RenameQuery Renames an existing query.
RenameUserQuery Renames an existing user query.
StartQuery Starts execution for a stored query.
UpdateQuery Updates an existing query.
UpdateUserQuery Updates an existing user query.
WaitQueryExecution Synchronous call that waits a given amount of time for a job to complete.


CancelOperation Starts asynchronous cancellation on a long-running operation.
DeleteOperation Deletes a long-running operation.
GetOperation Gets the latest state of a long-running operation.
ListOperations Lists operations that match the specified filter in the request.
WaitOperation Waits for the specified long-running operation until it is done or reaches at most a specified timeout, returning the latest state.