# QueryResponse

- [JSON representation](https://developers.google.com/ads-data-hub/reference/rest/v1/QueryResponse#SCHEMA_REPRESENTATION)

Response returned for successful query execution jobs. This is stored in the response field of the google.longrunning.Operation returned by a query execution request.

| JSON representation |
|---|
| ``` { "rowCount": string, "outputArtifacts": { object (`https://developers.google.com/ads-data-hub/reference/rest/v1/OutputArtifacts`) }, "privacyMessages": [ { object (`https://developers.google.com/ads-data-hub/reference/rest/v1/PrivacyMessage`) } ], "destinationTables": [ { object (`https://developers.google.com/ads-data-hub/reference/rest/v1/DestinationTableInfo`) } ] } ``` |

| Fields ||
|---|---|
| `rowCount` | `string (https://developers.google.com/discovery/v1/type-format 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. |
| `outputArtifacts` | ``object (`https://developers.google.com/ads-data-hub/reference/rest/v1/OutputArtifacts`)`` Output artifacts generated during query execution |
| `privacyMessages[]` | ``object (`https://developers.google.com/ads-data-hub/reference/rest/v1/PrivacyMessage`)`` List of privacy related information or warning messages. |
| `destinationTables[]` | ``object (`https://developers.google.com/ads-data-hub/reference/rest/v1/DestinationTableInfo`)`` List of output tables exported by the query. |