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