This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the Marketers site. If you are a measurement partner, refer to the Measurement Partners site.
Output only. Immutable. Name that uniquely identifies a query. It has the form customers/[customerId]/analysisQueries/[resource_id], e.g. 'customers/123/analysisQueries/abcd1234'. The resource ID is generated by the server.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis operation updates an existing analysis query, allowing for partial updates of specific fields.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using the \u003ccode\u003ePATCH\u003c/code\u003e method to the specified URL with path and query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the updated \u003ccode\u003eAnalysisQuery\u003c/code\u003e object, and a successful response will return the updated \u003ccode\u003eAnalysisQuery\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe URL follows gRPC Transcoding syntax and requires \u003ccode\u003eadsdatahub\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003equery.name\u003c/code\u003e path parameter identifies the specific query to update, while the \u003ccode\u003eupdateMask\u003c/code\u003e query parameter indicates which fields are being modified.\u003c/p\u003e\n"]]],["This describes updating an existing analysis query via a `PATCH` request to a specific URL. The URL contains a path parameter, `query.name`, which uniquely identifies the query. The request supports partial updates using the `updateMask` query parameter. The request body contains the updated `AnalysisQuery`, and a successful response also returns an `AnalysisQuery`. Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope. The update process is based on gRPC Transcoding.\n"],null,["# Method: customers.analysisQueries.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nUpdates an existing analysis query. Partial updates are supported. Please review the AnalysisQuery resource to see which fields can be updated.\n\n### HTTP request\n\n`PATCH https://adsdatahub.googleapis.com/v1/{query.name=customers/*/analysisQueries/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `query.name` | `string` Output only. Immutable. Name that uniquely identifies a query. It has the form customers/\\[customerId\\]/analysisQueries/\\[resource_id\\], e.g. 'customers/123/analysisQueries/abcd1234'. The resource ID is generated by the server. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Field mask used to support partial updates. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [AnalysisQuery](/ads-data-hub/reference/rest/v1/customers.analysisQueries#AnalysisQuery).\n\n### Response body\n\nIf successful, the response body contains an instance of [AnalysisQuery](/ads-data-hub/reference/rest/v1/customers.analysisQueries#AnalysisQuery).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adsdatahub`"]]