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 |
Generate an Ad Exchange report based on the saved report ID sent in the query parameters.
See: Ad Exchange Seller API Reference for adexchangeseller.accounts.reports.saved.generate
.
Synopsis
- type AccountsReportsSavedGenerateResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> (Capture "savedReportId" Text :> (QueryParam "locale" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Report)))))))))
- accountsReportsSavedGenerate :: Text -> Text -> AccountsReportsSavedGenerate
- data AccountsReportsSavedGenerate
- arsgLocale :: Lens' AccountsReportsSavedGenerate (Maybe Text)
- arsgSavedReportId :: Lens' AccountsReportsSavedGenerate Text
- arsgAccountId :: Lens' AccountsReportsSavedGenerate Text
- arsgStartIndex :: Lens' AccountsReportsSavedGenerate (Maybe Int32)
- arsgMaxResults :: Lens' AccountsReportsSavedGenerate (Maybe Int32)
REST Resource
type AccountsReportsSavedGenerateResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> (Capture "savedReportId" Text :> (QueryParam "locale" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Report))))))))) Source #
A resource alias for adexchangeseller.accounts.reports.saved.generate
method which the
AccountsReportsSavedGenerate
request conforms to.
Creating a Request
accountsReportsSavedGenerate Source #
Creates a value of AccountsReportsSavedGenerate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsReportsSavedGenerate Source #
Generate an Ad Exchange report based on the saved report ID sent in the query parameters.
See: accountsReportsSavedGenerate
smart constructor.
Instances
Request Lenses
arsgLocale :: Lens' AccountsReportsSavedGenerate (Maybe Text) Source #
Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.
arsgSavedReportId :: Lens' AccountsReportsSavedGenerate Text Source #
The saved report to retrieve.
arsgAccountId :: Lens' AccountsReportsSavedGenerate Text Source #
Account owning the saved report.
arsgStartIndex :: Lens' AccountsReportsSavedGenerate (Maybe Int32) Source #
Index of the first row of report data to return.
arsgMaxResults :: Lens' AccountsReportsSavedGenerate (Maybe Int32) Source #
The maximum number of rows of report data to return.