Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Runs a stored query to generate a report.
See: DoubleClick Bid Manager API Reference for doubleclickbidmanager.queries.runquery
.
Synopsis
- type QueriesRunQueryResource = "doubleclickbidmanager" :> ("v1" :> ("query" :> (Capture "queryId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunQueryRequest :> Post '[JSON] ())))))
- queriesRunQuery :: Int64 -> RunQueryRequest -> QueriesRunQuery
- data QueriesRunQuery
- qrqQueryId :: Lens' QueriesRunQuery Int64
- qrqPayload :: Lens' QueriesRunQuery RunQueryRequest
REST Resource
type QueriesRunQueryResource = "doubleclickbidmanager" :> ("v1" :> ("query" :> (Capture "queryId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunQueryRequest :> Post '[JSON] ()))))) Source #
A resource alias for doubleclickbidmanager.queries.runquery
method which the
QueriesRunQuery
request conforms to.
Creating a Request
Creates a value of QueriesRunQuery
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data QueriesRunQuery Source #
Runs a stored query to generate a report.
See: queriesRunQuery
smart constructor.
Instances
Request Lenses
qrqQueryId :: Lens' QueriesRunQuery Int64 Source #
Query ID to run.
qrqPayload :: Lens' QueriesRunQuery RunQueryRequest Source #
Multipart request metadata.