| Copyright | (c) 2015 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.CreativeGroups.Patch
Description
Updates an existing creative group. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.creativeGroups.patch.
- type CreativeGroupsPatchResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creativeGroups" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CreativeGroup :> Patch `[JSON]` CreativeGroup)))))))
- creativeGroupsPatch :: Int64 -> CreativeGroup -> Int64 -> CreativeGroupsPatch
- data CreativeGroupsPatch
- cgpProFileId :: Lens' CreativeGroupsPatch Int64
- cgpPayload :: Lens' CreativeGroupsPatch CreativeGroup
- cgpId :: Lens' CreativeGroupsPatch Int64
REST Resource
type CreativeGroupsPatchResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creativeGroups" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CreativeGroup :> Patch `[JSON]` CreativeGroup))))))) Source
A resource alias for dfareporting.creativeGroups.patch method which the
CreativeGroupsPatch request conforms to.
Creating a Request
Arguments
| :: Int64 | |
| -> CreativeGroup | |
| -> Int64 | |
| -> CreativeGroupsPatch |
Creates a value of CreativeGroupsPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreativeGroupsPatch Source
Updates an existing creative group. This method supports patch semantics.
See: creativeGroupsPatch smart constructor.
Request Lenses
cgpProFileId :: Lens' CreativeGroupsPatch Int64 Source
User profile ID associated with this request.
cgpPayload :: Lens' CreativeGroupsPatch CreativeGroup Source
Multipart request metadata.
cgpId :: Lens' CreativeGroupsPatch Int64 Source
Creative group ID.