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 |
Lists the external deal ids associated with the creative.
See: Ad Exchange Buyer API Reference for adexchangebuyer.creatives.listDeals
.
Synopsis
- type CreativesListDealsResource = "adexchangebuyer" :> ("v1.4" :> ("creatives" :> (Capture "accountId" (Textual Int32) :> (Capture "buyerCreativeId" Text :> ("listDeals" :> (QueryParam "alt" AltJSON :> Get '[JSON] CreativeDealIds))))))
- creativesListDeals :: Text -> Int32 -> CreativesListDeals
- data CreativesListDeals
- cldBuyerCreativeId :: Lens' CreativesListDeals Text
- cldAccountId :: Lens' CreativesListDeals Int32
REST Resource
type CreativesListDealsResource = "adexchangebuyer" :> ("v1.4" :> ("creatives" :> (Capture "accountId" (Textual Int32) :> (Capture "buyerCreativeId" Text :> ("listDeals" :> (QueryParam "alt" AltJSON :> Get '[JSON] CreativeDealIds)))))) Source #
A resource alias for adexchangebuyer.creatives.listDeals
method which the
CreativesListDeals
request conforms to.
Creating a Request
Creates a value of CreativesListDeals
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreativesListDeals Source #
Lists the external deal ids associated with the creative.
See: creativesListDeals
smart constructor.
Instances
Request Lenses
cldBuyerCreativeId :: Lens' CreativesListDeals Text Source #
The buyer-specific id for this creative.
cldAccountId :: Lens' CreativesListDeals Int32 Source #
The id for the account that will serve this creative.