gogol-adexchange-buyer-0.2.0: Google Ad Exchange Buyer SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AdExchangeBuyer.Creatives.RemoveDeal

Contents

Description

Remove a deal id associated with the creative.

See: Ad Exchange Buyer API Reference for adexchangebuyer.creatives.removeDeal.

Synopsis

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

creativesRemoveDeal Source #

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.

Instances

Eq CreativesRemoveDeal Source # 
Data CreativesRemoveDeal Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreativesRemoveDeal -> c CreativesRemoveDeal #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreativesRemoveDeal #

toConstr :: CreativesRemoveDeal -> Constr #

dataTypeOf :: CreativesRemoveDeal -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreativesRemoveDeal) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreativesRemoveDeal) #

gmapT :: (forall b. Data b => b -> b) -> CreativesRemoveDeal -> CreativesRemoveDeal #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreativesRemoveDeal -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreativesRemoveDeal -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreativesRemoveDeal -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreativesRemoveDeal -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreativesRemoveDeal -> m CreativesRemoveDeal #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreativesRemoveDeal -> m CreativesRemoveDeal #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreativesRemoveDeal -> m CreativesRemoveDeal #

Show CreativesRemoveDeal Source # 
Generic CreativesRemoveDeal Source # 
GoogleRequest CreativesRemoveDeal Source # 
type Rep CreativesRemoveDeal Source # 
type Rep CreativesRemoveDeal = D1 (MetaData "CreativesRemoveDeal" "Network.Google.Resource.AdExchangeBuyer.Creatives.RemoveDeal" "gogol-adexchange-buyer-0.2.0-7hKGM4LXxGdBpdUkxFCsCD" False) (C1 (MetaCons "CreativesRemoveDeal'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crdBuyerCreativeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_crdDealId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_crdAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))))
type Scopes CreativesRemoveDeal Source # 
type Scopes CreativesRemoveDeal = (:) Symbol "https://www.googleapis.com/auth/adexchange.buyer" ([] Symbol)
type Rs CreativesRemoveDeal Source # 

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.