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

Contents

Description

Gets one ad by ID.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.ads.get method which the AdsGet request conforms to.

Creating a Request

adsGet Source #

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

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

data AdsGet Source #

Gets one ad by ID.

See: adsGet smart constructor.

Instances
Eq AdsGet Source # 
Instance details

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

Methods

(==) :: AdsGet -> AdsGet -> Bool #

(/=) :: AdsGet -> AdsGet -> Bool #

Data AdsGet Source # 
Instance details

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

Methods

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

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

toConstr :: AdsGet -> Constr #

dataTypeOf :: AdsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdsGet Source # 
Instance details

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

Generic AdsGet Source # 
Instance details

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

Associated Types

type Rep AdsGet :: Type -> Type #

Methods

from :: AdsGet -> Rep AdsGet x #

to :: Rep AdsGet x -> AdsGet #

GoogleRequest AdsGet Source # 
Instance details

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

Associated Types

type Rs AdsGet :: Type #

type Scopes AdsGet :: [Symbol] #

type Rep AdsGet Source # 
Instance details

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

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

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

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

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

type Rs AdsGet = Ad

Request Lenses

adsProFileId :: Lens' AdsGet Int64 Source #

User profile ID associated with this request.