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 |
Gets the requested product.
See: Ad Exchange Buyer API Reference for adexchangebuyer.products.search
.
Synopsis
- type ProductsSearchResource = "adexchangebuyer" :> ("v1.4" :> ("products" :> ("search" :> (QueryParam "pqlQuery" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetOffersResponse)))))
- productsSearch :: ProductsSearch
- data ProductsSearch
- psPqlQuery :: Lens' ProductsSearch (Maybe Text)
REST Resource
type ProductsSearchResource = "adexchangebuyer" :> ("v1.4" :> ("products" :> ("search" :> (QueryParam "pqlQuery" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetOffersResponse))))) Source #
A resource alias for adexchangebuyer.products.search
method which the
ProductsSearch
request conforms to.
Creating a Request
productsSearch :: ProductsSearch Source #
Creates a value of ProductsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProductsSearch Source #
Gets the requested product.
See: productsSearch
smart constructor.
Instances
Request Lenses
psPqlQuery :: Lens' ProductsSearch (Maybe Text) Source #
The pql query used to query for products.