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 |
Inserts a report request into the reporting system.
See: DoubleClick Search API Reference for doubleclicksearch.reports.request
.
Synopsis
- type ReportsRequestResource = "doubleclicksearch" :> ("v2" :> ("reports" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReportRequest :> Post '[JSON] Report))))
- reportsRequest :: ReportRequest -> ReportsRequest
- data ReportsRequest
- rrPayload :: Lens' ReportsRequest ReportRequest
REST Resource
type ReportsRequestResource = "doubleclicksearch" :> ("v2" :> ("reports" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReportRequest :> Post '[JSON] Report)))) Source #
A resource alias for doubleclicksearch.reports.request
method which the
ReportsRequest
request conforms to.
Creating a Request
Creates a value of ReportsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsRequest Source #
Inserts a report request into the reporting system.
See: reportsRequest
smart constructor.
Instances
Request Lenses
rrPayload :: Lens' ReportsRequest ReportRequest Source #
Multipart request metadata.