Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets one ad by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.ads.get
.
Synopsis
- type AdsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Ad))))))
- adsGet :: Int64 -> Int64 -> AdsGet
- data AdsGet
- adsProFileId :: Lens' AdsGet Int64
- adsId :: Lens' AdsGet Int64
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
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:
Gets one ad by ID.
See: adsGet
smart constructor.
Instances
Eq AdsGet Source # | |
Data AdsGet Source # | |
Defined in Network.Google.Resource.DFAReporting.Ads.Get 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 # | |
Generic AdsGet Source # | |
GoogleRequest AdsGet Source # | |
type Rep AdsGet Source # | |
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 # | |
Defined in Network.Google.Resource.DFAReporting.Ads.Get | |
type Rs AdsGet Source # | |
Defined in Network.Google.Resource.DFAReporting.Ads.Get |