Method: queries.create
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://doubleclickbidmanager.googleapis.com/v2/queries
The URL uses gRPC Transcoding
syntax.
Request body
The request body contains an instance of Query
.
Response body
If successful, the response body contains a newly created instance of Query
.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[[["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 2025-02-28 UTC."],[[["\u003cp\u003eCreates a new query using an HTTP POST request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request body and successful response body both contain an instance of "Query".\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: queries.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new query.\n\n### HTTP request\n\n`POST https://doubleclickbidmanager.googleapis.com/v2/queries`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains an instance of [Query](/bid-manager/reference/rest/v2/queries#Query).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Query](/bid-manager/reference/rest/v2/queries#Query).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/doubleclickbidmanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]