Queries: createquery
Stay organized with collections
Save and categorize content based on your preferences.
Creates a query.
Try it now.
Request
HTTP request
POST https://www.googleapis.com/doubleclickbidmanager/v1/query
Authorization
This request requires authorization with the following scope:
Scope |
https://www.googleapis.com/auth/doubleclickbidmanager |
For more information, see the authentication and authorization page.
Request body
In the request body, supply a Queries resource.
Response
If successful, this method returns a Queries resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.
Alternatively, try the
standalone
Explorer.
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 2024-08-21 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 2024-08-21 UTC."],[[["\u003cp\u003eThis version of the Bid Manager API is discontinued, and users should transition to Bid Manager API v2.\u003c/p\u003e\n"],["\u003cp\u003eTo create a query, users need to authorize with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request involves sending a POST request to a specific endpoint with a Queries resource in the body.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return a Queries resource.\u003c/p\u003e\n"]]],["The Bid Manager API v1 is no longer available; users must switch to v2. To create a query, send a POST request to the specified URL, including a Queries resource in the request body. This action requires authorization with the `https://www.googleapis.com/auth/doubleclickbidmanager` scope. A successful request will return a Queries resource in the response. Use the APIs Explorer or the standalone Explorer to test this method.\n"],null,["# Queries: createquery\n\nThis version of the Bid Manager API has been sunset. Users must use [Bid Manager API v2](/bid-manager/reference/rest). \n| **Note:** Requires [authorization](#auth).\n\nCreates a query.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/doubleclickbidmanager/v1/query\n```\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|---------------------------------------------------------|\n| `https://www.googleapis.com/auth/doubleclickbidmanager` |\n\nFor more information, see the [authentication and authorization](/bid-manager/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply a [Queries resource](/bid-manager/v1/queries#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [Queries resource](/bid-manager/v1/queries#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/doubleclickbidmanager/v1/doubleclickbidmanager.queries.createquery)."]]