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.TargetingTemplates.Insert

Contents

Description

Inserts a new targeting template.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.targetingTemplates.insert method which the TargetingTemplatesInsert request conforms to.

Creating a Request

targetingTemplatesInsert Source #

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

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

data TargetingTemplatesInsert Source #

Inserts a new targeting template.

See: targetingTemplatesInsert smart constructor.

Instances
Eq TargetingTemplatesInsert Source # 
Instance details

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

Data TargetingTemplatesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: TargetingTemplatesInsert -> Constr #

dataTypeOf :: TargetingTemplatesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TargetingTemplatesInsert Source # 
Instance details

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

Generic TargetingTemplatesInsert Source # 
Instance details

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

Associated Types

type Rep TargetingTemplatesInsert :: Type -> Type #

GoogleRequest TargetingTemplatesInsert Source # 
Instance details

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

type Rep TargetingTemplatesInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

ttiProFileId :: Lens' TargetingTemplatesInsert Int64 Source #

User profile ID associated with this request.