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 |
List all the deals for a given proposal
See: Ad Exchange Buyer API Reference for adexchangebuyer.marketplacedeals.list
.
Synopsis
- type MarketplaceDealsListResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> (QueryParam "pqlQuery" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetOrderDealsResponse))))))
- marketplaceDealsList :: Text -> MarketplaceDealsList
- data MarketplaceDealsList
- mdlProposalId :: Lens' MarketplaceDealsList Text
- mdlPqlQuery :: Lens' MarketplaceDealsList (Maybe Text)
REST Resource
type MarketplaceDealsListResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> (QueryParam "pqlQuery" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetOrderDealsResponse)))))) Source #
A resource alias for adexchangebuyer.marketplacedeals.list
method which the
MarketplaceDealsList
request conforms to.
Creating a Request
Creates a value of MarketplaceDealsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MarketplaceDealsList Source #
List all the deals for a given proposal
See: marketplaceDealsList
smart constructor.
Instances
Request Lenses
mdlProposalId :: Lens' MarketplaceDealsList Text Source #
The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.
mdlPqlQuery :: Lens' MarketplaceDealsList (Maybe Text) Source #
Query string to retrieve specific deals.