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 a deal id association for the creative.
See: Ad Exchange Buyer API Reference for adexchangebuyer.creatives.addDeal
.
- type CreativesAddDealResource = "adexchangebuyer" :> ("v1.4" :> ("creatives" :> (Capture "accountId" (Textual Int32) :> (Capture "buyerCreativeId" Text :> ("addDeal" :> (Capture "dealId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))
- creativesAddDeal :: Text -> Int64 -> Int32 -> CreativesAddDeal
- data CreativesAddDeal
- cadBuyerCreativeId :: Lens' CreativesAddDeal Text
- cadDealId :: Lens' CreativesAddDeal Int64
- cadAccountId :: Lens' CreativesAddDeal Int32
REST Resource
type CreativesAddDealResource = "adexchangebuyer" :> ("v1.4" :> ("creatives" :> (Capture "accountId" (Textual Int32) :> (Capture "buyerCreativeId" Text :> ("addDeal" :> (Capture "dealId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))) Source #
A resource alias for adexchangebuyer.creatives.addDeal
method which the
CreativesAddDeal
request conforms to.
Creating a Request
Creates a value of CreativesAddDeal
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreativesAddDeal Source #
Add a deal id association for the creative.
See: creativesAddDeal
smart constructor.
Request Lenses
cadBuyerCreativeId :: Lens' CreativesAddDeal Text Source #
The buyer-specific id for this creative.
cadDealId :: Lens' CreativesAddDeal Int64 Source #
The id of the deal id to associate with this creative.
cadAccountId :: Lens' CreativesAddDeal Int32 Source #
The id for the account that will serve this creative.