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.CustomChannels.Insert

Contents

Description

Add a new custom channel to the host AdSense account.

See: AdSense Host API Reference for adsensehost.customchannels.insert.

Synopsis

REST Resource

type CustomChannelsInsertResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomChannel :> Post '[JSON] CustomChannel)))))) Source #

A resource alias for adsensehost.customchannels.insert method which the CustomChannelsInsert request conforms to.

Creating a Request

customChannelsInsert Source #

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

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

data CustomChannelsInsert Source #

Add a new custom channel to the host AdSense account.

See: customChannelsInsert smart constructor.

Instances
Eq CustomChannelsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

Data CustomChannelsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

Methods

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

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

toConstr :: CustomChannelsInsert -> Constr #

dataTypeOf :: CustomChannelsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomChannelsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

Generic CustomChannelsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

Associated Types

type Rep CustomChannelsInsert :: Type -> Type #

GoogleRequest CustomChannelsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

Associated Types

type Rs CustomChannelsInsert :: Type #

type Scopes CustomChannelsInsert :: [Symbol] #

type Rep CustomChannelsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

type Rep CustomChannelsInsert = D1 (MetaData "CustomChannelsInsert" "Network.Google.Resource.AdSenseHost.CustomChannels.Insert" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "CustomChannelsInsert'" PrefixI True) (S1 (MetaSel (Just "_cciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomChannel) :*: S1 (MetaSel (Just "_cciAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes CustomChannelsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

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

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Insert

Request Lenses

cciAdClientId :: Lens' CustomChannelsInsert Text Source #

Ad client to which the new custom channel will be added.