gogol-adexchange-buyer-0.2.0: Google Ad Exchange Buyer 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.AdExchangeBuyer.PretargetingConfig.Insert

Contents

Description

Inserts a new pretargeting configuration.

See: Ad Exchange Buyer API Reference for adexchangebuyer.pretargetingConfig.insert.

Synopsis

REST Resource

type PretargetingConfigInsertResource = "adexchangebuyer" :> ("v1.4" :> ("pretargetingconfigs" :> (Capture "accountId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PretargetingConfig :> Post '[JSON] PretargetingConfig))))) Source #

A resource alias for adexchangebuyer.pretargetingConfig.insert method which the PretargetingConfigInsert request conforms to.

Creating a Request

pretargetingConfigInsert Source #

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

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

data PretargetingConfigInsert Source #

Inserts a new pretargeting configuration.

See: pretargetingConfigInsert smart constructor.

Instances

Eq PretargetingConfigInsert Source # 
Data PretargetingConfigInsert Source # 

Methods

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

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

toConstr :: PretargetingConfigInsert -> Constr #

dataTypeOf :: PretargetingConfigInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PretargetingConfigInsert Source # 
Generic PretargetingConfigInsert Source # 
GoogleRequest PretargetingConfigInsert Source # 
type Rep PretargetingConfigInsert Source # 
type Rep PretargetingConfigInsert = D1 (MetaData "PretargetingConfigInsert" "Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.Insert" "gogol-adexchange-buyer-0.2.0-7hKGM4LXxGdBpdUkxFCsCD" False) (C1 (MetaCons "PretargetingConfigInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PretargetingConfig)) (S1 (MetaSel (Just Symbol "_pciAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes PretargetingConfigInsert Source # 
type Scopes PretargetingConfigInsert = (:) Symbol "https://www.googleapis.com/auth/adexchange.buyer" ([] Symbol)
type Rs PretargetingConfigInsert Source # 

Request Lenses

pciAccountId :: Lens' PretargetingConfigInsert Int64 Source #

The account id to insert the pretargeting config for.