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.Campaigns.Get

Contents

Description

Gets one campaign by ID.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.campaigns.get.

Synopsis

REST Resource

type CampaignsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Campaign)))))) Source #

A resource alias for dfareporting.campaigns.get method which the CampaignsGet request conforms to.

Creating a Request

campaignsGet Source #

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

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

data CampaignsGet Source #

Gets one campaign by ID.

See: campaignsGet smart constructor.

Instances
Eq CampaignsGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

Data CampaignsGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

Methods

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

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

toConstr :: CampaignsGet -> Constr #

dataTypeOf :: CampaignsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CampaignsGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

Generic CampaignsGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

Associated Types

type Rep CampaignsGet :: Type -> Type #

GoogleRequest CampaignsGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

Associated Types

type Rs CampaignsGet :: Type #

type Scopes CampaignsGet :: [Symbol] #

type Rep CampaignsGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

type Rep CampaignsGet = D1 (MetaData "CampaignsGet" "Network.Google.Resource.DFAReporting.Campaigns.Get" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "CampaignsGet'" PrefixI True) (S1 (MetaSel (Just "_cggProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_cggId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))
type Scopes CampaignsGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

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

Defined in Network.Google.Resource.DFAReporting.Campaigns.Get

Request Lenses

cggProFileId :: Lens' CampaignsGet Int64 Source #

User profile ID associated with this request.