QueryMetadata

Metadata for a query request that is associated with each operation.

JSON representation
{
  "customerId": string,
  "queryName": string,
  "queryText": string,
  "queryType": enum (QueryType),
  "parameterValues": {
    string: {
      object(ParameterValue)
    },
    ...
  },
  "startTimestampMicros": string,
  "endTimestampMicros": string,
  "destTableRowCount": string,
  "rowCount": string,
  "roleName": string,
  "adsDataCustomerId": string,
  "matchTableCustomerId": string,

  // Union field output can be only one of the following:
  "destTable": string,
  "userListId": string
  // End of list of possible types for union field output.
}
Fields
customerId

string (int64 format)

The Ads Data Hub customer ID that ran the query.

queryName

string

Query name.

queryText

string

Query text.

queryType

enum (QueryType)

The type of query the name corresponds to.

parameterValues

map (key: string, value: object (ParameterValue))

Any additional arguments expected by the query. Maps each argument name to its bound value.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

startTimestampMicros

string (int64 format)

Timestamp when the query was started, in micros.

endTimestampMicros

string (int64 format)

Timestamp when the query finished, in micros.

destTableRowCount
(deprecated)

string (int64 format)

Row count in the final output table. Use the wrapped field below instead.

rowCount

string (Int64Value format)

Row count in the final output table. A wrapped value is used to distinguish between the case where row count is 0 and the case where this information is not available.

roleName

string

Name of role that was used to execute the query. The role determines the ads data and match table data accessed in the query, if applicable.

adsDataCustomerId

string (int64 format)

Ads Data Hub customer ID used for ads data.

matchTableCustomerId

string (int64 format)

Ads Data Hub customer ID used for match table data.

Union field output. Query output destination. output can be only one of the following:
destTable

string

Destination table for query results. Used for aggregation queries.

userListId

string (int64 format)

User list to populate with query results. Used for user list queries.