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

Contents

Description

List all ad units in the specified ad client for this AdSense account.

See: AdSense Management API Reference for adsense.adunits.list.

Synopsis

REST Resource

type AdUnitsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnits)))))))) Source #

A resource alias for adsense.adunits.list method which the AdUnitsList request conforms to.

Creating a Request

adUnitsList Source #

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

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

data AdUnitsList Source #

List all ad units in the specified ad client for this AdSense account.

See: adUnitsList smart constructor.

Instances
Eq AdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.AdUnits.List

Data AdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.AdUnits.List

Methods

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

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

toConstr :: AdUnitsList -> Constr #

dataTypeOf :: AdUnitsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.AdUnits.List

Generic AdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.AdUnits.List

Associated Types

type Rep AdUnitsList :: Type -> Type #

GoogleRequest AdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.AdUnits.List

Associated Types

type Rs AdUnitsList :: Type #

type Scopes AdUnitsList :: [Symbol] #

type Rep AdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.AdUnits.List

type Rep AdUnitsList = D1 (MetaData "AdUnitsList" "Network.Google.Resource.AdSense.AdUnits.List" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AdUnitsList'" PrefixI True) ((S1 (MetaSel (Just "_aulIncludeInactive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_aulAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_aulPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aulMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes AdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.AdUnits.List

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

Defined in Network.Google.Resource.AdSense.AdUnits.List

Request Lenses

aulIncludeInactive :: Lens' AdUnitsList (Maybe Bool) Source #

Whether to include inactive ad units. Default: true.

aulAdClientId :: Lens' AdUnitsList Text Source #

Ad client for which to list ad units.

aulPageToken :: Lens' AdUnitsList (Maybe Text) Source #

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

aulMaxResults :: Lens' AdUnitsList (Maybe Int32) Source #

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