gogol-adexchange-buyer-0.4.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.MarketplaceDeals.Insert

Contents

Description

Add new deals for the specified proposal

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

Synopsis

REST Resource

type MarketplaceDealsInsertResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> ("insert" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddOrderDealsRequest :> Post '[JSON] AddOrderDealsResponse))))))) Source #

A resource alias for adexchangebuyer.marketplacedeals.insert method which the MarketplaceDealsInsert request conforms to.

Creating a Request

marketplaceDealsInsert Source #

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

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

data MarketplaceDealsInsert Source #

Add new deals for the specified proposal

See: marketplaceDealsInsert smart constructor.

Instances
Eq MarketplaceDealsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

Data MarketplaceDealsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

Methods

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

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

toConstr :: MarketplaceDealsInsert -> Constr #

dataTypeOf :: MarketplaceDealsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MarketplaceDealsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

Generic MarketplaceDealsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

Associated Types

type Rep MarketplaceDealsInsert :: Type -> Type #

GoogleRequest MarketplaceDealsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

type Rep MarketplaceDealsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

type Rep MarketplaceDealsInsert = D1 (MetaData "MarketplaceDealsInsert" "Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert" "gogol-adexchange-buyer-0.4.0-EHd3Fo85oo55DtQ4u9aSwi" False) (C1 (MetaCons "MarketplaceDealsInsert'" PrefixI True) (S1 (MetaSel (Just "_mdiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AddOrderDealsRequest) :*: S1 (MetaSel (Just "_mdiProposalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes MarketplaceDealsInsert Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

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

Defined in Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert

Request Lenses

mdiProposalId :: Lens' MarketplaceDealsInsert Text Source #

proposalId for which deals need to be added.