Class QueriesResource
The "queries" collection of methods.
Inherited Members
Namespace: Google.Apis.DoubleClickBidManager.v2
Assembly: Google.Apis.DoubleClickBidManager.v2.dll
Syntax
public class QueriesResource
Constructors
QueriesResource(IClientService)
Constructs a new resource.
Declaration
public QueriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Reports
Gets the Reports resource.
Declaration
public virtual QueriesResource.ReportsResource Reports { get; }
Property Value
Type | Description |
---|---|
QueriesResource.ReportsResource |
Methods
Create(Query)
Creates a new query.
Declaration
public virtual QueriesResource.CreateRequest Create(Query body)
Parameters
Type | Name | Description |
---|---|---|
Query | body | The body of the request. |
Returns
Type | Description |
---|---|
QueriesResource.CreateRequest |
Delete(long)
Deletes an existing query as well as its generated reports.
Declaration
public virtual QueriesResource.DeleteRequest Delete(long queryId)
Parameters
Type | Name | Description |
---|---|---|
long | queryId | Required. The ID of the query to delete. |
Returns
Type | Description |
---|---|
QueriesResource.DeleteRequest |
Get(long)
Retrieves a query.
Declaration
public virtual QueriesResource.GetRequest Get(long queryId)
Parameters
Type | Name | Description |
---|---|---|
long | queryId | Required. The ID of the query to retrieve. |
Returns
Type | Description |
---|---|
QueriesResource.GetRequest |
List()
Lists queries created by the current user.
Declaration
public virtual QueriesResource.ListRequest List()
Returns
Type | Description |
---|---|
QueriesResource.ListRequest |
Run(RunQueryRequest, long)
Runs an existing query to generate a report.
Declaration
public virtual QueriesResource.RunRequest Run(RunQueryRequest body, long queryId)
Parameters
Type | Name | Description |
---|---|---|
RunQueryRequest | body | The body of the request. |
long | queryId | Required. The ID of the query to run. |
Returns
Type | Description |
---|---|
QueriesResource.RunRequest |