gogol-adsense-host-0.1.1: 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.URLChannels.Insert

Contents

Description

Add a new URL channel to the host AdSense account.

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

Synopsis

REST Resource

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

A resource alias for adsensehost.urlchannels.insert method which the URLChannelsInsert request conforms to.

Creating a Request

urlChannelsInsert Source #

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

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

data URLChannelsInsert Source #

Add a new URL channel to the host AdSense account.

See: urlChannelsInsert smart constructor.

Instances

Eq URLChannelsInsert Source # 
Data URLChannelsInsert Source # 

Methods

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

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

toConstr :: URLChannelsInsert -> Constr #

dataTypeOf :: URLChannelsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show URLChannelsInsert Source # 
Generic URLChannelsInsert Source # 
GoogleRequest URLChannelsInsert Source # 
type Rep URLChannelsInsert Source # 
type Rep URLChannelsInsert = D1 (MetaData "URLChannelsInsert" "Network.Google.Resource.AdSenseHost.URLChannels.Insert" "gogol-adsense-host-0.1.1-HEuVQrhTKgK2QzaTqKmt7j" False) (C1 (MetaCons "URLChannelsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URLChannel)) (S1 (MetaSel (Just Symbol "_uciAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes URLChannelsInsert Source # 
type Scopes URLChannelsInsert = (:) Symbol "https://www.googleapis.com/auth/adsensehost" ([] Symbol)
type Rs URLChannelsInsert Source # 

Request Lenses

uciPayload :: Lens' URLChannelsInsert URLChannel Source #

Multipart request metadata.

uciAdClientId :: Lens' URLChannelsInsert Text Source #

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