| 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.TargetingTemplates.Patch
Description
Updates an existing targeting template. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.targetingTemplates.patch.
Synopsis
- type TargetingTemplatesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("targetingTemplates" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TargetingTemplate :> Patch '[JSON] TargetingTemplate)))))))
- targetingTemplatesPatch :: Int64 -> TargetingTemplate -> Int64 -> TargetingTemplatesPatch
- data TargetingTemplatesPatch
- ttpProFileId :: Lens' TargetingTemplatesPatch Int64
- ttpPayload :: Lens' TargetingTemplatesPatch TargetingTemplate
- ttpId :: Lens' TargetingTemplatesPatch Int64
REST Resource
type TargetingTemplatesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("targetingTemplates" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TargetingTemplate :> Patch '[JSON] TargetingTemplate))))))) Source #
A resource alias for dfareporting.targetingTemplates.patch method which the
TargetingTemplatesPatch request conforms to.
Creating a Request
targetingTemplatesPatch Source #
Arguments
| :: Int64 | |
| -> TargetingTemplate | |
| -> Int64 | |
| -> TargetingTemplatesPatch |
Creates a value of TargetingTemplatesPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TargetingTemplatesPatch Source #
Updates an existing targeting template. This method supports patch semantics.
See: targetingTemplatesPatch smart constructor.
Instances
Request Lenses
ttpProFileId :: Lens' TargetingTemplatesPatch Int64 Source #
User profile ID associated with this request.
ttpPayload :: Lens' TargetingTemplatesPatch TargetingTemplate Source #
Multipart request metadata.