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.
[[["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\u003eCreates an Analysis Query for later execution without immediate validation.\u003c/p\u003e\n"],["\u003cp\u003eUses a POST request to \u003ccode\u003ehttps://adsdatahub.googleapis.com/v1/{parent=customers/*}/analysisQueries\u003c/code\u003e with gRPC Transcoding.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003eparent\u003c/code\u003e as a path parameter to specify the resource owner.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both utilize the \u003ccode\u003eAnalysisQuery\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This describes the creation of an analysis query. A `POST` request is sent to `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/analysisQueries`, specifying the `parent` (customer ID) in the path. The request body contains an `AnalysisQuery` instance. A successful response returns a new `AnalysisQuery` instance. The process uses gRPC Transcoding and requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope for authorization. No query validation is performed at creation.\n"],null,["# Method: customers.analysisQueries.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nCreates an analysis query for later execution. No query validation is performed at this time.\n\n### HTTP request\n\n`POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/analysisQueries`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent resource name that owns the query, e.g. 'customers/123'. |\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 a newly created 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`"]]