Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Add new deals for the specified proposal
See: Ad Exchange Buyer API Reference for adexchangebuyer.marketplacedeals.insert
.
Synopsis
- type MarketplaceDealsInsertResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> ("insert" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddOrderDealsRequest :> Post '[JSON] AddOrderDealsResponse)))))))
- marketplaceDealsInsert :: AddOrderDealsRequest -> Text -> MarketplaceDealsInsert
- data MarketplaceDealsInsert
- mdiPayload :: Lens' MarketplaceDealsInsert AddOrderDealsRequest
- mdiProposalId :: Lens' MarketplaceDealsInsert Text
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
Request Lenses
mdiPayload :: Lens' MarketplaceDealsInsert AddOrderDealsRequest Source #
Multipart request metadata.
mdiProposalId :: Lens' MarketplaceDealsInsert Text Source #
proposalId for which deals need to be added.