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.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:

data AccountsReportsSavedGenerate Source #

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

See: accountsReportsSavedGenerate smart constructor.

Instances
Eq AccountsReportsSavedGenerate Source # 
Instance details

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

Data AccountsReportsSavedGenerate Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsReportsSavedGenerate -> Constr #

dataTypeOf :: AccountsReportsSavedGenerate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsReportsSavedGenerate Source # 
Instance details

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

Generic AccountsReportsSavedGenerate Source # 
Instance details

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

Associated Types

type Rep AccountsReportsSavedGenerate :: Type -> Type #

GoogleRequest AccountsReportsSavedGenerate Source # 
Instance details

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

type Rep AccountsReportsSavedGenerate Source # 
Instance details

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

type Rep AccountsReportsSavedGenerate = D1 (MetaData "AccountsReportsSavedGenerate" "Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AccountsReportsSavedGenerate'" PrefixI True) ((S1 (MetaSel (Just "_arsgLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_arsgSavedReportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_arsgAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_arsgStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_arsgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes AccountsReportsSavedGenerate Source # 
Instance details

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

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

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

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.