Page Summary
-
A CrmBasedUserListQuery defines a query for creating user lists based on customer data within Ads Data Hub.
-
The resource includes fields such as name, title, the query itself written in Standard SQL, and information about its state, creation, and last update.
-
It provides methods to create, delete, retrieve, list, update, and validate these CRM based user list queries.
Resource: CrmBasedUserListQuery
Defines a CRM based user list query that can be executed within Ads Data Hub.
| JSON representation |
|---|
{ "name" : string , "title" : string , "queryText" : string , "queryState" : enum ( |
| Fields | |
|---|---|
name
|
Output only. Immutable. Name that uniquely identifies a query. It has the form: customers/[customerId]/crmBasedUserListQueries/[resource_id], e.g. 'customers/123/crmBasedUserListQueries/abcd1234'. The resource ID is generated by the server. |
title
|
Query title, which is unique within a single Ads Data Hub customer and query type. |
queryText
|
Query text written in Standard SQL. See https://cloud.google.com/bigquery/docs/reference/standard-sql/ . |
queryState
|
Query state. |
updateTime
|
Output only. Time the query was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateEmail
|
Output only. Email address of user who last updated the query. |
createTime
|
Output only. Immutable. Time the query was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
createEmail
|
Output only. Immutable. Email address of user who created the query. |
queryShare[]
|
Indicates ways that a query may be shared beyond the owning Ads Data Hub customer. |
userList
|
Output only. The Ads Data Hub user list resource that can be populated by this CRM based user list query. The resource name has the form: customers/[customerId]/userLists/[userListId] |
Methods |
|
|---|---|
|
Creates a CRM based user list query for later execution. |
|
Deletes a CRM based user list query. |
|
Retrieves the requested CRM based user list query. |
|
Lists the CRM based user list queries owned by the specified customer. |
|
Updates an existing CRM based user list query. |
|
Performs static validation checks on the provided CRM based user list query to ensure valid output schema. |


