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

Contents

Description

List all ad units in the specified custom channel.

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

Synopsis

REST Resource

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

A resource alias for adsense.accounts.customchannels.adunits.list method which the AccountsCustomChannelsAdUnitsList request conforms to.

Creating a Request

data AccountsCustomChannelsAdUnitsList Source #

List all ad units in the specified custom channel.

See: accountsCustomChannelsAdUnitsList smart constructor.

Instances
Eq AccountsCustomChannelsAdUnitsList Source # 
Instance details

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

Data AccountsCustomChannelsAdUnitsList Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsCustomChannelsAdUnitsList -> Constr #

dataTypeOf :: AccountsCustomChannelsAdUnitsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsCustomChannelsAdUnitsList Source # 
Instance details

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

Generic AccountsCustomChannelsAdUnitsList Source # 
Instance details

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

Associated Types

type Rep AccountsCustomChannelsAdUnitsList :: Type -> Type #

GoogleRequest AccountsCustomChannelsAdUnitsList Source # 
Instance details

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

type Rep AccountsCustomChannelsAdUnitsList Source # 
Instance details

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

type Rep AccountsCustomChannelsAdUnitsList = D1 (MetaData "AccountsCustomChannelsAdUnitsList" "Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AccountsCustomChannelsAdUnitsList'" PrefixI True) ((S1 (MetaSel (Just "_accaulIncludeInactive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_accaulCustomChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_accaulAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_accaulAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_accaulPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_accaulMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes AccountsCustomChannelsAdUnitsList Source # 
Instance details

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

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

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

Request Lenses

accaulIncludeInactive :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Bool) Source #

Whether to include inactive ad units. Default: true.

accaulCustomChannelId :: Lens' AccountsCustomChannelsAdUnitsList Text Source #

Custom channel for which to list ad units.

accaulAdClientId :: Lens' AccountsCustomChannelsAdUnitsList Text Source #

Ad client which contains the custom channel.

accaulAccountId :: Lens' AccountsCustomChannelsAdUnitsList Text Source #

Account to which the ad client belongs.

accaulPageToken :: Lens' AccountsCustomChannelsAdUnitsList (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.

accaulMaxResults :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Int32) Source #

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