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.AddDeal

Contents

Description

Add a deal id association for the creative.

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

Synopsis

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

creativesAddDeal Source #

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.

Instances

Eq CreativesAddDeal Source # 
Data CreativesAddDeal Source # 

Methods

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

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

toConstr :: CreativesAddDeal -> Constr #

dataTypeOf :: CreativesAddDeal -> DataType #

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

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

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

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

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

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

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

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

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

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

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

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.