gogol-adsense-0.0.1: Google AdSense Management SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate

Contents

Description

Generate an AdSense report based on the saved report ID sent in the query parameters.

See: AdSense Management API Reference for adsense.accounts.reports.saved.generate.

Synopsis

REST Resource

type AccountsReportsSavedGenerateResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> (Capture "savedReportId" Text :> (QueryParam "locale" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AdsenseReportsGenerateResponse))))))))) Source

A resource alias for adsense.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:

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.

arsgAccountId :: Lens' AccountsReportsSavedGenerate Text Source

Account to which the saved reports belong.

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.