gogol-dfareporting-0.4.0: Google DCM/DFA Reporting And Trafficking 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.DFAReporting.Advertisers.Insert

Contents

Description

Inserts a new advertiser.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.advertisers.insert.

Synopsis

REST Resource

type AdvertisersInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Advertiser :> Post '[JSON] Advertiser)))))) Source #

A resource alias for dfareporting.advertisers.insert method which the AdvertisersInsert request conforms to.

Creating a Request

advertisersInsert Source #

Creates a value of AdvertisersInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AdvertisersInsert Source #

Inserts a new advertiser.

See: advertisersInsert smart constructor.

Instances
Eq AdvertisersInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

Data AdvertisersInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

Methods

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

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

toConstr :: AdvertisersInsert -> Constr #

dataTypeOf :: AdvertisersInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdvertisersInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

Generic AdvertisersInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

Associated Types

type Rep AdvertisersInsert :: Type -> Type #

GoogleRequest AdvertisersInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

Associated Types

type Rs AdvertisersInsert :: Type #

type Scopes AdvertisersInsert :: [Symbol] #

type Rep AdvertisersInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

type Rep AdvertisersInsert = D1 (MetaData "AdvertisersInsert" "Network.Google.Resource.DFAReporting.Advertisers.Insert" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "AdvertisersInsert'" PrefixI True) (S1 (MetaSel (Just "_aiiProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_aiiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Advertiser)))
type Scopes AdvertisersInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

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

Defined in Network.Google.Resource.DFAReporting.Advertisers.Insert

Request Lenses

aiiProFileId :: Lens' AdvertisersInsert Int64 Source #

User profile ID associated with this request.

aiiPayload :: Lens' AdvertisersInsert Advertiser Source #

Multipart request metadata.