gogol-adsense-host-0.4.0: Google AdSense Host 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.AdSenseHost.Accounts.AdUnits.List

Contents

Description

List all ad units in the specified publisher's AdSense account.

See: AdSense Host API Reference for adsensehost.accounts.adunits.list.

Synopsis

REST Resource

type AccountsAdUnitsListResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnits)))))))))) Source #

A resource alias for adsensehost.accounts.adunits.list method which the AccountsAdUnitsList request conforms to.

Creating a Request

accountsAdUnitsList Source #

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

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

data AccountsAdUnitsList Source #

List all ad units in the specified publisher's AdSense account.

See: accountsAdUnitsList smart constructor.

Instances
Eq AccountsAdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

Data AccountsAdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

Methods

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

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

toConstr :: AccountsAdUnitsList -> Constr #

dataTypeOf :: AccountsAdUnitsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsAdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

Generic AccountsAdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

Associated Types

type Rep AccountsAdUnitsList :: Type -> Type #

GoogleRequest AccountsAdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

Associated Types

type Rs AccountsAdUnitsList :: Type #

type Scopes AccountsAdUnitsList :: [Symbol] #

type Rep AccountsAdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

type Rep AccountsAdUnitsList = D1 (MetaData "AccountsAdUnitsList" "Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "AccountsAdUnitsList'" PrefixI True) ((S1 (MetaSel (Just "_aaulIncludeInactive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_aaulAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_aaulAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_aaulPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aaulMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes AccountsAdUnitsList Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

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

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List

Request Lenses

aaulIncludeInactive :: Lens' AccountsAdUnitsList (Maybe Bool) Source #

Whether to include inactive ad units. Default: true.

aaulAdClientId :: Lens' AccountsAdUnitsList Text Source #

Ad client for which to list ad units.

aaulAccountId :: Lens' AccountsAdUnitsList Text Source #

Account which contains the ad client.

aaulPageToken :: Lens' AccountsAdUnitsList (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.

aaulMaxResults :: Lens' AccountsAdUnitsList (Maybe Word32) Source #

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