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.Savedadstyles.List

Contents

Description

List all saved ad styles in the specified account.

See: AdSense Management API Reference for adsense.accounts.savedadstyles.list.

Synopsis

REST Resource

type AccountsSavedadstylesListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("savedadstyles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles))))))) Source #

A resource alias for adsense.accounts.savedadstyles.list method which the AccountsSavedadstylesList request conforms to.

Creating a Request

accountsSavedadstylesList Source #

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

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

data AccountsSavedadstylesList Source #

List all saved ad styles in the specified account.

See: accountsSavedadstylesList smart constructor.

Instances
Eq AccountsSavedadstylesList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

Data AccountsSavedadstylesList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

Methods

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

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

toConstr :: AccountsSavedadstylesList -> Constr #

dataTypeOf :: AccountsSavedadstylesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsSavedadstylesList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

Generic AccountsSavedadstylesList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

Associated Types

type Rep AccountsSavedadstylesList :: Type -> Type #

GoogleRequest AccountsSavedadstylesList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

type Rep AccountsSavedadstylesList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

type Rep AccountsSavedadstylesList = D1 (MetaData "AccountsSavedadstylesList" "Network.Google.Resource.AdSense.Accounts.Savedadstyles.List" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AccountsSavedadstylesList'" PrefixI True) (S1 (MetaSel (Just "_aslAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_aslPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aslMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes AccountsSavedadstylesList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

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

Defined in Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

Request Lenses

aslAccountId :: Lens' AccountsSavedadstylesList Text Source #

Account for which to list saved ad styles.

aslPageToken :: Lens' AccountsSavedadstylesList (Maybe Text) Source #

A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

aslMaxResults :: Lens' AccountsSavedadstylesList (Maybe Int32) Source #

The maximum number of saved ad styles to include in the response, used for paging.