gogol-adexchange-buyer-0.4.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 # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

Data CreativesAddDeal Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

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 # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

Generic CreativesAddDeal Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

Associated Types

type Rep CreativesAddDeal :: Type -> Type #

GoogleRequest CreativesAddDeal Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

Associated Types

type Rs CreativesAddDeal :: Type #

type Scopes CreativesAddDeal :: [Symbol] #

type Rep CreativesAddDeal Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

type Rep CreativesAddDeal = D1 (MetaData "CreativesAddDeal" "Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal" "gogol-adexchange-buyer-0.4.0-EHd3Fo85oo55DtQ4u9aSwi" False) (C1 (MetaCons "CreativesAddDeal'" PrefixI True) (S1 (MetaSel (Just "_cadBuyerCreativeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cadDealId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_cadAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)))))
type Scopes CreativesAddDeal Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

type Scopes CreativesAddDeal = "https://www.googleapis.com/auth/adexchange.buyer" ': ([] :: [Symbol])
type Rs CreativesAddDeal Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal

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.