gogol-adsense-0.4.0: Google AdSense Management SDK.

Copyright(c) 2015-2016 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.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.reports.saved.generate.

Synopsis

REST Resource

type ReportsSavedGenerateResource = "adsense" :> ("v1.4" :> ("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.reports.saved.generate method which the ReportsSavedGenerate request conforms to.

Creating a Request

reportsSavedGenerate Source #

Creates a value of ReportsSavedGenerate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ReportsSavedGenerate Source #

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

See: reportsSavedGenerate smart constructor.

Instances
Eq ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

Data ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReportsSavedGenerate -> c ReportsSavedGenerate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReportsSavedGenerate #

toConstr :: ReportsSavedGenerate -> Constr #

dataTypeOf :: ReportsSavedGenerate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReportsSavedGenerate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReportsSavedGenerate) #

gmapT :: (forall b. Data b => b -> b) -> ReportsSavedGenerate -> ReportsSavedGenerate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReportsSavedGenerate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReportsSavedGenerate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReportsSavedGenerate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReportsSavedGenerate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReportsSavedGenerate -> m ReportsSavedGenerate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportsSavedGenerate -> m ReportsSavedGenerate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportsSavedGenerate -> m ReportsSavedGenerate #

Show ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

Generic ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

Associated Types

type Rep ReportsSavedGenerate :: Type -> Type #

GoogleRequest ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

Associated Types

type Rs ReportsSavedGenerate :: Type #

type Scopes ReportsSavedGenerate :: [Symbol] #

type Rep ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

type Rep ReportsSavedGenerate = D1 (MetaData "ReportsSavedGenerate" "Network.Google.Resource.AdSense.Reports.Saved.Generate" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "ReportsSavedGenerate'" PrefixI True) ((S1 (MetaSel (Just "_rsgLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rsgSavedReportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rsgStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_rsgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

type Scopes ReportsSavedGenerate = "https://www.googleapis.com/auth/adsense" ': ("https://www.googleapis.com/auth/adsense.readonly" ': ([] :: [Symbol]))
type Rs ReportsSavedGenerate Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Reports.Saved.Generate

Request Lenses

rsgLocale :: Lens' ReportsSavedGenerate (Maybe Text) Source #

Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.

rsgSavedReportId :: Lens' ReportsSavedGenerate Text Source #

The saved report to retrieve.

rsgStartIndex :: Lens' ReportsSavedGenerate (Maybe Int32) Source #

Index of the first row of report data to return.

rsgMaxResults :: Lens' ReportsSavedGenerate (Maybe Int32) Source #

The maximum number of rows of report data to return.