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