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