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 |
Updates an existing ad. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.ads.patch
.
Synopsis
- type AdsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Patch '[JSON] Ad)))))))
- adsPatch :: Int64 -> Ad -> Int64 -> AdsPatch
- data AdsPatch
- adsdProFileId :: Lens' AdsPatch Int64
- adsdPayload :: Lens' AdsPatch Ad
- adsdId :: Lens' AdsPatch Int64
REST Resource
type AdsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Patch '[JSON] Ad))))))) Source #
A resource alias for dfareporting.ads.patch
method which the
AdsPatch
request conforms to.
Creating a Request
Creates a value of AdsPatch
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. This method supports patch semantics.
See: adsPatch
smart constructor.
Instances
Eq AdsPatch Source # | |
Data AdsPatch Source # | |
Defined in Network.Google.Resource.DFAReporting.Ads.Patch gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AdsPatch -> c AdsPatch # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AdsPatch # toConstr :: AdsPatch -> Constr # dataTypeOf :: AdsPatch -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AdsPatch) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AdsPatch) # gmapT :: (forall b. Data b => b -> b) -> AdsPatch -> AdsPatch # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AdsPatch -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AdsPatch -> r # gmapQ :: (forall d. Data d => d -> u) -> AdsPatch -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> AdsPatch -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AdsPatch -> m AdsPatch # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AdsPatch -> m AdsPatch # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AdsPatch -> m AdsPatch # | |
Show AdsPatch Source # | |
Generic AdsPatch Source # | |
GoogleRequest AdsPatch Source # | |
type Rep AdsPatch Source # | |
Defined in Network.Google.Resource.DFAReporting.Ads.Patch type Rep AdsPatch = D1 (MetaData "AdsPatch" "Network.Google.Resource.DFAReporting.Ads.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "AdsPatch'" PrefixI True) (S1 (MetaSel (Just "_adsdProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_adsdPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Ad) :*: S1 (MetaSel (Just "_adsdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))) | |
type Scopes AdsPatch Source # | |
type Rs AdsPatch Source # | |