AI-generated Key Takeaways
-
QueryMetadata contains metadata about a query execution job and is stored in the metadata field of the google.longrunning.Operation returned by a query execution request.
-
The JSON representation of QueryMetadata includes fields such as queryResourceName, queryTitle, customerId, adsDataCustomerId, matchDataCustomerId, parameterValues, startTime, endTime, queryText, and a union field for output which can be destTable, userListId, or algorithmId.
-
Fields like queryResourceName, queryTitle, customerId, adsDataCustomerId, matchDataCustomerId, parameterValues, startTime, endTime, and queryText provide details about the query and its execution.
-
The output field indicates where the query results are stored, depending on the type of query, such as a destination table for analysis queries, a user list for user list queries, or an algorithm ID for custom bidding queries.
Metadata about a query execution job. This is stored in the metadata field of the google.longrunning.Operation returned by a query execution request.
JSON representation |
---|
{ "queryResourceName": string, "queryTitle": string, "customerId": string, "adsDataCustomerId": string, "matchDataCustomerId": string, "parameterValues": { string: { object ( |
Fields | |
---|---|
queryResourceName |
Name of the query resource that was executed, e.g. customers/123/analysisQueries/abcd1234 Only present for stored query execution. |
queryTitle |
Title of the query executed. |
customerId |
The Ads Data Hub customer ID that executed the query. |
adsDataCustomerId |
Ads Data Hub customer ID used for ads data. |
matchDataCustomerId |
Ads Data Hub customer ID used for match table data. |
parameterValues |
Parameter values used in the query. Maps each argument name to its bound value. An object containing a list of |
startTime |
Query execution start time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Query execution end time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
queryText |
Text of the query executed. Note that this field will only be set in the response of google.longrunning.Operations.GetOperation call. It will be omitted in the response of google.longrunning.Operations.ListOperations call or any other calls. |
Union field output . Location where query results get stored. output can be only one of the following: |
|
destTable |
Destination table for query results. Used for analysis queries. |
userListId |
User list to populate with query results. Used for user list queries. |
algorithmId |
Custom bidding algorithm ID to populate with query results. Used for custom bidding queries only. Populated on QueryType.QUERY_TYPE_CUSTOM_BIDDING_ALGORITHM only. |