| 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 |
Network.Google.Resource.DFAReporting.Ads.Update
Description
Updates an existing ad.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.ads.update.
Synopsis
- type AdsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Put '[JSON] Ad))))))
- adsUpdate :: Int64 -> Ad -> AdsUpdate
- data AdsUpdate
- aProFileId :: Lens' AdsUpdate Int64
- aPayload :: Lens' AdsUpdate Ad
REST Resource
type AdsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Put '[JSON] Ad)))))) Source #
A resource alias for dfareporting.ads.update method which the
AdsUpdate request conforms to.
Creating a Request
Creates a value of AdsUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Updates an existing ad.
See: adsUpdate smart constructor.
Instances
| Eq AdsUpdate Source # | |
| Data AdsUpdate Source # | |
Defined in Network.Google.Resource.DFAReporting.Ads.Update Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AdsUpdate -> c AdsUpdate # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AdsUpdate # toConstr :: AdsUpdate -> Constr # dataTypeOf :: AdsUpdate -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AdsUpdate) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AdsUpdate) # gmapT :: (forall b. Data b => b -> b) -> AdsUpdate -> AdsUpdate # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AdsUpdate -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AdsUpdate -> r # gmapQ :: (forall d. Data d => d -> u) -> AdsUpdate -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> AdsUpdate -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AdsUpdate -> m AdsUpdate # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AdsUpdate -> m AdsUpdate # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AdsUpdate -> m AdsUpdate # | |
| Show AdsUpdate Source # | |
| Generic AdsUpdate Source # | |
| GoogleRequest AdsUpdate Source # | |
| type Rep AdsUpdate Source # | |
Defined in Network.Google.Resource.DFAReporting.Ads.Update type Rep AdsUpdate = D1 (MetaData "AdsUpdate" "Network.Google.Resource.DFAReporting.Ads.Update" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "AdsUpdate'" PrefixI True) (S1 (MetaSel (Just "_aProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_aPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Ad))) | |
| type Scopes AdsUpdate Source # | |
| type Rs AdsUpdate Source # | |